Skip to main content

cv2-helper

cv2-helper is a Python library designed to make using OpenCV friendlier, faster, and more intuitive. It is especially built for developers, researchers, and students who need to run behavioral tests, debug pipelines, and visualize results in computer vision projects without writing repetitive setup code.

In addition to simplifying native functions, it includes new functionalities and advanced image processing algorithms fully compatible with OpenCV data structures (numpy.ndarray).

Key Features

  • Simplified Visualization: Forget about combining cv2.imshow, cv2.waitKey, and cv2.destroyAllWindows constantly; visualize images in a single line.

  • Quick Behavioral Testing: Ideal tools for agile prototyping and visual debugging of image processing pipelines.

  • Extended Algorithms & Utilities: Additional functions compatible with OpenCV geared towards common visual analysis tasks.

  • Native Integration: 100% compatible with NumPy arrays and standard OpenCV (cv2) functions.

Installation

You can install cv2-helper directly from PyPI using pip:

pip install cv2-helper

Quick Start

Here is a basic example of how to use the imshow visualization function to easily display an image:

import cv2
from cv2_helper import imshow

# Load an image using OpenCV
image = cv2.imread("sample_image.jpg")

# Display the image easily with cv2-helper
imshow(image, title="Test Result")

Requirements

  • Python $\geq 3.8$
  • OpenCV Python (opencv-python $\geq 4.0.0$)
  • NumPy

Author

Created and maintained by Pedro Mayorga

📧 Contact email: ppmayorga80@gmail.com

License

This project is distributed under the MIT license.

Metadata

Release files for cv2-helper 1.8.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cv2-helper 1.8.1
File Size Uploaded Provenance Actions
cv2_helper-1.8.1.tar.gz 1.4 MB Without provenance Details for cv2_helper-1.8.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cv2-helper 1.8.1
File Interpreter ABI Platform Actions
cv2_helper-1.8.1-py3-none-any.whl Python 3 none any Details for cv2_helper-1.8.1-py3-none-any.whl

Total release size: 2.8 MB

Release files / cv2_helper-1.8.1.tar.gz

Download URL cv2_helper-1.8.1.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
24d58554327c521a0eb3c8480b3830db19aa5314033228e6ad95f697b7e16f37
BLAKE2b-256 checksum
How to use checksums
55ee01a2714218694941e119d90cd9c2739b8106c2c3a1121d4389e9bf84d15c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.22

Release files / cv2_helper-1.8.1-py3-none-any.whl

Download URL cv2_helper-1.8.1-py3-none-any.whl
Size 1.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
673029a0eca6634bf9e0f3b96aa094835398b8b5cb8b2bb71e28c9347d044eec
BLAKE2b-256 checksum
How to use checksums
6e4ee0873a2c54de39122fedbeb4e0b515058f9e4ef5b0c1b3c623c635f11c93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.22

Security for cv2-helper 1.8.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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page