{"id":17680403,"url":"https://github.com/anykeyh/facedetect-ruby","last_synced_at":"2025-07-31T02:38:56.428Z","repository":{"id":69956406,"uuid":"58993121","full_name":"anykeyh/facedetect-ruby","owner":"anykeyh","description":"Wrapper in ruby for WaveXX's facedetect project","archived":false,"fork":false,"pushed_at":"2018-03-24T06:08:33.000Z","size":2890,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T18:48:46.768Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anykeyh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2016-05-17T05:31:26.000Z","updated_at":"2018-03-24T06:08:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"2d297594-2825-4f33-b4eb-f001a82408fd","html_url":"https://github.com/anykeyh/facedetect-ruby","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anykeyh/facedetect-ruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anykeyh%2Ffacedetect-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anykeyh%2Ffacedetect-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anykeyh%2Ffacedetect-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anykeyh%2Ffacedetect-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anykeyh","download_url":"https://codeload.github.com/anykeyh/facedetect-ruby/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anykeyh%2Ffacedetect-ruby/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267978056,"owners_count":24175248,"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-31T02:00:08.723Z","response_time":66,"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":[],"created_at":"2024-10-24T09:06:53.959Z","updated_at":"2025-07-31T02:38:56.391Z","avatar_url":"https://github.com/anykeyh.png","language":"Python","readme":"# Facedetect\n\nThis is just a ruby wrapper for the tool [facedetect](https://www.thregr.org/~wavexx/software/facedetect/).\n\n## Installation\n\n### Requirements\n\nThis gem need python and opencv installed.\n\nOn Linux (Ubuntu and Debian):\n\n```bash\nsudo apt-get install python python-opencv libopencv-dev\n```\n\nOn Mac OSX using homebrew:\n\n```bash\nbrew tap homebrew/science\nbrew install python opencv\n```\n\n### Installing the gem\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'facedetect', github: \"anykeyh/facedetect-ruby\"\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself using [specific_install](https://github.com/rdp/specific_install) as:\n\n    $ gem specific_install https://github.com/anykeyh/facedetect-ruby.git\n\n## Usage\n\n\nYou can then use facedetect binary like this:\n\n```bash\nfacedetect -o test.jpg input.jpg\n```\n\nOr into your ruby code/program:\n\n```ruby\nFacedetect::run(\"-o test.jpg\", \"input.jpg\").each do |face|\n  face_rectangle = [face.x,face.y,face.width,face.height]\nend\n```\n\nAll the arguments of [facedetect](https://www.thregr.org/~wavexx/software/facedetect/) can be used. Please check the documentation of the lib for more info.\n`facedetect-ruby` add however the new argument `--strict` which help to remove the false positives discrimining the output through multiple cascades.\n\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/anykeyh/facedetect. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n\nAccording to the wavexx facedetect initial code, the gem is available as open source under the terms of the [GPLv2 License](https://opensource.org/licenses/GPL-2.0).\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanykeyh%2Ffacedetect-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanykeyh%2Ffacedetect-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanykeyh%2Ffacedetect-ruby/lists"}