python Programming Glossary: pil_im
Detect face then autocrop pictures http://stackoverflow.com/questions/13211745/detect-face-then-autocrop-pictures pt1 pt2 cv.RGB 255 0 0 5 8 0 return image def pil2cvGrey pil_im #from http pythonpath.wordpress.com 2012 05 08 pil to opencv.. pythonpath.wordpress.com 2012 05 08 pil to opencv image pil_im pil_im.convert 'L' cv_im cv.CreateImageHeader pil_im.size cv.IPL_DEPTH_8U.. 2012 05 08 pil to opencv image pil_im pil_im.convert 'L' cv_im cv.CreateImageHeader pil_im.size cv.IPL_DEPTH_8U..
|