{"id":19965490,"url":"https://github.com/rafaykhattak/emotionai","last_synced_at":"2025-09-19T17:31:08.609Z","repository":{"id":168588237,"uuid":"644331971","full_name":"RafayKhattak/EmotionAI","owner":"RafayKhattak","description":"EmotionAI uses a CNN model to analyze facial expressions and accurately recognize emotions (happiness, sadness, anger, etc.)","archived":false,"fork":false,"pushed_at":"2023-05-23T10:58:32.000Z","size":14572,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T16:50:40.697Z","etag":null,"topics":["cnn","computer-vision","emotion-recognition","keras-neural-networks"],"latest_commit_sha":null,"homepage":"https://rafaykhattak-emotionai-app-spj22z.streamlit.app","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/RafayKhattak.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":"2023-05-23T09:50:05.000Z","updated_at":"2024-03-11T08:52:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"41e75b96-7c73-46b9-9ea1-387baa9e7fb9","html_url":"https://github.com/RafayKhattak/EmotionAI","commit_stats":null,"previous_names":["rafaykhattak/emotionai"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RafayKhattak/EmotionAI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RafayKhattak%2FEmotionAI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RafayKhattak%2FEmotionAI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RafayKhattak%2FEmotionAI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RafayKhattak%2FEmotionAI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RafayKhattak","download_url":"https://codeload.github.com/RafayKhattak/EmotionAI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RafayKhattak%2FEmotionAI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275974516,"owners_count":25562672,"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","status":"online","status_checked_at":"2025-09-19T02:00:09.700Z","response_time":108,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cnn","computer-vision","emotion-recognition","keras-neural-networks"],"created_at":"2024-11-13T02:29:06.993Z","updated_at":"2025-09-19T17:31:07.360Z","avatar_url":"https://github.com/RafayKhattak.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EmotionAI\nEmotionAI is an Emotion Detection tool powered by artificial intelligence technology. It leverages a powerful CNN model to analyze facial expressions and accurately recognize emotions such as happiness, sadness, anger, and more.\n![final](https://github.com/RafayKhattak/EmotionAI/assets/90026724/012170a9-8737-494a-b6e4-b310a03458b5)\n\n## Features\n- Real-time emotion detection from webcam feed.\n- Supports multiple emotions including Angry, Disgust, Fear, Happy, Neutral, Sad, and Surprise.\n- Simple and intuitive user interface.\n## Demo\nGo to the website link to test the project yourself.\n## Installation\n1. Clone the repository:\n```\ngit clone https://github.com/your-username/EmotionAI.git\ncd EmotionAI\n```\n2. Install the required dependencies:\n```\npip install -r requirements.txt\n```\n3. Run the EmotionAI tool:\n```\nstreamlit run app.py\n```\n## Technologies Used\n- Python\n- OpenCV\n- Keras\n- TensorFlow\n- Streamlit\n- Streamlit WebRTC\n## Model Training\nIf you're interested in training your own emotion detection model, follow these steps:\n- Download the images dataset from here: https://www.kaggle.com/jonathanoheix/face-expression-recognition-dataset\n- Implement and train a Convolutional Neural Network (CNN) model using a framework like Keras or TensorFlow.\n- Evaluate the model's performance and fine-tune as necessary.\n- Save the trained model weights.\n- Update the model.h5 file in the project with your own trained model.\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafaykhattak%2Femotionai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frafaykhattak%2Femotionai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafaykhattak%2Femotionai/lists"}