{"id":13444123,"url":"https://github.com/eqs/pylibfacedetection","last_synced_at":"2025-03-29T17:28:36.347Z","repository":{"id":117961758,"uuid":"219025931","full_name":"eqs/pylibfacedetection","owner":"eqs","description":"Python binding of libfacedetection","archived":false,"fork":false,"pushed_at":"2019-11-02T15:15:51.000Z","size":23,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T18:39:50.241Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eqs.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}},"created_at":"2019-11-01T16:49:18.000Z","updated_at":"2021-10-10T01:08:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"8b4c6d0f-79fc-435b-858c-41d2e9c05c91","html_url":"https://github.com/eqs/pylibfacedetection","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eqs%2Fpylibfacedetection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eqs%2Fpylibfacedetection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eqs%2Fpylibfacedetection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eqs%2Fpylibfacedetection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eqs","download_url":"https://codeload.github.com/eqs/pylibfacedetection/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246218558,"owners_count":20742399,"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":[],"created_at":"2024-07-31T03:02:19.670Z","updated_at":"2025-03-29T17:28:36.330Z","avatar_url":"https://github.com/eqs.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# pylibfacedetection\n\n[![Latest PyPI version](https://img.shields.io/pypi/v/pylibfacedetection.svg)](https://pypi.python.org/pypi/pylibfacedetection)\n\n[![Latest Travis CI build status](https://travis-ci.com/eqs/pylibfacedetection.png)](https://travis-ci.com/eqs/pylibfacedetection)\n\n`pylibfacedetection` is a Python binding of libfacedetection (https://github.com/ShiqiYu/libfacedetection).\n\n# Usage\n\nA minimal example:\n\n```python\nimport cv2\nfrom pylibfacedetection import FaceDetector\n\nfilepath = './path/to/image'\n\nimage = cv2.imread(filepath)\n\ndetector = FaceDetector()\nresults = detector.detect(image)\n\nimage_out = image.copy()\n\nfor result in results:\n   x, y, w, h, p, a = result\n   if p \u003e 50:\n       cv2.rectangle(image_out, (x, y), (x + w, y + h),\n                     (0, 255, 0), thickness=4)\n\nprint(results)\n\ncv2.namedWindow('result', cv2.WINDOW_NORMAL)\ncv2.imshow('result', image_out)\ncv2.waitKey(0)\ncv2.destroyAllWindows()\n```\n\n# Installation\n\n```sh\npip install pylibfacedetection\n```\n\n# Licence\n\nBSD\n\n# Authors\n\neqs (https://www.eqseqs.work)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feqs%2Fpylibfacedetection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feqs%2Fpylibfacedetection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feqs%2Fpylibfacedetection/lists"}