{"id":15641263,"url":"https://github.com/prodesire/face-mask","last_synced_at":"2025-08-21T02:31:37.985Z","repository":{"id":40971279,"uuid":"237175685","full_name":"Prodesire/face-mask","owner":"Prodesire","description":"Wear face masks in the given picture.","archived":false,"fork":false,"pushed_at":"2023-10-03T21:45:24.000Z","size":2575,"stargazers_count":73,"open_issues_count":4,"forks_count":22,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-10T04:10:14.141Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Prodesire.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}},"created_at":"2020-01-30T09:05:08.000Z","updated_at":"2024-11-08T01:57:37.000Z","dependencies_parsed_at":"2024-02-09T15:14:41.682Z","dependency_job_id":null,"html_url":"https://github.com/Prodesire/face-mask","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/Prodesire%2Fface-mask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prodesire%2Fface-mask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prodesire%2Fface-mask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prodesire%2Fface-mask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Prodesire","download_url":"https://codeload.github.com/Prodesire/face-mask/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230479865,"owners_count":18232630,"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-10-03T11:42:02.647Z","updated_at":"2024-12-19T18:16:45.146Z","avatar_url":"https://github.com/Prodesire.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# face-mask\nWear face masks in the given picture.\n\n## Install\nInstall by pip:\n```bash\npip install face-mask\n```\n\nOr install locally (`cd` project root directory first):\n```bash\npython3 setup.py install\n```\n\n## Usage\nSpecify face picture path and then auto save to face with mask picture path \n(whose name with \"-with-mask\" suffix).\n```bash\nface-mask /path/to/face/picture\n```\n\nIf you want to see the new picture with default viewer, please specify `--show` option.\n```bash\nface-mask /path/to/face/picture --show\n```\n\nIf you want to wear different mask to face, then specify one of the options below:\n- `--black` for black mask\n- `--blue` for blue mask\n- `--red` for red mask\n\nFor instance:\n```bash\nface-mask /path/to/face/picture --blue\n```\n\nIn addition, you can specify different detection models by `--model` option:\n- `hog` is less accurate but faster on CPUs.\n- `cnn` is a more accurate deep-learning model which is GPU/CUDA accelerated (if available).\n\n```bash\nface-mask /path/to/face/picture --model cnn\n```\n\n## Effects\n### One person wears a mask\n![](images/face-mask-single.jpg)\n\n### Many persons wear masks\n![](images/face-mask-multi.jpg)\n\n### Comic persons wear masks\n\u003e Attention: Face recognition for comic face is not accurate enough.\n\n![](images/face-mask-comic.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprodesire%2Fface-mask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprodesire%2Fface-mask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprodesire%2Fface-mask/lists"}