{"id":17822494,"url":"https://github.com/olliestanley/emotion-recognition","last_synced_at":"2026-05-17T15:08:12.340Z","repository":{"id":82719832,"uuid":"356345788","full_name":"olliestanley/emotion-recognition","owner":"olliestanley","description":"Recognise faces and classify their emotions based on images or videos","archived":false,"fork":false,"pushed_at":"2021-05-04T17:50:50.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-23T00:03:25.516Z","etag":null,"topics":["computer-vision","python"],"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/olliestanley.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":"2021-04-09T17:10:28.000Z","updated_at":"2023-06-01T20:39:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"4fab1575-b8c5-4742-8765-abde684a51a2","html_url":"https://github.com/olliestanley/emotion-recognition","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/olliestanley/emotion-recognition","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olliestanley%2Femotion-recognition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olliestanley%2Femotion-recognition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olliestanley%2Femotion-recognition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olliestanley%2Femotion-recognition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olliestanley","download_url":"https://codeload.github.com/olliestanley/emotion-recognition/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olliestanley%2Femotion-recognition/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33143276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"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":["computer-vision","python"],"created_at":"2024-10-27T17:41:23.784Z","updated_at":"2026-05-17T15:08:12.310Z","avatar_url":"https://github.com/olliestanley.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## emotion-recognition\nRecognise faces and classify their emotions based on images or videos. Implemented in Python 3 using several publicly available libraries.\n\nThis repository contains code for HOG and SIFT feature extraction, and a bag of visual words implementation. It also contains code for training multiple emotion recognition models, two via sklearn (MLP and SVM) and one (CNN) via PyTorch, the most effective being the CNN tuned from ResNet18. The emotion recognition models must be fed images of faces; a separate pretrained facial recognition model is used to identify faces within images or videos before applying the emotion recognition model(s).\n\nThe dataset used for training of the models is not publicly available but the code here could easily be generalised to any similar dataset by only modifying the file `load_data.py`. Note also that some code is hacky due to the time constraints imposed on this project's implementation.\n\nWhen running scripts, the root directory should be the root directory of this repository. Trained models should be saved in /models/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folliestanley%2Femotion-recognition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folliestanley%2Femotion-recognition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folliestanley%2Femotion-recognition/lists"}