LINE_AA constant missing

asked 2014-01-16 00:08:52 -0500

vorobya gravatar image

I installed recently OpenCV and started going through tutorials. In there is a call to cv2.putText(img,'OpenCV',(10,500), font, 4,(255,255,255),2,cv2.LINE_AA) By some reason version of cv2.pyd that I installed does not have LINE_AA and other LINE_* constants. I worked around this specific problem by using value 16 instead of using constant, but I still wonder what could be the reason that I don't have this constants?

edit retag flag offensive close merge delete