ssd_keras icon indicating copy to clipboard operation
ssd_keras copied to clipboard

AttributeError: 'module' object has no attribute 'cv'

Open freshn opened this issue 7 years ago • 4 comments

error @rykov8 hello, i need your help. As you can see in the picture, my computer's version is the same with what you were supposed.It says it has no module named cv . but I do have it. I check this question by Google and StackOverflow, some says it is because the cv2.so is not in dist-packages of python. But actually my cv2.so is in it. Others say in Opencv3 the cv module is deprecated. So, in line 24 I should initialize the font like following cv2.CV_CAP_PROP_FRAME_WIDTH. i tried it but get another error like the following picture. error2 I don't know how to fix it and beg for your help.

freshn avatar Sep 09 '17 08:09 freshn

you should use : cv2.CAP_PROP_FRAME_WIDTH

bitxinyu avatar Sep 22 '17 09:09 bitxinyu

@bitxinyu thanks,it works...it's my fault. Thanks.

freshn avatar Sep 30 '17 21:09 freshn

@bitxinyu it really works,thank u

gontthias avatar Dec 29 '17 09:12 gontthias

@bitxinyu it really works,thank u

bit1002lst avatar Jul 04 '18 03:07 bit1002lst