EvilPort2 / Sign-Language

A very simple CNN project.
759 stars 354 forks source link

error about create_gestures.py #8

Closed zhaobaozi closed 6 years ago

zhaobaozi commented 6 years ago

hi, when i run create_gestures.py,i meet that cv2.error: /build/opencv-SviWsf/opencv-2.4.9.1+dfsg/modules/imgproc/src/contours.cpp:1904: error: (-215) contour.checkVector(2) >= 0 && (contour.depth() == CV_32F || contour.depth() == CV_32S) in function contourArea what is the wrong?

EvilPort2 commented 6 years ago

need the full error to resolve the problem. but it seems like your are not using OpenCV 3.4. if that is the case, try installing OpenCV 3.4 and run the program again.

zhaobaozi commented 6 years ago

HI @EvilPort2 ,i have finished this question by what you said,but i meet another question, when i run fun_util.py and choose the calculator mode,i just can enter the first number,How can I turn to the second number?i can't activing the operation.

zhaobaozi commented 6 years ago

what is the "best of luck" gesture ?i neet to creat?

EvilPort2 commented 6 years ago

it is the thumbs up sign

zhaobaozi commented 6 years ago

@EvilPort2 i delete gestures create by you,and add the gesture myselt,so i can also use the "best of luck"?where i can define it?

EvilPort2 commented 6 years ago

yes. you can use any gesture you want. but if you would have to change the 'best of luck' sign you would have to change the source code.

zhaobaozi commented 6 years ago

ok i know..thanks very much :)