{"id":15304291,"url":"https://github.com/deven96/fuskar-backend","last_synced_at":"2025-04-15T00:53:10.074Z","repository":{"id":37230067,"uuid":"179687304","full_name":"deven96/fuskar-backend","owner":"deven96","description":"Facial recognition for attendance management","archived":false,"fork":false,"pushed_at":"2022-12-08T06:45:55.000Z","size":18224,"stargazers_count":8,"open_issues_count":21,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-15T00:52:58.643Z","etag":null,"topics":["artificial-intelligence","attendance","backend","django","facial-recognition","huey","nvidia-jetson-nano"],"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/deven96.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}},"created_at":"2019-04-05T13:32:20.000Z","updated_at":"2024-12-01T09:49:58.000Z","dependencies_parsed_at":"2023-01-25T06:00:13.642Z","dependency_job_id":null,"html_url":"https://github.com/deven96/fuskar-backend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deven96%2Ffuskar-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deven96%2Ffuskar-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deven96%2Ffuskar-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deven96%2Ffuskar-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deven96","download_url":"https://codeload.github.com/deven96/fuskar-backend/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248986278,"owners_count":21194025,"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":["artificial-intelligence","attendance","backend","django","facial-recognition","huey","nvidia-jetson-nano"],"created_at":"2024-10-01T07:55:07.683Z","updated_at":"2025-04-15T00:53:10.041Z","avatar_url":"https://github.com/deven96.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fuskar\n\nThis is a facial recognition application built to be deployed on an NVIDIA Jetson Nano\nIt combines the similarity comparison of the FaceNet Model trained on a Siamese network into a django API served to a VueJS frontend\n\n## Development\n\n### Backend\n\nThe API was built using django and face_recognition\n\n```bash\n    # install redis\n    sudo apt-get install redis-server\n\n    # create virtualenv\n    mkvirtualenv fuskar\n    # install requirements\n    pip install -r backend/requirements.txt\n    # create postgres database\n    sudo su postgres -c \"psql -c \\\"CREATE ROLE fuskar with password 'fuskar';\\\"\"\n    sudo su postgres -c \"psql -c \\\"CREATE DATABASE fuskardb with owner fuskar;\\\"\"\n    sudo su postgres -c \"psql -c \\\"ALTER ROLE fuskar WITH LOGIN;\\\"\"\n    # change directory\n    cd backend\n    # run migrations\n    python manage.py migrate\n    # start server\n    python manage.py runserver\n```\n\n### Frontend\n\nThe front end was built using nuxtjs, a progressive vuejs framework that supports server side rendering. Code [here](https://github.com/abdulqudus001/student-attendance)\n\n## Build Setup\n\n``` bash\n# install dependencies\n$ yarn install\n\n# serve with hot reload at localhost:3000\n$ yarn dev\n\n# build for production and launch server\n$ yarn build\n$ yarn start\n\n# generate static project\n$ yarn generate\n```\n\nFor detailed explanation on how things work, check out [Nuxt.js docs](https://nuxtjs.org).\n\n## Usage\n\n- Turn on the device shown below\n\n![device](assets/view.jpeg)\n![device](assets/view1.jpeg)\n\n- Use a laptop or phone to connect the device to the device hotspot with the password 'fuskar-owner'\n- Visit the web application on 10.42.0.1\n\n![webapplication](assets/webapp1.png)\n![webapplication](assets/webapp2.png)\n\n### Deploy Plans\n\n- [x] Create endpoints for student registration and management\n\n- [x] Create endpoints for course registration and management\n\n- [x] Create asynchronous tasks for taking attendance and retraining pickled parameter\n\n- [ ] Debug setup for huey where huey does not run tasks\n\n- [ ] Complete NVIDIA jetson Nano setup to install dlib with gpu capabilities\n\n- [ ] Auto start `wireless hotspot`\n\n- [ ] Allow all incoming traffic on port 80 using ufw\n \n- [ ] Create nginx sites-available script for redirecting traffic from port 80 to the front-end port\n\n- Back-end (Django) application\n\n    - [ ] Auto Switch camera to read from jetson nano streamer\n\n    - [x] Create Daphne service file\n\n    - [ ] Create Redis-server  broker service file\n\n    - [x] Make sure to start Huey service before Daphne service\n\n    - [x] Tie Huey service start to start Celery service\n\n- Front-end (Vue) application\n\n    - [x] Create Vue service file\n\n    - [x] Connect to back-end port\n\n    - [x] Crop whitespace out of captured image\n\n    - [x] Create Vue server service file to run on start, depending on django service file\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeven96%2Ffuskar-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeven96%2Ffuskar-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeven96%2Ffuskar-backend/lists"}