{"id":20395332,"url":"https://github.com/donny-hikari/viola-jones","last_synced_at":"2025-04-12T12:24:35.169Z","repository":{"id":43061498,"uuid":"128667565","full_name":"Donny-Hikari/Viola-Jones","owner":"Donny-Hikari","description":"A face detection program in python using Viola-Jones algorithm.","archived":false,"fork":false,"pushed_at":"2018-06-24T13:22:22.000Z","size":229,"stargazers_count":49,"open_issues_count":10,"forks_count":23,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-26T07:11:10.963Z","etag":null,"topics":["adaboost","boosting","computer-vision","emsembling","face-detection","haar-cascade","machine-learning","viola-jones"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Donny-Hikari.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-08T17:57:17.000Z","updated_at":"2025-03-07T18:50:30.000Z","dependencies_parsed_at":"2022-08-31T18:51:13.016Z","dependency_job_id":null,"html_url":"https://github.com/Donny-Hikari/Viola-Jones","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/Donny-Hikari%2FViola-Jones","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Donny-Hikari%2FViola-Jones/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Donny-Hikari%2FViola-Jones/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Donny-Hikari%2FViola-Jones/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Donny-Hikari","download_url":"https://codeload.github.com/Donny-Hikari/Viola-Jones/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248565637,"owners_count":21125534,"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":["adaboost","boosting","computer-vision","emsembling","face-detection","haar-cascade","machine-learning","viola-jones"],"created_at":"2024-11-15T03:57:12.723Z","updated_at":"2025-04-12T12:24:35.143Z","avatar_url":"https://github.com/Donny-Hikari.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Viola-Jones Detection Framework\n\nThis is an implement of Viola-Jones Detection Framework and is used in human face detection.\n\n## Requirements\n\nThis implement of Viola-Jones Framework require python version 3.5.2, and depends on the following modules:\n\n|module|version|comment|\n|:--|:--|:--|\nnumpy|1.13.3|\nscipy|1.0.0|\nopencv-python|3.4.0.14|for capturing image\nscikit-learn|0.19.1|for shuffling data\n\n## Usage\n\nRun the following command to begin face detection:\n\n```bash\npython detect.py\n```\n\n## Main Concepts\n\n### Haar-like Features\n\nHaar-like features are proposed by Viola and Jones, adapting the idea (from Papageoriou et al) of using Haar wavelets.\n\n![Haar-like Features proposed by Viola and Jones](./docs/haar-like.png)\n\nIn this implement, five types of Haar-like features are used. They are: left-right, top-bottom, horizontal-middle, vertical-middle, diagonal.\n\n![Haar-like Features in this implement](./docs/My-Haar-like-Features.png)\n\n### Integral Image\n\nTo speed up features extraction process, an intermediate representation for the image called integral image is used.\n\n![Integral Image](./docs/integral-image.png)\n\n### AdaBoost\n\nAdaBoost is short for Adaptive Boosting, which is a kind of method of ensemble learning.\n\nFor more info about AdaBoost, refers to [GitHub - Donny-Hikari/AdaBoost](https://github.com/Donny-Hikari/AdaBoost)\n\n### BoostedCascade\n\nTo speed up detection process, as well as to decrease the false positive rate while sustaining a high detection rate (i.e. to improve precision), Viola and Jones invent the boosted cascade. That is, to cascade multiple AdaBoost classifiers.\n\n![The Attentional Cascade](./docs/attentional-cascade.png)\n\n## References\n\n1. Yoav Freund; Robert E. Schapire. AT\u0026T Labs – Research, Shannon Laboratory. Journal of Japanese Society for Artificial Intelligence,14(5):771-780, September 1999. A Short Introduction to Boosting.\n\n2. Paul Viola; Michael J. Jones. IEEE Computer Society Conference on Computer Vision and Pattern Recognition, May 2004. Rapid Object Detection Using a Boosted Cascade of Simple Features.\n\n3. Paul Viola; Michael J. Jones. International Journal of Computer Vision 57(2), 137–154, 2004. Robust Real-Time Face Detection. \n\n## Author\n\n||\n|:--:|\n| [![Donny Hikari](https://avatars3.githubusercontent.com/u/22200374?s=128)](https://github.com/Donny-Hikari) |\n| [Donny Hikari](https://github.com/Donny-Hikari) |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonny-hikari%2Fviola-jones","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdonny-hikari%2Fviola-jones","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonny-hikari%2Fviola-jones/lists"}