# \#facerecognition

**URL:** https://forum.opencv.org/tag/facerecognition/70.md

[Latest](https://forum.opencv.org/latest.md) · [Categories](https://forum.opencv.org/categories.md) · [Tags](https://forum.opencv.org/tags.md)

---

## [Failure in training LBPHFaceRecognizer on Android Studio](https://forum.opencv.org/t/failure-in-training-lbphfacerecognizer-on-android-studio/19670)

<div class="topic-metadata">

**Author:** [@Pici](https://forum.opencv.org/u/Pici)\
**Replies:** 9\
**Last updated:** [January 7, 2025, 11:56am UTC](https://forum.opencv.org/t/failure-in-training-lbphfacerecognizer-on-android-studio/19670 "2025-01-07T11:56:18Z")

</div>

I try to train my LBPHFaceRecognizer on my app written by Android studio. However, the trained LBPHFaceRecognizer can only recognize the person of the first image input. I checked all photos are read successfully. The s…

---

## [Training model to detect color instead of shape/features? AKA "Banana ripeness detector"](https://forum.opencv.org/t/training-model-to-detect-color-instead-of-shape-features-aka-banana-ripeness-detector/7203)

<div class="topic-metadata">

**Author:** [@CodeLoonie](https://forum.opencv.org/u/CodeLoonie)\
**Replies:** 0\
**Last updated:** [January 19, 2022, 2:34pm UTC](https://forum.opencv.org/t/training-model-to-detect-color-instead-of-shape-features-aka-banana-ripeness-detector/7203 "2022-01-19T14:34:34Z")

</div>

Hello there! Beginner here! So long story short I’m doing a program that detects bananas in a picture and tells you how ripe they are. How I want to do that? Well, I want to train a certain model to detect color and the…

---

## [DeDuplication of Faces](https://forum.opencv.org/t/deduplication-of-faces/17661)

<div class="topic-metadata">

**Author:** [@Nvrcharan](https://forum.opencv.org/u/Nvrcharan)\
**Replies:** 0\
**Last updated:** [May 16, 2024, 10:06am UTC](https://forum.opencv.org/t/deduplication-of-faces/17661 "2024-05-16T10:06:27Z")

</div>

I’m having the difficulty in extracting the unique faces from a folder. and save them in a seperate folder. Flow should go like this : At first, uniquefaces folder will be empty and xyz folder is full of faces with mult…

---

## [How do I train an LBPHFaceRecognizer Model with a very large number of images?](https://forum.opencv.org/t/how-do-i-train-an-lbphfacerecognizer-model-with-a-very-large-number-of-images/16769)

<div class="topic-metadata">

**Author:** [@Eddie](https://forum.opencv.org/u/Eddie)\
**Replies:** 2\
**Last updated:** [March 12, 2024, 1:21pm UTC](https://forum.opencv.org/t/how-do-i-train-an-lbphfacerecognizer-model-with-a-very-large-number-of-images/16769 "2024-03-12T13:21:38Z")

</div>

How do I train an OpenCV LBPHFaceRecognizer Model with a very large number of images? I’m trying to create a model in OpenCV for face detection (specifically sex and age). The data set I have has about 50,000 images. Th…

---

## [How to get high accurate result with OpenCV Face Recognition Package?](https://forum.opencv.org/t/how-to-get-high-accurate-result-with-opencv-face-recognition-package/15748)

<div class="topic-metadata">

**Author:** [@Gundeti\_Manideep](https://forum.opencv.org/u/Gundeti_Manideep)\
**Replies:** 2\
**Last updated:** [December 7, 2023, 12:08pm UTC](https://forum.opencv.org/t/how-to-get-high-accurate-result-with-opencv-face-recognition-package/15748 "2023-12-07T12:08:17Z")

</div>

I am using OpenCV Face Recognition package and Haar Cascade classifier in python. Training is done with 10 images for each individual and a total of around 60 individual’s images have been trained. Though the algorithm …

---

## [Facial Detection+Recognition-Jetson Nano-OpenCV](https://forum.opencv.org/t/facial-detection-recognition-jetson-nano-opencv/15054)

<div class="topic-metadata">

**Author:** [@bwajster](https://forum.opencv.org/u/bwajster)\
**Replies:** 4\
**Last updated:** [November 8, 2023, 11:18am UTC](https://forum.opencv.org/t/facial-detection-recognition-jetson-nano-opencv/15054 "2023-11-08T11:18:11Z")

</div>

For a Facial detection+recognition project (being implemented on the Jetson nano) using OpenCV, what is the best achievable output video frame rate? Is it possible to get frame rates around 25-30 fps using OpenCV & DLib …

---

## [Integrating the DLib Library on the Code](https://forum.opencv.org/t/integrating-the-dlib-library-on-the-code/15422)

<div class="topic-metadata">

**Author:** [@bwajster](https://forum.opencv.org/u/bwajster)\
**Replies:** 1\
**Last updated:** [November 6, 2023, 6:46am UTC](https://forum.opencv.org/t/integrating-the-dlib-library-on-the-code/15422 "2023-11-06T06:46:25Z")

</div>

The code below is for facial recognition on OpenCV using the Jetson Nano.I’ve installed the DLib 19.24.2 Library and need help incorporating the DLib Library on the code below: import face\_recognition import cv2 import …

---

## [Face Recognition using OpenCV](https://forum.opencv.org/t/face-recognition-using-opencv/11559)

<div class="topic-metadata">

**Author:** [@Nfsaja\_5536](https://forum.opencv.org/u/Nfsaja_5536)\
**Replies:** 3\
**Last updated:** [January 10, 2023, 1:37pm UTC](https://forum.opencv.org/t/face-recognition-using-opencv/11559 "2023-01-10T13:37:16Z")

</div>

Before Discuss my problem, I described what I want to do. I want to recognize every user based on profile image with single face and determine if the user is fake or not. The given dataset contains training dataset cons…

---

## [How to create Positive and Negative Eigenfaces using Mean image?](https://forum.opencv.org/t/how-to-create-positive-and-negative-eigenfaces-using-mean-image/8561)

<div class="topic-metadata">

**Author:** [@Real\_prime](https://forum.opencv.org/u/Real_prime)\
**Replies:** 3\
**Last updated:** [April 27, 2022, 12:28pm UTC](https://forum.opencv.org/t/how-to-create-positive-and-negative-eigenfaces-using-mean-image/8561 "2022-04-27T12:28:37Z")

</div>

I’m trying to generate Eigenvectors of positive and negative Eigenfaces and here is the following code: model = cv2.face.EigenFaceRecognizer\_create() model.train(np.asarray(faces), np.asarray(labels)) # Save model resu…

---

## [SystemError: error return without exception set from model.getMean("mean")](https://forum.opencv.org/t/systemerror-error-return-without-exception-set-from-model-getmean-mean/8543)

<div class="topic-metadata">

**Author:** [@Real\_prime](https://forum.opencv.org/u/Real_prime)\
**Replies:** 11\
**Last updated:** [April 25, 2022, 3:40pm UTC](https://forum.opencv.org/t/systemerror-error-return-without-exception-set-from-model-getmean-mean/8543 "2022-04-25T15:40:23Z")

</div>

I’m having trouble executing a file that trains the face recognition system. I’m using the code from pi-facerec-box Github: #train.py from github link attached above. import fnmatch import os import cv2 import numpy as …

---

## [How to zoom on/follow MOUTH in FACE?](https://forum.opencv.org/t/how-to-zoom-on-follow-mouth-in-face/7074)

<div class="topic-metadata">

**Author:** [@slowninja](https://forum.opencv.org/u/slowninja)\
**Replies:** 0\
**Last updated:** [January 11, 2022, 11:52am UTC](https://forum.opencv.org/t/how-to-zoom-on-follow-mouth-in-face/7074 "2022-01-11T11:52:01Z")

</div>

When I only detect the face the camera zoom on the face and follows it. But when I want to detect & zoom/follow the mouth it doesn’t. Mouth detection only work when the face is detected first so I can’t just detect only…

---

## [How to zoom on/follow MOUTH in FACE? (OPENCV Face Detection)](https://forum.opencv.org/t/how-to-zoom-on-follow-mouth-in-face-opencv-face-detection/7072)

<div class="topic-metadata">

**Author:** [@slowninja](https://forum.opencv.org/u/slowninja)\
**Replies:** 0\
**Last updated:** [January 11, 2022, 11:45am UTC](https://forum.opencv.org/t/how-to-zoom-on-follow-mouth-in-face-opencv-face-detection/7072 "2022-01-11T11:45:08Z")

</div>

When I only detect the face the camera zoom on the face and follows it. But when I want to detect & zoom/follow the mouth it doesn’t. Mouth detection only work when the face is detected first so I can’t just detect only…

---

## [Compute FAR, FRR, ERR for LBPH algorithm](https://forum.opencv.org/t/compute-far-frr-err-for-lbph-algorithm/6822)

<div class="topic-metadata">

**Author:** [@KinGhe](https://forum.opencv.org/u/KinGhe)\
**Replies:** 2\
**Last updated:** [December 21, 2021, 7:48pm UTC](https://forum.opencv.org/t/compute-far-frr-err-for-lbph-algorithm/6822 "2021-12-21T19:48:56Z")

</div>

Hi everyone! I created a biometric model for facerecognition using OpenCV’s LBPH algorithm (OpenCV: Face Recognition with OpenCV). Anyone know if it is possible to calculate evaluation metrics like FAR, FRR and ERR?
