facial-expression-recognition-svm | Training SVM classifier to recognize people | Machine Learning library
kandi X-RAY | facial-expression-recognition-svm Summary
kandi X-RAY | facial-expression-recognition-svm Summary
Training SVM classifier to recognize people expressions (emotions) on Fer2013 dataset
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Train the model
- Load data
- Compute the accuracy of the given model
- Train function to minimize hyperparameters
- Train the SVC model
- Get new label
- Generate a list of hog windows
- Given an image and a set of rects return a bounding box
facial-expression-recognition-svm Key Features
facial-expression-recognition-svm Examples and Code Snippets
Community Discussions
Trending Discussions on facial-expression-recognition-svm
QUESTION
I'm currently working on my final degree project in robotics, and I decided to create an open-source robot capable of replicating human emotions. The robot is all set up and ready to receive orders, but I'm still busy coding it. I'm currently basing my code off this method. The idea is to extract 68 facial landmarks from a low FPS video feed (using RPi Camera V2), feed those landmarks to a trained SVM classifier and have it return a numeral from 0-6 depending on the expression it detected (Angry, Disgust, Fear, Happy, Sad, Surprise and Neutral). I'm testing out the capabilities of my model with some pictures I took using the RPi Camera, and this is what I've managed to put together so far in terms of code:
...ANSWER
Answered 2020-Apr-06 at 22:04Solved it! Turns out my model was trained using a combination of HOG features and Dlib landmarks, however I was only feeding the landmarks to the predictor, which resulted in the size discrepancy.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install facial-expression-recognition-svm
You can use facial-expression-recognition-svm like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page