php-opencv icon indicating copy to clipboard operation
php-opencv copied to clipboard

function predict not return value -1, why ?

Open lethehung opened this issue 5 years ago • 0 comments

Hello, I am trying to use the php opencv library to recognize faces. However, the predict function always returns one of the labels I've trained, even though the face is untrained. And if there is only one trained lable, no matter what the input image is, the result will always be lable. How to fix it !!

lethehung avatar Jun 26 '20 09:06 lethehung