i know that cv2.face.LBPHFaceRecognizer_create() use it for recognize face in real time but i want to know what its fonction?,what exist inside this instruction ? how it is work? i want to know what itss struct for exemple it is take the image and extract caractrestic in forme lbph and its use for that .... than train image for that its use (name of trainer) compare the images for can recognise them. any information or document can help me please pratge with me
what is the role of <cv2.face.LBPHFaceRecognizer_create() >
2.1k Views Asked by awatif At
1
There are 1 best solutions below
Related Questions in OPENCV
- Creating multiple instances of a class with different initializing values in Flutter
- OpenCV2 on CLion
- How to Draw Chinese Characters on a Picture with OpenCV
- Python cv2 imwrite() - RGB or BGR
- AttributeError: 'Sequential' object has no attribute 'predict_classes'. Did you mean: 'predict_step'?
- Search for an icon on an image OpenCV
- DJI Tello won't follow me
- Python OpenCV and PyGame threading issue
- Need help in Converting Python script (Uses Yolo's pose estimation) to an android app
- Line Segmentation Problem: How to detect lines and draw bounding box of that line on handwritten letters Using CV2
- Configure CmakeLists.txt to avoid manually copying dlls
- How to detect the exact boundary of a Sudoku using OpenCV when there are multiple external boundaries?
- AttributeError: 'Results' object has no attribute 'box'. can anyone explain this?
- How to generate a VPI warpmap for polynomial distortion correction?
- I am trying to make a project of object detection on kaggle notebook using yolo. and i am facing this error. here is my code and my error
Related Questions in FACE-RECOGNITION
- Way to get CustomPainter to track face in Camera Flutter MLKit
- Face Recognition in Windows Logon
- Should I use the default model in the deepface package or fine-tune it to fit with my data for face recognition?
- How to use Google ML KIT to recognize facial expressions Determine whether a person is smiling or has their eyes closed
- Change Windows Logon
- Issue FaceRecognition
- face_recognition library: TypeError: compute_face_descriptor(): incompatible function arguments
- AttributeError: module 'face_recognition' has no attribute 'face_encodings' if tried to use as REST API
- Is this model overfit or underfit?
- i have install face_recognition_models but it is not importing in vscode and keep saying inytsall face_recognition model consider i am a new mac user
- Bug known when scanning face, the camera spamming take photo and doing flashing on screen on iPhone
- How to execute mqtt commands of Getconfig in android java
- How to handle specs glare in face recognition?
- How to classify facials features embedding with high accuracy(+ 90%). what adjustment can i make in svm model to classify 20+ classes
- Error :"tile cannot extend outside image"
Related Questions in LBPH-ALGORITHM
- what is the solution of AttributeError: module 'cv2.face' has no attribute 'LBPHFaceRecognizer_create'?
- error: (-215:Assertion failed) samples.cols == var_count && samples.type() == CV_32F in function 'cv::ml::SVMImpl::predict'
- Unexpected output from skimage local_binary_pattern
- what is the role of <cv2.face.LBPHFaceRecognizer_create() >
- Understanding implementation of Local binary pattern
- Is there a way to calculate FAR, FRR, ERR for a face recognition model that uses LBP in python?
- Empty training data was given. You'll need more than one sample to learn a model. in function 'cv::face::LBP
- LBPH recognizer in JavaScript
- cv2.face.LBPHFaceRecognizer_create() is not working even though i have installed the library of it in pycharm window. what to do?
- I am using LBPH algorithm but I got this error "raise KeyError(key) from err KeyError: 'Id' " for my face recognize and attendance function
- python opencv LBPHFaceRecognizer stuck forever while reading models of huge size
- Can't reshape my numpy array for training a KNN model
- local binary pattern transform
- LBPH Recognizes Only Trained Images (OpenCV Android)
- I need help for my algorithm, my program use opencv and python as language. So i need help from stackoverflow
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
LBP(Local Binary Patterns) are one way to extract characteristic features of an object (Could be face, coffe cup or anything that has a representation). LBP's algorithm is really straight forward and can be done manually. (pixel thresholding + pixel level arithmetic operations.)
LBP Algorithm:
There is a "training" part in OpenCV's FaceRecognizer methods. Don't make this confuse you, there is no deep learning approach here. Just simple math.
OpenCV transforms LBP images to histograms to store spatial information of faces with the representation proposed by Timo Ahonen, Abdenour Hadid, and Matti Pietikäinen. Face recognition with local binary patterns. In Computer vision-eccv 2004, pages 469–481. Springer, 2004. . Which divides the LBP image to local regions sized m and extracting histogram for each region and concatenating them.
After having informations about one person's (1 label's) face, the rest is simple. During the inference, it calculates the test face's LBP, divides the regions and creates a histogram. Then compares its euclidian distance to the trained faces' histograms. If it's less than the tolerance value, it counts as a match. (Other distance methods can be used also, chi-squared distance absolute value etc. )