Hand-Detection
Hand-Detection copied to clipboard
not enough values to unpack (expected 3, got 2)
Hi, I provide color as described here. After that I press a key but get (continuously)
not enough values to unpack (expected 3, got 2)
error. How can I fix this?
I'm not able to reproduce the error that you found.
I've corrected the indentation on the documentation.
What is your OS? Are you using a virtual machine or is it main OS?
Ubuntu 16.04, main OS
I don't think the problem is there then.
@DilaraSina Can you tell me the line where the code is breaking?
Thanks for your interest, I am not competent with python, I run the script on Terminal, I have press 'v', then my color skin is recorded. After that I press a key and get titled error, does it help or do I need to perform a debugging?
@DilaraSina As I am not able to reproduce the bug is hard for me to help you correct my code.
I think the problem is that findContours was updated in OpenCV 4. I'm still using OpenCV 3.
Please check if the changes made in branch issue1 correct the problem on your side.
dear, I think you should install pip install opencv-contrib-python