2019-09-24 08:20:20 -0600 | received badge | ● Famous Question (source) |
2018-08-29 05:26:04 -0600 | received badge | ● Notable Question (source) |
2017-12-27 12:24:08 -0600 | received badge | ● Popular Question (source) |
2017-05-28 08:47:51 -0600 | asked a question | OpenCV Error: Assertion failed (!empty()) in detectMultiScale Hi I'm relatively new to OpenCV and python in general and trying to create a face-detecting webcam using the code from https://github.com/shantnu/Webcam-Fac... When I try to execute the code it returns with the following: OpenCV Error: Assertion failed (!empty()) in detectMultiScale, file /home/pi/opencv-3.1.0/modules/ objdetect/src/cascadedetect.cpp, line 1639 Traceback (most recent call last): File "test4.py", line 29, in <module> minSize=(30, 30) cv2.error: /home/pi/opencv-3.1.0/modules/objdetect/src/cascadedetect.cpp:1639: error: (-215) !empt y() in function detectMultiScale I'm just wondering what is causing this error and how to go about fixing it. Thanks in advance :) |