HeadCounter icon indicating copy to clipboard operation
HeadCounter copied to clipboard

OpenCV Error: Assertion failed (!empty()) in detectMultiScale, file

Open albertyou2 opened this issue 7 years ago • 0 comments

HI @yquemener

I build HeadCounter successful. Then I run the command as below:

./headcounter IMG_3963.MP4

then I got an error :

OpenCV Error: Assertion failed (!empty()) in detectMultiScale, file /Users/zuekiWork/Documents/opencv-3.0.0/modules/objdetect/src/cascadedetect.cpp, line 1634 libc++abi.dylib: terminating with uncaught exception of type cv::Exception: /Users/zuekiWork/Documents/opencv-3.0.0/modules/objdetect/src/cascadedetect.cpp:1634: error: (-215) !empty() in function detectMultiScale

[1] 14935 abort ./headcounter IMG_3963.MP4

I'm sure the IMG_3963.MP4 is exist .It is a video copied from my iPhone. there is no pedestrian in this video . Am I missing something?

Thank you

albertyou2 avatar Dec 14 '16 09:12 albertyou2