GestureDetection icon indicating copy to clipboard operation
GestureDetection copied to clipboard

In python3.5 and opencv 3.1, I got a error

Open CarGod opened this issue 8 years ago • 2 comments

Thanks Vasu Agrawal. First,This is a very good project! But in python3.5 and opencv3.1.0 I got a error. Error manage as follows: ValueError: too many values to unpack (expected 2) GesturesApi.py", line 122 cv2.CHAIN_APPROX_SIMPLE)

CarGod avatar Nov 10 '16 02:11 CarGod

Do you need to use Python 3.5 and OpenCV 3.1.0? If not, please consider using Python 2 and OpenCV 2 as that is the tested configuration.

I suspect that the OpenCV API has changed slightly from 2 to 3, which is what's causing the unpacking issue. Switching the entire codebase from 2 to 3 is a nontrivial task.

VasuAgrawal avatar Nov 11 '16 09:11 VasuAgrawal

No. I don't, In python2 and opencv2 is ok. I would like to try it in python3 and opencv3.

CarGod avatar Nov 12 '16 06:11 CarGod