{"id":23406934,"url":"https://github.com/mktechai-0786/facial-emotion-detector","last_synced_at":"2026-04-24T16:04:47.897Z","repository":{"id":268425360,"uuid":"904318939","full_name":"MKTechAI-0786/Facial-Emotion-Detector","owner":"MKTechAI-0786","description":"Face Emotion Recognition using FER Lib","archived":false,"fork":false,"pushed_at":"2024-12-16T17:10:51.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T00:07:15.237Z","etag":null,"topics":["deep-learning","fer2013","machine-learning","mtcnn-face-detection","opencv","python","tenserflow"],"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/MKTechAI-0786.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":"2024-12-16T16:55:06.000Z","updated_at":"2024-12-16T17:15:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"0ddc70b2-b90a-4316-8e57-263b317212e7","html_url":"https://github.com/MKTechAI-0786/Facial-Emotion-Detector","commit_stats":null,"previous_names":["mktechai-0786/facial-emotion-detector"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MKTechAI-0786%2FFacial-Emotion-Detector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MKTechAI-0786%2FFacial-Emotion-Detector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MKTechAI-0786%2FFacial-Emotion-Detector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MKTechAI-0786%2FFacial-Emotion-Detector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MKTechAI-0786","download_url":"https://codeload.github.com/MKTechAI-0786/Facial-Emotion-Detector/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247947860,"owners_count":21023066,"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":["deep-learning","fer2013","machine-learning","mtcnn-face-detection","opencv","python","tenserflow"],"created_at":"2024-12-22T14:16:18.904Z","updated_at":"2026-04-24T16:04:47.841Z","avatar_url":"https://github.com/MKTechAI-0786.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Facial-Emotion-Detector\nThis project is a Facial Emotion Recognition System that uses a webcam or video input to detect faces and identify their emotions in real-time. The program utilizes the FER (Facial Expression Recognition) library for emotion classification and OpenCV for video capture and display.\n\n#Features\n  Real-time emotion detection using a webcam.\n  Supports multiple emotion classes:\n    Happy, Sad, Angry, Neutral, Fear, Disgust, Surprise\n  Draws bounding boxes around detected faces and displays the most likely emotion.\n\n#Accuracy\n  Controlled environments: ~70-80% accuracy (good lighting, frontal faces).\n  Real-world scenarios: ~50-60% accuracy (varied lighting and non-frontal faces).\n  Per-emotion classification accuracy (approximate):\n    Happy: ~93%\n    Neutral: ~60%\n    Sad: ~75%\n    Angry: ~70%\n    Surprise: ~60%\n    Fear, Disgust: ~58%\n\n#Software Requirements\nMake sure the following software and libraries are installed before running the project:\n  Python 3.8 or later\n  Required Python packages (install using pip):\n    \"pip install opencv-python-headless fer\"\n  OpenCV: For video capture and processing.\n  FER: A library for facial expression recognition.\n\n#Installation\n  1. Clone the Repository\n    git clone https://github.com/yourusername/facial-emotion-recognition.git\n    cd facial-emotion-recognition\n\n  2. Install Dependencies\n     Install all required libraries using pip:\n      pip install -r requirements.txt\n\n  3. Run the Program\n    Run the script to start emotion detection via webcam:\n      python emotion_detector.py\n     \n5. Exit the Program\n    Press the q key to exit the webcam feed.\n\n#Procedure\n  1. The program captures live video feed from the webcam.\n  2. It detects faces in real-time using the FER library.\n  3. For each detected face:\n    3.1 A bounding box is drawn around the face.\n    3.2 The most probable emotion (e.g., happy, sad, angry, etc.) is displayed above the box.\n  4. Results are continuously displayed in a video window.\n  5. The program exits when the q key is pressed.\n\n#Conclusion\n  This project provides a basic framework for detecting facial emotions using pre-trained models in the FER library. While it works well in controlled environments, accuracy may decrease in real-world settings due to lighting, occlusions, and non-frontal faces. For improved performance, consider using advanced models such as DeepFace or custom fine-tuned neural networks.\n\n#Future Improvements\n  Integrate more advanced models like DeepFace for higher accuracy.\n  Add support for analyzing emotion trends over time.\n  Improve robustness under varying lighting conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmktechai-0786%2Ffacial-emotion-detector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmktechai-0786%2Ffacial-emotion-detector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmktechai-0786%2Ffacial-emotion-detector/lists"}