shobhitsrivastava-ds / Occlusion-based-face-detection

This project is all about an occlusion based face detecton model which could detect faces visible by about 60 to 70% in the live video footage.
MIT License
8 stars 0 forks source link

Error in Face_recog.py #2

Closed ghost closed 4 years ago

ghost commented 4 years ago

PS C:\Users\Rapaka\Desktop\Occlusion-based-face-detection-master\Occlusion-based-face-detection-master> python .\Face_recog.py [INFO]!! Testing the image !! Traceback (most recent call last): File ".\Face_recog.py", line 20, in rgb = cv2.cvtColor(image,cv2.COLOR_BGR2RGB) cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'

shobhitsrivastava-ds commented 4 years ago

Running that in Linux(Ubuntu) I got no issue, which Operating System are you using?