{"id":26720940,"url":"https://github.com/cospectrum/scrfd","last_synced_at":"2025-04-14T05:51:55.151Z","repository":{"id":206075828,"uuid":"715829333","full_name":"cospectrum/scrfd","owner":"cospectrum","description":"Efficient face detection using SCRFD.","archived":false,"fork":false,"pushed_at":"2025-02-16T17:35:06.000Z","size":18272,"stargazers_count":10,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T19:43:06.751Z","etag":null,"topics":["face-detection","face-detector"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cospectrum.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-07T23:11:44.000Z","updated_at":"2025-01-11T00:51:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"ea9b2e2c-253e-4730-8181-d8f438ec2bd0","html_url":"https://github.com/cospectrum/scrfd","commit_stats":null,"previous_names":["cospectrum/scrfd"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cospectrum%2Fscrfd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cospectrum%2Fscrfd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cospectrum%2Fscrfd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cospectrum%2Fscrfd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cospectrum","download_url":"https://codeload.github.com/cospectrum/scrfd/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248830388,"owners_count":21168272,"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":["face-detection","face-detector"],"created_at":"2025-03-27T19:35:06.242Z","updated_at":"2025-04-14T05:51:55.132Z","avatar_url":"https://github.com/cospectrum.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SCRFD\n[![github]](https://github.com/cospectrum/scrfd)\n[![ci]](https://github.com/cospectrum/scrfd/actions)\n\n[github]: https://img.shields.io/badge/github-cospectrum/scrfd-8da0cb?logo=github\n[ci]: https://github.com/cospectrum/scrfd/workflows/ci/badge.svg\n\nEfficient face detection using SCRFD.\n\n```sh\npip install scrfd\n```\n\n```python\nfrom scrfd import SCRFD, Threshold\nfrom PIL import Image\n\nface_detector = SCRFD.from_path(\"./models/scrfd.onnx\")\nthreshold = Threshold(probability=0.4)\n\nimage = Image.open(\"./images/solvay_conference_1927.png\").convert(\"RGB\")\nfaces = face_detector.detect(image, threshold=threshold)\n\nfor face in faces:\n    bbox = face.bbox\n    kps = face.keypoints\n    score = face.probability\n    print(f\"{bbox=}, {kps=}, {score=}\")\n```\n\n\u003cimg align=\"middle\" src=\"./readme.png\" alt=\"face detection\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcospectrum%2Fscrfd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcospectrum%2Fscrfd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcospectrum%2Fscrfd/lists"}