OpenCV Error: Assertion failed (ssize.area() > 0) in resize, file /usr/local/opencv/modules/imgproc/src/imgwarp.cpp, line 1824 Traceback (most recent call last): File "server.py", line 121, in main() File "server.py", line 114, in main opencv.train() File "/home/petaoctet/Desktop/facerec/opencv.py", line 86, in train images, labels = load_images_from_db() File "/home/petaoctet/Desktop/facerec/opencv.py", line 78, in load_images_from_db cv_image = cv2.resize(cv_image, (100,100)) cv2.error: /usr/local/opencv/modules/imgproc/src/imgwarp.cpp:1824: error: (-215) ssize.area() > 0 in function resize