Webcam opens but it's black.
Opened this issue · 3 comments
jinius17 commented
I get the main screen but it's black and Terminal produces errors:
Color: Black
Traceback (most recent call last):
File "color_recognizer2.py", line 80, in redraw
clf.fit(image, color_int)
NameError: name 'image' is not defined
aniket414 commented
Even I'm getting the same problem.
Color: Purple
File "/Users/aniket/color_recognizer/color_recognizer2.py", line 80, in redraw
clf.fit(image, color_int)
NameError: name 'image' is not defined
michtesar commented
What is you image resolution?*
aniket414 commented
The camera starts but I can't see anything because everything is black. There's probably some error in Line 80 of color_recognizer2.py You have used image which is not defined anywhere. Just check for it.