{"id":19465820,"url":"https://github.com/1homsi/emotion-detection-python","last_synced_at":"2025-02-25T13:43:49.986Z","repository":{"id":41845389,"uuid":"482363959","full_name":"1homsi/Emotion-Detection-Python","owner":"1homsi","description":"This is a web app (using eel-python) that is used to detect emotions using deep learning. This web app can also train a model.","archived":false,"fork":false,"pushed_at":"2023-07-22T22:49:18.000Z","size":35689,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-08T03:53:41.791Z","etag":null,"topics":["eel","eel-python","emotion-detection","facedetection","machine-learning","model-training","opencv","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/1homsi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-16T21:21:49.000Z","updated_at":"2024-01-16T06:23:55.000Z","dependencies_parsed_at":"2024-11-10T18:37:56.138Z","dependency_job_id":null,"html_url":"https://github.com/1homsi/Emotion-Detection-Python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1homsi%2FEmotion-Detection-Python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1homsi%2FEmotion-Detection-Python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1homsi%2FEmotion-Detection-Python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1homsi%2FEmotion-Detection-Python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1homsi","download_url":"https://codeload.github.com/1homsi/Emotion-Detection-Python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240679363,"owners_count":19840033,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["eel","eel-python","emotion-detection","facedetection","machine-learning","model-training","opencv","python3"],"created_at":"2024-11-10T18:23:55.541Z","updated_at":"2025-02-25T13:43:49.957Z","avatar_url":"https://github.com/1homsi.png","language":"Python","readme":"# Emotion detection using deep learning\n\n## Introduction\n\nThis project aims to classify the emotion on a person's face into one of **seven categories**:\n\n- angry\n- disgusted\n- fearful\n- happy\n- neutral\n- sad\n- surprised\n\nThe project uses deep convolutional neural networks. The model is trained on the **FER-2013** dataset, The dataset consists of 35887 grayscale, 48x48 sized face images.\n\nThe User interface is built using eel, a Python library that allows to create web applications in Python.\n\n## Dependencies\n\n- Python 3\n- [OpenCV](https://opencv.org/)\n- [Tensorflow](https://www.tensorflow.org/)\n- eel\n- tkinter\n- matplotlib\n\n##### Download the FER-2013 dataset from [here](https://drive.google.com/file/d/1X60B-uR3NtqPd4oosdotpbDgy8KOfUdr/view?usp=sharing)\n\n- To run the project (windows)\n\n```bash\npython main.py\n```\n\n- To run the project (linux/unix)\n\n```bash\npython3 main.py\n```\n\n## Algorithm\n\n- First, the **haar cascade** method is used to detect faces in each frame of the webcam feed.\n\n- The region of image containing the face is resized to **48x48** and is passed as input to the CNN.\n\n- The network outputs a list of **softmax scores** for the seven classes of emotions.\n\n- The emotion with maximum score is displayed on the screen.\n\n- Algorithm Code [here](https://github.com/atulapra/Emotion-detection)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1homsi%2Femotion-detection-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1homsi%2Femotion-detection-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1homsi%2Femotion-detection-python/lists"}