{"id":17143829,"url":"https://github.com/asem000/hai-project","last_synced_at":"2025-06-16T08:37:14.681Z","repository":{"id":68845179,"uuid":"316750645","full_name":"ASEM000/HAI-Project","owner":"ASEM000","description":"Human AI interaction awesome project","archived":false,"fork":false,"pushed_at":"2020-12-23T10:51:36.000Z","size":282,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-31T00:47:28.304Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ASEM000.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-11-28T14:24:04.000Z","updated_at":"2021-01-15T11:09:04.000Z","dependencies_parsed_at":"2023-03-05T21:30:30.509Z","dependency_job_id":null,"html_url":"https://github.com/ASEM000/HAI-Project","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ASEM000/HAI-Project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASEM000%2FHAI-Project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASEM000%2FHAI-Project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASEM000%2FHAI-Project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASEM000%2FHAI-Project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ASEM000","download_url":"https://codeload.github.com/ASEM000/HAI-Project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASEM000%2FHAI-Project/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260126837,"owners_count":22962698,"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":[],"created_at":"2024-10-14T20:42:24.880Z","updated_at":"2025-06-16T08:37:14.660Z","avatar_url":"https://github.com/ASEM000.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EMOTI\n\n### PROTOTYPE VIDEO\n[![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/FbK_AANGz44/0.jpg)](http://www.youtube.com/watch?v=FbK_AANGz44)\n\n------\n\u003cimg src=\"https://i.imgur.com/aAyA0UC.png\" width=50% \u003e\n\n\n## Instructions for downloading the trained machine learning models\n#### Download the model from https://drive.google.com/file/d/1GPCzXgoVhs3Rl10_X8TtdgPkwznHg298/view?usp=sharing and move it to `backend` folder\n#### Download the dlib model from https://drive.google.com/file/d/1Hj1NK954woxx8IEhvrZjTKDwX9F0kpim/view?usp=sharing and move it to `backend` folder\n\n\n### Instruction for compiling dlib for linux\n`https://www.learnopencv.com/install-dlib-on-ubuntu/`\n\n\n### Instruction for compiling dlib for mac\n`https://www.learnopencv.com/install-dlib-on-macos/`\n\n### Instruction for compiling dlib for windows\n`https://www.learnopencv.com/install-dlib-on-windows/`\n\n### Setting up\nTo begin with, clone the repo: `git clone https://github.com/ASEM000/HAI-Project.git`\nAfter cloning, change the directory to the backend folder:`cd HAI-Project/backend`\nCreate a python environment `python3 -m venv \u003cname of environment\u003e`\nActivate the environment:\n- On Windows(cmd): `\u003cname of environment\u003e\\Scripts\\activate.bat`\n- On MacOS/Unix: `source \u003cname of environment\u003e/bin/activate`\n\nInstall all the libraries: `pip install -r requirements.txt`\nSet flask application to run.py:\n- On Windows(cmd): `set FLASK_APP=run.py`\n- On MacOS/Unix: `export FLASK_APP=run.py`\n\n### Running\nStart the application: `flask run`\n\nOnce the application starts, it will be accessible through the default ip(unless reconfigured): `http://127.0.0.1:5000`. However it should be opened from `http://localhost:5000` (CORS). If you want the application to work on a different address hoever, apart from modyfing flask configuration, you need to replace `http://localhost:5000/process` with `http://\u003cdesired address\u003e/process` in main.js in static folder (`cd app/static`)\n\n#### The small database with images and expected labels is located in static/imageDb.js; 16:9 images are best suited for the entries.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasem000%2Fhai-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasem000%2Fhai-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasem000%2Fhai-project/lists"}