Ask Your Question

Revision history [back]

i am doing a project to predict age and gender using tensorflow and opencv. and how to add path for xml file.

OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\objdetect\src\cascadedetect.cpp:1689: error: (-215:Assertion failed) !empty() in function 'cv::CascadeClassifier::detectMultiScale.

after running the code, webcam of PC will on but not capture any image. code is https://github.com/ashubansal005/Gender_and_Age_Recognition/blob/master/real_demo