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
- segmentation fault: 11, extracting data in vector
- Disable OpenCL in OpenCV completely
- Python - Writing your own function with opencv giving an error
- Opengl Augmented Reality in Android from solvepnp
- OpenCv Multispectral Image openCV
- Displaying bitmap image on Android (OpenCV)
- Applying homography on non planar surface
- BackgroundSubtractor getBackgroundImage() function return empty Image
- How to choose good SURF feature keypoints?
- opencv python error: Assertion failed (size.width>0 && size.height>0)
- CIDetector to filter rectangle and get cropped image
- How to detect squares in video with OpenCV?
- Python OpenCV error: (-215) size.width>0 && size.height>0 in function imshow
- OpenCV algorithm of contours searching and creation of bounding rectagle
- OpenCV Opening/Closing shifts the positions of the pixels
Related Questions in FACE-RECOGNITION
- Face cropping using facial landmarks
- Fanelli face detection - PCL code vs. author's implementation
- Face reconization in android
- How to create an caffemodel file from training image and its labeled?
- Update and save face recognition model
- Luxand SDK not installing in iPhone5C
- Insufficient memory opencv
- Access a specific element inside a Mat matrix using openCV
- Error comparing values in "if" construct
- Either Photo or Live Face How to check with Android Camera
- Face recognition algorithms
- What is the best approach to perform face recognition in Windows 10 for a Universal Application?
- Open cv 3.0.0 FaceRecognizer class cannot be resolved while compiling in Linux (Ubuntu)
- Why am I getting an opencv error with size of images when they are as expected?
- Face alignment using openImaj API libraries
Related Questions in LBPH-ALGORITHM
- 3DLBP and GLBP detectors for Depth images Implementation
- Face recognition algorithms
- Matlab code for Local binary pattern
- openCV recognition throws exception (LBPH algorithm)
- Windows phone 8.1 Face Detection C#
- ROC curve for different object detection methods in matlab
- error: (-215:Assertion failed) samples.cols == var_count && samples.type() == CV_32F in function 'cv::ml::SVMImpl::predict'
- ConvergenceWarning: Liblinear failed to converge, increase the number of iterations
- Loading model state into FaceRecognizer from memory or string in python opencv
- local binary pattern transform
- Understanding implementation of Local binary pattern
- what is the role of <cv2.face.LBPHFaceRecognizer_create() >
- Calculate and show LBP histogram in openCV
- matrix.cpp:310: error: (-215) s >= 0 in function cv::setSize
- js-objectdetect with LBP cascades
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 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. )