Anthony Lowhur

Results 3 comments of Anthony Lowhur

So it seems that there is a problem when cv2.cvtColor() is called in emotion-program.py, which is considered odd since it is a standard function in OpenCV What version of OpenCV...

It is possible that the problem is variable "frame_f" could be null. Right before line 54 (prev_gray = cv2.cvtColor(frame_f, cv2.COLOR_BGR2GRAY)), can you insert this code and tell me what prints...

You can use a terminal or a Python IDE to run it with no problem (I use a PC with Ubuntu Linux, but it should be no different for Mac)....