What i do wrong | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What i do wrong

First opencv project,and return this error : error: OpenCV(3.4.2) /tmp/build/80754af9/opencv-suite_1535558553474/work/modules/objdetect/src/cascadedetect.cpp:1698: error: (-215:Assertion failed) !empty() in function 'detectMultiScale'

4th Apr 2021, 5:00 PM
MOSTA_3D
MOSTA_3D - avatar
2 Answers
0
use a direct directory to the cascade. Instead of cascade.xml use c:\path\to\the\cascade.xml
5th Apr 2021, 2:47 AM
Matthew Li
Matthew Li - avatar
0
Yea i made the absolute one to the xml files,is it compitability or some
5th Apr 2021, 5:26 AM
MOSTA_3D
MOSTA_3D - avatar