{"id":20624961,"url":"https://github.com/ofnote/3d-face","last_synced_at":"2025-04-15T15:05:09.781Z","repository":{"id":40623617,"uuid":"382005239","full_name":"ofnote/3d-face","owner":"ofnote","description":null,"archived":false,"fork":false,"pushed_at":"2021-09-21T12:23:53.000Z","size":63543,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-15T15:04:53.941Z","etag":null,"topics":["3d-face-reconstruction"],"latest_commit_sha":null,"homepage":"https://medium.com/offnote-labs/3d-face-and-body-reconstruction-95f59ada1040","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/ofnote.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}},"created_at":"2021-07-01T11:08:26.000Z","updated_at":"2023-04-24T18:41:27.000Z","dependencies_parsed_at":"2022-09-15T09:12:20.124Z","dependency_job_id":null,"html_url":"https://github.com/ofnote/3d-face","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/ofnote%2F3d-face","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofnote%2F3d-face/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofnote%2F3d-face/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofnote%2F3d-face/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ofnote","download_url":"https://codeload.github.com/ofnote/3d-face/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249094932,"owners_count":21211837,"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":["3d-face-reconstruction"],"created_at":"2024-11-16T13:07:30.393Z","updated_at":"2025-04-15T15:05:09.762Z","avatar_url":"https://github.com/ofnote.png","language":"Python","readme":"## Getting Started\nClone the repo:\n```bash\n    git clone https://github.com/ofnote/3d-face\n    cd 3d-face\n```\n### Requirements\n* Python 3.7 (numpy, skimage, scipy, opencv)  \n* PyTorch \u003e= 1.6 (pytorch3d)  \n* face-alignment (Optional for detecting face)  \n  You can run \n  ```bash\n  pip install -r requirements.txt\n  ```\n  Then follow the instruction to install [pytorch3d](https://github.com/facebookresearch/pytorch3d/blob/master/INSTALL.md).\n### Training\n* To generate CSV file containing images paths, first specify the directory inside preprocess.py containing training images\n  Run\n  ```bash\n  python3 -m decalib.datasets.preprocess\n  ```\n* Specify the dataset foldername inside train file in line 267.\n* To start training\n  Run\n  ```bash\n  python3 -m decalib.trainFromscratch.train\n  ```\n\n## Acknowledgements\n- [DECA](https://github.com/yadiraF/DECA/) - Used their coarse reconstruction part for reconstructing 3d face.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fofnote%2F3d-face","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fofnote%2F3d-face","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fofnote%2F3d-face/lists"}