{"id":15440619,"url":"https://github.com/vearutop/faces","last_synced_at":"2025-04-19T19:35:16.722Z","repository":{"id":217392472,"uuid":"712952361","full_name":"vearutop/faces","owner":"vearutop","description":"Face recognition HTTP microservice","archived":false,"fork":false,"pushed_at":"2024-02-01T13:41:50.000Z","size":29101,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T12:22:08.538Z","etag":null,"topics":["dlib","dlib-face-detection","dlib-face-recognition","face-recognition","golang","microservice"],"latest_commit_sha":null,"homepage":"https://dev.to/vearutop/building-a-portable-face-recognition-application-with-go-and-dlib-12p1","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vearutop.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":"2023-11-01T14:42:03.000Z","updated_at":"2024-09-05T17:06:42.000Z","dependencies_parsed_at":"2024-06-21T19:16:47.020Z","dependency_job_id":"c37c7b36-107e-4187-bd19-65594193d0f1","html_url":"https://github.com/vearutop/faces","commit_stats":null,"previous_names":["vearutop/faces"],"tags_count":5,"template":false,"template_full_name":"bool64/go-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vearutop%2Ffaces","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vearutop%2Ffaces/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vearutop%2Ffaces/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vearutop%2Ffaces/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vearutop","download_url":"https://codeload.github.com/vearutop/faces/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249780746,"owners_count":21324614,"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":["dlib","dlib-face-detection","dlib-face-recognition","face-recognition","golang","microservice"],"created_at":"2024-10-01T19:14:41.575Z","updated_at":"2025-04-19T19:35:16.698Z","avatar_url":"https://github.com/vearutop.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# faces\n\n[![wakatime](https://wakatime.com/badge/user/d4d32a01-9dcc-43f3-96a3-fe3be55e75fd/project/018b8b57-d925-41b0-8f56-b65f8c46b532.svg)](https://wakatime.com/badge/user/d4d32a01-9dcc-43f3-96a3-fe3be55e75fd/project/018b8b57-d925-41b0-8f56-b65f8c46b532)\n![Code lines](https://sloc.xyz/github/vearutop/faces/?category=code)\n![Comments](https://sloc.xyz/github/vearutop/faces/?category=comments)\n\nFace detection HTTP microservice based on [`dlib`](https://github.com/davisking/dlib-models).\n\n## Installation\n\nPortable statically-linked binary for Linux AMD64 is available\non [releases](https://github.com/vearutop/faces/releases).\n\n```\nwget https://github.com/vearutop/faces/releases/latest/download/linux_amd64.tar.gz \u0026\u0026 tar xf linux_amd64.tar.gz \u0026\u0026 rm linux_amd64.tar.gz\n./faces -h\n```\n\nIt is also available as docker image.\n\n```\ndocker run --rm -p 8011:80 vearutop/faces\n```\n\nIf you want to build the app from source, please follow the instructions on\n[dependencies setup](https://github.com/Kagami/go-face?tab=readme-ov-file#requirements).\n\n## Usage\n\n```\n./faces -h\nUsage of ./faces:\n  -listen string\n        listen address (default \"localhost:8011\")\n```\n\nStart server.\n\n```\n./faces\n2024/01/15 23:44:22 recognizer init 424.357089ms\n2024/01/15 23:44:22 http://localhost:80/docs\n```\n\nSend request.\n\n```\ncurl -X 'POST' \\\n  'http://localhost:8011/image' \\\n  -H 'accept: application/json' \\\n  -H 'Content-Type: multipart/form-data' \\\n  -F 'image=@faces.jpg;type=image/jpeg'\n```\n\n```json\n{\n  \"elapsedSec\": 2.373028184,\n  \"found\": 4,\n  \"faces\": [\n    {\n      \"Rectangle\": {\n        \"Min\": {\n          \"X\": 584,\n          \"Y\": 1228\n        },\n        \"Max\": {\n          \"X\": 1029,\n          \"Y\": 1673\n        }\n      },\n      \"Descriptor\": [\n        -0.122200325,\n        0.10511437,\n        0.05358115,\n        0.011272355,\n        -0.09460048,\n        \"............. cut here ...........\"\n      ]\n    }\n  ]\n}\n```\n\nThis repo contains models, that were created by `Davis King \u003chttps://github.com/davisking/dlib-models\u003e`__ and are\nlicensed in the public domain or under CC0 1.0 Universal. See [LICENSE](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvearutop%2Ffaces","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvearutop%2Ffaces","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvearutop%2Ffaces/lists"}