xionghc/Facial-Expression-Recognition
关于
使用 TensorFlow 进行面部表情识别,检测视频中的人脸并识别其表情(情绪)。
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
Opensource deep learning framework TensorFlow is used in Facial Expression Recognition(FER). The trained models achieved 65% accuracy in fer2013. If you like this, please give me a star.
Dependencies
FER requires:
- Python (>= 3.3)
- TensorFlow (>= 1.1.0) Installation
- OpenCV (python3-version) Installation
Only tested in Ubuntu and macOS Sierra. Other platforms are not sure work well. When problems meet, open an issue, I'll do my best to solve that.
Usage
demo
To run the demo, just type:
python3 main.py
Then the program will creat a window to display the scene capture by webcamera. You need press SPACE key to capture face in current frame and recognize the facial expression.
If you just want to run this demo instead of training the model from scaratch, the following content can be skipped.
train models
If you want to train a model from scaratch by yourself, download the fer2013 datasets in kaggle(91.97MB). Then extract the data to data/fer2013 folder.
It's is import that modifying the MODE(in main.py) from demo to train before you start training.
Then type:
python3 main.py
Issues & Suggestions
If any issues and suggestions to me, you can create an issue.
探索相关项目
加载中…