{"id":13856813,"url":"https://github.com/balavenkatesh3322/face_unlock","last_synced_at":"2025-04-22T13:32:36.241Z","repository":{"id":118937909,"uuid":"273189578","full_name":"balavenkatesh3322/face_unlock","owner":"balavenkatesh3322","description":"We can lock and unlock our Ubuntu system using face recognition(currently only on Ubuntu).","archived":false,"fork":false,"pushed_at":"2020-08-03T01:24:11.000Z","size":25320,"stargazers_count":57,"open_issues_count":0,"forks_count":23,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-02T00:11:50.902Z","etag":null,"topics":["computer-vision","face-recognition","lockscreen","numpy","opencv","os","python3","security-automation","ubuntu"],"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/balavenkatesh3322.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}},"created_at":"2020-06-18T08:56:56.000Z","updated_at":"2024-09-02T19:38:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"d624f292-5056-4069-836f-f96dafaf7d98","html_url":"https://github.com/balavenkatesh3322/face_unlock","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/balavenkatesh3322%2Fface_unlock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balavenkatesh3322%2Fface_unlock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balavenkatesh3322%2Fface_unlock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balavenkatesh3322%2Fface_unlock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/balavenkatesh3322","download_url":"https://codeload.github.com/balavenkatesh3322/face_unlock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250248835,"owners_count":21399345,"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":["computer-vision","face-recognition","lockscreen","numpy","opencv","os","python3","security-automation","ubuntu"],"created_at":"2024-08-05T03:01:14.304Z","updated_at":"2025-04-22T13:32:35.114Z","avatar_url":"https://github.com/balavenkatesh3322.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Lock/Unlock Ubuntu OS \n\n## Introduction\nWe can lock and unlock our Ubuntu system using face recognition(currently only on Ubuntu). \n\n## Article about implementation\n[Automatically Locking \u0026 Unlocking Ubuntu with Computer Vision Using a Human Face!!!](https://medium.com/p/automatically-locking-unlocking-ubuntu-with-computer-vision-using-a-human-face-db35cbe312f7?source=email-7d2dbe2d619d--writer.postDistributed\u0026sk=b7d25089643c2c719eb6e36aecfef085)\n\n## Demo\n![Demo video](demo.gif)\n\n## Requirements\n\nInstall below the required library in your local machine.\n\n1) python 3.7\n2) opencv 4.1.0\n3) numpy \n4) face-recognition\n5) sudo apt-get install gnome-screensaver\n6) sudo apt-get install xdotool\n\n## Quick Start\nI have used three python files to solve this issue.\n\n1) **face_generate.py**\n This will detect your face and save it in the dataset folder then the new folder will create with your name.\n \n2) **face_train.py**\n This python file will open the dataset folder and take your image from that and train your face using the K-nearest neighbor algorithm and face_recognition library.\n \n3) **face_unlock.py**\n This is an important python file that will detect your face using the webcam and unlock the system.\n\n## Having problems?\n\nIf you run into problems, Please feel free to connect me on [Linkedin](https://www.linkedin.com/in/bala-venkatesh-67964247/) and [Twitter](https://twitter.com/balavenkatesh22)\n\n\n## Contributing\n\nCode contributions are also very welcome. feel free to open an issue for that too.\n\n\nTo do:\n- [ ] Support Windows and Mac OS.\n- [ ] Train face using browser(UI).\n- [ ] Increase performance and speed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbalavenkatesh3322%2Fface_unlock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbalavenkatesh3322%2Fface_unlock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbalavenkatesh3322%2Fface_unlock/lists"}