{"id":14977710,"url":"https://github.com/laulauthom/haar-cascade-nms","last_synced_at":"2025-08-23T16:08:47.274Z","repository":{"id":57436541,"uuid":"293771753","full_name":"LauLauThom/haar-cascade-nms","owner":"LauLauThom","description":"OpenCV Haar cascade with non-maxima suppression","archived":false,"fork":false,"pushed_at":"2021-12-21T11:42:46.000Z","size":377,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-26T12:06:54.148Z","etag":null,"topics":["haar-cascade","object-detection","object-localization","opencv"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/LauLauThom.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-09-08T10:04:56.000Z","updated_at":"2023-09-03T10:14:24.000Z","dependencies_parsed_at":"2022-09-09T22:50:15.815Z","dependency_job_id":null,"html_url":"https://github.com/LauLauThom/haar-cascade-nms","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/LauLauThom/haar-cascade-nms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LauLauThom%2Fhaar-cascade-nms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LauLauThom%2Fhaar-cascade-nms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LauLauThom%2Fhaar-cascade-nms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LauLauThom%2Fhaar-cascade-nms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LauLauThom","download_url":"https://codeload.github.com/LauLauThom/haar-cascade-nms/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LauLauThom%2Fhaar-cascade-nms/sbom","scorecard":{"id":82427,"data":{"date":"2025-08-11","repo":{"name":"github.com/LauLauThom/haar-cascade-nms","commit":"5972ec6d900c089f7034543bd13527f415f9fe18"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/27 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-jh2j-j4j9-crg3","Warn: Project is vulnerable to: PYSEC-2023-184"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-15T06:11:51.314Z","repository_id":57436541,"created_at":"2025-08-15T06:11:51.314Z","updated_at":"2025-08-15T06:11:51.314Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271755437,"owners_count":24815407,"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-08-23T02:00:09.327Z","response_time":69,"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":["haar-cascade","object-detection","object-localization","opencv"],"created_at":"2024-09-24T13:56:11.075Z","updated_at":"2025-08-23T16:08:47.244Z","avatar_url":"https://github.com/LauLauThom.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenCV Haar cascade with Non-Maxima Suppression\nThis simple project provides a `Detector` class extending the opencv `CascadeDetector`class with a new function: `detectAndFilter`.  \nThis function performs the detection using the cascade and filter the detections based on the score and their overlap to yield the best detections that do not overlap above the selected `overlap-threshold`.\n\nFor more details about Non-Maxima Suppression, you can refer to my [article](https://doi.org/10.1186/s12859-020-3363-7) about Multi-Template Matching, which uses a similar strategy (or other online resources).  \nI also described/experimented with cascade deectors as part of my [PhD thesis](https://doi.org/10.11588/heidok.00030804).  \nHere the NMS shipped with OpenCV is used.\n\n# Installation\nUsing pip:  \n`pip install haar-cascade-nms`\n\nThen to use in your scripts:  \n```python\nfrom haarcascade import Detector\nmyDetector = Detector(filepathToCascade)\nmyDetector.detectAndFilter(image, etc...)\n```\n\nSee the tutorial notebook for a more detailed documentation.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaulauthom%2Fhaar-cascade-nms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaulauthom%2Fhaar-cascade-nms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaulauthom%2Fhaar-cascade-nms/lists"}