namedWindow(...,cv2.WINDOW_NORMAL) returns object as no attribute error (Bug #4408)
Description
Related to issue #3968
Using windows8, python 2.7, opencv version=$Rev: 4557 $
Running this code:
import numpy as np
import cv2
img=cv2.imread([jpg file],0)
cv2.namedWindow('image',cv2.WINDOW_NORMAL)
Returns this error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object as no attribute 'WINDOW_NORMAL'
I've tried CV_WINDOW_NORMAL and get the same error
History
Updated by Maksim Shabunin over 9 years ago
Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/5021