php-opencv
php-opencv copied to clipboard
function predict not return value -1, why ?
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 !!