{"id":26667468,"url":"https://github.com/alkaifaftab000/face-emotion-detection","last_synced_at":"2026-05-08T14:37:39.773Z","repository":{"id":282633877,"uuid":"893950066","full_name":"alkaifaftab000/Face-Emotion-Detection","owner":"alkaifaftab000","description":"Detecting emotions with AI: from happy smiles to sad sighs, one face at a time!😊","archived":false,"fork":false,"pushed_at":"2025-03-17T13:46:49.000Z","size":54933,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-15T04:09:37.431Z","etag":null,"topics":["deep","deep-learning","emotion-detection","image-processing","keras","neural-network","tensorflow"],"latest_commit_sha":null,"homepage":"https://face-emotion-detection-o5wy.onrender.com/","language":"HTML","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/alkaifaftab000.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,"zenodo":null}},"created_at":"2024-11-25T13:46:03.000Z","updated_at":"2025-03-17T13:58:05.000Z","dependencies_parsed_at":"2025-07-05T22:33:32.143Z","dependency_job_id":null,"html_url":"https://github.com/alkaifaftab000/Face-Emotion-Detection","commit_stats":null,"previous_names":["alkaifaftab000/face-emotion-detection"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alkaifaftab000/Face-Emotion-Detection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alkaifaftab000%2FFace-Emotion-Detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alkaifaftab000%2FFace-Emotion-Detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alkaifaftab000%2FFace-Emotion-Detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alkaifaftab000%2FFace-Emotion-Detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alkaifaftab000","download_url":"https://codeload.github.com/alkaifaftab000/Face-Emotion-Detection/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alkaifaftab000%2FFace-Emotion-Detection/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32785053,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","deep-learning","emotion-detection","image-processing","keras","neural-network","tensorflow"],"created_at":"2025-03-25T19:38:15.381Z","updated_at":"2026-05-08T14:37:39.744Z","avatar_url":"https://github.com/alkaifaftab000.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 😊 Face Emotion Detection Project\n\nThis project aims to detect emotions (happy or sad) from images using deep learning techniques. It's perfect for exploring the intersection of technology and human emotions.\n\n---\n\n## 🎯 Workflow\n\n1. **Data Collection**:  \n   - Downloaded 1,000 images featuring sad and happy faces, including babies, children, adults, and elderly people.  \n   - Detect faces directly using a camera or by adding your own images.\n\n2. **Data Preprocessing**:  \n   - Removed irrelevant images (like dog pictures 🐕) using `cv2` and `imghdr`.  \n   - Normalized pixel values for consistency in processing.\n\n3. **Building the Model**:  \n   - Employed **Keras** with **TensorFlow** backend to build a convolutional neural network (CNN):  \n      - **Layers**:  \n        - Conv2D  \n        - MaxPooling2D  \n        - Dense  \n        - Flatten  \n      - Small filters in Conv2D to extract intricate features.  \n   - The model outputs a score:  \n      - Close to `0`: Person is sad 😢  \n      - Close to `1`: Person is happy 😃\n\n---\n\n## 🚀 Learning Outcomes\n\n1. Understanding the preprocessing techniques to handle image-based data effectively.  \n2. Building a deep learning model with CNNs to extract features and classify emotions.\n\n---\n## UI \n![{C82E27E4-26F4-4A42-BAE1-F45701B187C0}](https://github.com/user-attachments/assets/91975f13-2ceb-4b66-ac0d-2e22e4e404f9)\n![{6C127782-44F0-4B2E-965B-620450302770}](https://github.com/user-attachments/assets/fc4ff745-6dc2-4114-a212-27cfe79360d8)\n\n## Result\n![{F9B3092B-A6E7-4319-9D27-5071B30384E7}](https://github.com/user-attachments/assets/7531621b-b997-4701-8396-2c3a7aba85f1)\n---\n\n## 🔧 Plugins Used\n\n- `flask==3.0.2`  \n- `tensorflow==2.18.0`  \n- `pillow==10.2.0`  \n- `numpy==1.26.4`  \n- `gunicorn==21.2.0`  \n\n---\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falkaifaftab000%2Fface-emotion-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falkaifaftab000%2Fface-emotion-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falkaifaftab000%2Fface-emotion-detection/lists"}