Skip to content
This repository has been archived by the owner on Aug 27, 2021. It is now read-only.

using haar_cascade_face.detectMultiScale is wrong #4

Open
Infovarius opened this issue Jan 30, 2021 · 0 comments
Open

using haar_cascade_face.detectMultiScale is wrong #4

Infovarius opened this issue Jan 30, 2021 · 0 comments

Comments

@Infovarius
Copy link

Infovarius commented Jan 30, 2021

line

faces_rects = haar_cascade_face.detectMultiScale(test_image_gray, scaleFactor = 1.2, minNeighbors = 5);

gives an error:

error: OpenCV(4.1.2) /io/opencv/modules/objdetect/src/cascadedetect.cpp:1689: error: (-215:Assertion failed) !empty() in function 'detectMultiScale'

@Infovarius Infovarius changed the title using cvtColor is wrong using haar_cascade_face.detectMultiScale is wrong Jan 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant