Ask Your Question

Revision history [back]

confidence value in LBPH

id,confidence=recognizer.predict(gray[y:y+h,x:x+w]) confidence=100*(1-(confidence)/300))

what is this calculation i did'nt understand this formula to get confidence value maximum

confidence value in LBPH

Ex:

id,confidence=recognizer.predict(gray[y:y+h,x:x+w])
confidence=100*(1-(confidence)/300))

confidence=100*(1-(confidence)/300))

what is this calculation i did'nt understand this formula to get confidence value maximum