Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

problem in training the model using createFisherFaceRecognizer

$
0
0
i have been used opencv c++ library to detect faces and save theme to my desk then i make database with the images path and there labels. after call theme back to two vectors of the images and labels and use model1->train(images, labels); then model1->predict(face_resized, predictedLabel, confidence); the "predictedLabel" come with -1 value thought the training model have the images and labels please any help about what is the problem note:i use "haarcascade_frontalface_default.xml" in CascadeClassifier thanks Mohamed Sayed

Viewing all articles
Browse latest Browse all 41027

Trending Articles