I've created the the framework of the system, which takes a picture, converts it to an LBPH image, and then gets the histograms from each tile of the grid(8x8). I'm following this paper on it, but am confused what to do next to identify features after step 4. Do I just compare each square of the grid with a set of known feature squares and find the closest match? This is my first facial detection program so I'm very new to it.
Facial Detection with LBPH - Extracting Features
140 Views Asked by Photon At
1
There are 1 best solutions below
Related Questions in FACE-DETECTION
- Unable to open shape_predictor_68_face_landmarks.dat
- MediaPipe buffer too small
- How to use Google ML KIT to recognize facial expressions Determine whether a person is smiling or has their eyes closed
- How can i remove background from face image using PRNet and get an image containing only face?
- How can I improve the accuracy of the my program to detect the required faces properly?
- Facial Recognition in Flutter using Google ML Kit
- I cannot find the problem in this code for cropping the face in the bounding box and then saving it
- Not Able to access external webcam in react-use-face-detection
- Error de OpenCV: ConvolutionLayerImpl::getMemoryShapes() - Assertion failed
- Detect and crop face using flutter google_mlkit_face_detection
- There is already a vedacore folder, but it can't be brought in via the import
- Face orientor using RTSP camera
- Flutter: Detecting Face from Image URL and Cropping Profile Picture
- How to turnoff capturing sound from expo-camera when taking pictures
- How to add custom normalize image data by MlContext.Transform?
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?
So basically image processing works like this. Pixel intensity values are way too variant and uninformative by themselves to be useful for algorithms to make sense of an image. Much more useful is the local relationships between pixel intensity values So image processing for recognition, detection is basically a 2-step process.
Feature Extraction - Transform the low-level, high variance, uninformative features such as pixel intensities into a high-level, lower variance, more informative feature set (e.g. edges, visual patterns, etc.) this is referred to as feature extraction. Over the years, there have been a number of feature extraction mechanisms suggested such as edge detection with Sobel filters, histogram of oriented gradients (HOG), Haar-like features, Scale invariant features (SIFTS) and LBPH as you are trying to use. (Note that in most modern applications that are not computationally limited, convolutional neural networks (CNNs) are used for the feature extraction step because they empirically work much much better.
Use Transformed Features - once more useful information (a more informative set of features) has been extracted, you need to use these features to perform the reasoning operation you're hoping to accomplish. In this step, you fit a model (function approximator) such that given your high-level features as an input, the model outputs the information you want (in this case a classification on whether an image contains a face I think). Thus, you need to select and fit a model that can make use of the high-level features for classification. Some classic approaches to this include decision trees, support vector machines, and neural networks. Essentially, model fitting is a standard machine learning problem, and will require using a labelled set of training data to "teach" the model what the high-level feature set will look like for an image that contains a face, versus an image that does not.
It sounds like your code in its current state is missing the second piece. As a good starting place, look into using sci-kit learn's decision tree package.