{"id":17189097,"url":"https://github.com/esimov/facemask","last_synced_at":"2025-07-28T15:13:38.646Z","repository":{"id":57522497,"uuid":"253684231","full_name":"esimov/facemask","owner":"esimov","description":"Overlay a mask over a person's face","archived":false,"fork":false,"pushed_at":"2021-01-15T13:04:31.000Z","size":7780,"stargazers_count":18,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-06T00:37:03.282Z","etag":null,"topics":["computer-vision","face-detection","facemask","golang","mouth-detection","pigo","pigo-face-detection"],"latest_commit_sha":null,"homepage":"","language":"Go","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/esimov.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":"2020-04-07T04:10:05.000Z","updated_at":"2024-11-18T18:40:09.000Z","dependencies_parsed_at":"2022-09-12T15:11:57.195Z","dependency_job_id":null,"html_url":"https://github.com/esimov/facemask","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/esimov/facemask","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esimov%2Ffacemask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esimov%2Ffacemask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esimov%2Ffacemask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esimov%2Ffacemask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/esimov","download_url":"https://codeload.github.com/esimov/facemask/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esimov%2Ffacemask/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267536300,"owners_count":24103467,"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-07-28T02:00:09.689Z","response_time":68,"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":["computer-vision","face-detection","facemask","golang","mouth-detection","pigo","pigo-face-detection"],"created_at":"2024-10-15T01:10:44.476Z","updated_at":"2025-07-28T15:13:38.575Z","avatar_url":"https://github.com/esimov.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# facemask\n\n**Facemask** is a simple tool to overlay a medical mask over a person's face. It can be used to modify a profile picture for example to raise awareness about the necessity to protect ourself and others by wearing a medical mask, limiting the pandemic risks of covid-19.\n\n## Install\n```bash\n$ go get -u -v github.com/esimov/facemask \u0026\u0026 cd $GOPATH/src/github.com/esimov/facemask\n$ go install\n```\n\n### Other alternatives\nIf you don't have Go already installed or don't want to install Go you can get the cross-compiled binaries in the [releases](https://github.com/esimov/facemask/releases) folder.\n\n```bash\n$ facemask -h\n ____  __    ___  ____  _  _   __   ____  __ _\n(  __)/ _\\  / __)(  __)( \\/ ) / _\\ / ___)(  / )\n ) _)/    \\( (__  ) _) / \\/ \\/    \\\\___ \\ )  (\n(__) \\_/\\_/ \\___)(____)\\_)(_/\\_/\\_/(____/(__\\_)\n\nFace mask generator\n    Version: 1.0.1\n\n  -angle float\n    \t0.0 is 0 radians and 1.0 is 2*pi radians\n  -in string\n    \tSource image\n  -iou float\n    \tIntersection over union (IoU) threshold (default 0.2)\n  -max int\n    \tMaximum size of face (default 1000)\n  -min int\n    \tMinimum size of face (default 20)\n  -out string\n    \tDestination image\n  -scale float\n    \tScale detection window by percentage (default 1.1)\n  -shift float\n    \tShift detection window by percentage (default 0.1)\n```\n\n## Run it\n```bash\n$ facemask -in \u003cinput\u003e -out \u003coutput\u003e\n```\n\n![facemask](https://user-images.githubusercontent.com/883386/78664870-8ef8d880-78dd-11ea-8dd1-7bb1ee0ce2eb.png)\n\n\n## Author\n\n* Endre Simo ([@simo_endre](https://twitter.com/simo_endre))\n\n## License\n\nCopyright © 2020 Endre Simo\n\nThis software is distributed under the MIT license. See the [LICENSE](https://github.com/esimov/facemask/blob/master/LICENSE) file for the full license text.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesimov%2Ffacemask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fesimov%2Ffacemask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesimov%2Ffacemask/lists"}