edification according to gupta_cvpr13's source code