{"id":16993315,"url":"https://github.com/janloebel/face_recognition","last_synced_at":"2025-05-08T19:52:07.853Z","repository":{"id":53110957,"uuid":"93621823","full_name":"JanLoebel/face_recognition","owner":"JanLoebel","description":"Face recognition docker image to provide a web service which is able to register and recognize faces","archived":false,"fork":false,"pushed_at":"2024-03-04T20:54:35.000Z","size":18,"stargazers_count":116,"open_issues_count":2,"forks_count":69,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-11-10T03:03:09.963Z","etag":null,"topics":["docker","face","facerecognition","python","recognition","service"],"latest_commit_sha":null,"homepage":"","language":"Python","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/JanLoebel.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":"2017-06-07T10:15:37.000Z","updated_at":"2024-10-30T18:48:53.000Z","dependencies_parsed_at":"2024-10-27T12:48:39.247Z","dependency_job_id":"6414652a-2034-4ed1-9b13-45174813f2f9","html_url":"https://github.com/JanLoebel/face_recognition","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/JanLoebel%2Fface_recognition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanLoebel%2Fface_recognition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanLoebel%2Fface_recognition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanLoebel%2Fface_recognition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JanLoebel","download_url":"https://codeload.github.com/JanLoebel/face_recognition/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225110575,"owners_count":17422411,"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":["docker","face","facerecognition","python","recognition","service"],"created_at":"2024-10-14T03:42:50.169Z","updated_at":"2024-11-18T01:05:29.738Z","avatar_url":"https://github.com/JanLoebel.png","language":"Python","funding_links":["https://www.buymeacoffee.com/JanLoebel"],"categories":[],"sub_categories":[],"readme":"# Face Recognition - Docker image\n\nThis project provides a docker image which offers a web service to recognize known faces on images. It's based on the great [ageitgey/face_recognition](https://github.com/ageitgey/face_recognition) project and just add a web service using the Python `face_recognition`-library.\n\n\u003ca href=\"https://www.buymeacoffee.com/JanLoebel\" rel=\"Buy me a coffee!\"\u003e![Foo](https://cdn.buymeacoffee.com/buttons/default-orange.png)\u003c/a\u003e\n\n## Get started\n\n### Build the Docker image\n\nStart by building the docker image with a defined name. This can take a while.\n\n```bash\ndocker build -t facerec_service .\n```\n\n### Run the Docker image\n\nStart the image and forward port 8080. Optionally bind a local directory to `/root/faces` to provide a location for predefined images which will be registered at start time.\n\n```bash\ndocker run -d -p8080:8080 -v faces:/root/faces facerec_service\n```\n\n## Features\n\n### Register known faces\n\nSimple `POST` an image-file to the `/faces` endpoint and provide an identifier.\n`curl -X POST -F \"file=@person1.jpg\" http://localhost:8080/faces?id=person1`\n\n### Read registered faces\n\nSimple `GET` the `/register` endpoint.\n`curl http://localhost:8080/faces`\n\n### Identify faces on image\n\nSimple `POST` an image-file to the web service.\n`curl -X POST -F \"file=@person1.jpg\" http://localhost:8080/`\n\n## Examples\n\nIn the `examples`-directory there is currently only one example that shows how to use the Raspberry Pi-Camera module to capture an image and `POST` it to the `Face Recognition - Docker image` to check for known faces.\n\n## Notes\n\nI'm not a Python expert, so I'm pretty sure you can optimize the Python code further :) Please feel free to send PR's or open issues.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanloebel%2Fface_recognition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjanloebel%2Fface_recognition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanloebel%2Fface_recognition/lists"}