OpenCV Extra Utilities
Table of Contents
About
This package is built as a opencv utilities. Additional algorithms to write text on the image without thinking about the image size. My algorithm will do it own its own.
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Installing
pip install opencv-extra
Usage
image = cv.imread("car.jpg", cv.IMREAD_COLOR)
cv.namedWindow("Image", cv.WINDOW_NORMAL)
image = put_text(image, "car", (0, 255, 0), (0, 0), True)
cv.imshow("Image", image)
cv.waitKey(0)
v1.0.1 - Added draw_label in this version
v1.0.2 - Added CaptureRead class in this version
v1.0.3 - Added pad_image (with custom padding support) and make_square_image methods for generating square images.
from opencv_extra.capture_read_utils import CaptureRead
import cv2 as cv
cap = CaptureRead(path=0, mode="bgr") # it will show the webcam feed
cap = CaptureRead(path="/path/to/folder", mode="bgr") # it will load all the images from the given folder
cap = CaptureRead(path="/path/to/video_file", mode="bgr") # it will load the video file
cv.namedWindow("image", cv.WINDOW_NORMAL)
for image in cap.next():
cv.imshow("image", image)
cv.waitKey(1)
Additional algorithms will be updated regularly, keep in touch with this python package.
Metadata
Release files for opencv-extra 1.0.3
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 |
|---|---|---|---|---|
| opencv_extra-1.0.3.tar.gz | 560.0 kB | Without provenance | Details for opencv_extra-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| opencv_extra-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for opencv_extra-1.0.3-py3-none-any.whl |
Total release size: 564.4 kB
Release files / opencv_extra-1.0.3.tar.gz
| Download URL | opencv_extra-1.0.3.tar.gz |
|---|---|
| Size | 560.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
409efc8c682d046223ab10849f16d8c16f918fd1559abe86b37e4807de31128d
|
|
BLAKE2b-256 checksum How to use checksums |
a6392cdb672e58cf27a47c18fe8a8b52333277b89a7bf93971519c9962a38a70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.18
|
Release files / opencv_extra-1.0.3-py3-none-any.whl
| Download URL | opencv_extra-1.0.3-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a63487281dda20c5f5098fd0efcabe17a0e9c6d51781db8af3d769cb7b4f0fae
|
|
BLAKE2b-256 checksum How to use checksums |
fffa8ee5e45987dce5f565f6c75caf032513df0c4cf6546719b4f1772212ea0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.18
|
Security for opencv-extra 1.0.3
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.