https://bugs.kde.org/show_bug.cgi?id=372340

--- Comment #19 from Chandra Kant <chandra.kant.ee...@itbhu.ac.in> ---
After having model of faces trained and enhanced image of face we want to
recognize. Tricky part here is determining when the face is new (not in
training set) and when it is recognized properly. So we can creat some sort of
treshold for distance .

int predictedLabel = -1;
double predicted_confidence = 0.0;
model->set("threshold", treshold);
model->predict(croppedImage, predictedLabel, predicted_confidence);

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to