# Facial-Expression-Recognition **Repository Path**: bronyale/Facial-Expression-Recognition ## Basic Information - **Project Name**: Facial-Expression-Recognition - **Description**: Facial-Expression-Recognition in TensorFlow. Detecting faces in video and recognize the expression(emotion). - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2024-04-16 - **Last Updated**: 2024-04-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ![amazing](./amazingkelly.jpeg) Opensource deep learning framework [TensorFlow](https://www.tensorflow.org) 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](https://www.tensorflow.org/install/) - OpenCV (python3-version) [Installation](http://docs.opencv.org/master/da/df6/tutorial_py_table_of_contents_setup.html) 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: ```shell 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)](https://www.kaggle.com/c/challenges-in-representation-learning-facial-expression-recognition-challenge/data). 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: ```shell python3 main.py ``` #### Issues & Suggestions If any issues and suggestions to me, you can create an [issue](https://github.com/xionghc/Facial-Expression-Recognition/issues/).