{"id":30606846,"url":"https://github.com/docsaidlab/pyface","last_synced_at":"2025-09-07T02:33:06.302Z","repository":{"id":310323980,"uuid":"928799221","full_name":"DocsaidLab/PyFace","owner":"DocsaidLab","description":"An Integrated Python Package for Face Analysis","archived":false,"fork":false,"pushed_at":"2025-08-24T17:43:08.000Z","size":278,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-24T18:42:01.738Z","etag":null,"topics":["face-depth","face-detection","face-landmarks","face-recognition"],"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/DocsaidLab.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,"zenodo":null}},"created_at":"2025-02-07T09:05:21.000Z","updated_at":"2025-08-24T16:57:09.000Z","dependencies_parsed_at":"2025-08-24T15:07:59.353Z","dependency_job_id":null,"html_url":"https://github.com/DocsaidLab/PyFace","commit_stats":null,"previous_names":["docsaidlab/facekit"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/DocsaidLab/PyFace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DocsaidLab%2FPyFace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DocsaidLab%2FPyFace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DocsaidLab%2FPyFace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DocsaidLab%2FPyFace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DocsaidLab","download_url":"https://codeload.github.com/DocsaidLab/PyFace/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DocsaidLab%2FPyFace/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272797749,"owners_count":24994645,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-depth","face-detection","face-landmarks","face-recognition"],"created_at":"2025-08-30T03:13:14.098Z","updated_at":"2025-08-30T03:13:15.309Z","avatar_url":"https://github.com/DocsaidLab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PyFace\n\n[![license](https://img.shields.io/badge/license-Apache%202-dfd.svg)](./LICENSE)\n[![python](https://img.shields.io/badge/python-3.10+-aff.svg)](./pyproject.toml)\n[![release](https://img.shields.io/github/v/release/DocsaidLab/PyFace?color=ffa)](https://github.com/DocsaidLab/PyFace/releases)\n[![pypi](https://img.shields.io/pypi/v/pyface-docsaid.svg)](https://pypi.org/project/pyface-docsaid/)\n[![downloads](https://img.shields.io/pypi/dm/pyface-docsaid?color=9cf)](https://pypi.org/project/pyface-docsaid/)\n\n## Introduction\n\nPyFace is a Python library for face detection, face landmark, face depth, face recognition, etc.\n\n![PyFace Overview](https://media.githubusercontent.com/media/DocsaidLab/PyFace/refs/heads/main/docs/teaser.jpg)\n\n## Installation\n\n### Requirements\n\n- Python 3.10+\n\n### Install via pypi\n\n```bash\npip install -U pip wheel\npip install setuptools # for python 3.12\npip install pyface-docsaid\n```\n\n### Install via GitHub\n\n```bash\npip install -U pip wheel\npip install setuptools # for python 3.12\npip install git+https://github.com/DocsaidLab/PyFace.git\n```\n\n## Usage\n\nYou can see [demo](demo) for more details.\n\n### General usage\n\nWe recommend to use `FaceService` for integrating all face models.\n\n```python\nimport capybara as cb\nimport pyface as pf\n\nface_service = pf.FaceService(\n    batch_size=1,\n    enable_recognition=True,\n    enable_depth=True,\n    enable_landmark=True,\n    face_bank='path/to/face_bank',\n    recog_level='High',\n    detect_kwargs={\"gpu_id\": 0, \"backend\": \"cuda\"}, # if you want to use GPU on detection\n    landmark_kwargs={\"backend\": \"cpu\"}, # if you want to use CPU on landmark\n    ...\n)\nimg = cb.imread('path/to/image')\nfaces_on_img = face_service([img])[0]\n# Plotted faces on image\ncb.imwrite('path/to/output', faces_on_img.gen_info_img())\n```\n\n## Citation\n\n```bibtex\n@misc{lin2025pyface,\n  author       = {Kun-Hsiang Lin},\n  title        = {PyFace: An Integrated Python Package for Face Analysis},\n  year         = {2025},\n  publisher    = {GitHub},\n  howpublished = {\\url{https://github.com/DocsaidLab/PyFace}}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocsaidlab%2Fpyface","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdocsaidlab%2Fpyface","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocsaidlab%2Fpyface/lists"}