OpenCV Haar cascade with Non-Maxima Suppression
This simple project provides a Detector class extending the opencv CascadeDetectorclass with a new function: detectAndFilter.
This 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.
For more details about Non-Maxima Suppression, you can refer to my article about Multi-Template Matching, which uses a similar strategy (or other online resources).
Here the NMS shipped with OpenCV is used.
Installation
Using pip:
pip install haar-cascade-nms
Then to use in your scripts:
from haarcascade import Detector
myDetector = Detector(filepathToCascade)
myDetector.detectAndFilter(image, etc...)
See the tutorial notebook for a more detailed documentation.
Metadata
Release files for haar-cascade-nms 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| haar-cascade-nms-1.1.1.tar.gz | 4.1 kB | Without provenance | Details for haar-cascade-nms-1.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| haar_cascade_nms-1.1.1-py3-none-any.whl | Python 3 | none | any | Details for haar_cascade_nms-1.1.1-py3-none-any.whl |
Total release size: 8.5 kB
Release files / haar-cascade-nms-1.1.1.tar.gz
| Download URL | haar-cascade-nms-1.1.1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
45048e474875df1548fc33e123c4a9a335c70a3a0aed6897f65f766bd0993081
|
|
BLAKE2b-256 checksum How to use checksums |
feef68bfda45b2b815bf0d1944b14b9cfd43aaddc3250c52dad560520e853927
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.5.0.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
|
Release files / haar_cascade_nms-1.1.1-py3-none-any.whl
| Download URL | haar_cascade_nms-1.1.1-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bc50958b77b3641a7d499b09de54180d99631876b8a8a2c8bbcbb1a95f43211e
|
|
BLAKE2b-256 checksum How to use checksums |
ce35e08b65b9fb1e1ae565e3ef1b9660e2717ed869607ee156965f3ddbc37066
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.5.0.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
|
Security for haar-cascade-nms 1.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.