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.7.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.7.1
File Size Uploaded
cv2_helper-1.7.1.tar.gz 10.0 kB Details

Built distribution (wheel)

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

Total release size: 20.0 kB

Release files / cv2_helper-1.7.1.tar.gz

Download URL cv2_helper-1.7.1.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7bc185349559544586f05ddc8f5f2b293bfbca6c968ca32a61b829aeb8569a64
BLAKE2b-256 checksum
How to use checksums
27b8bf5ee0f3d7c231fb62ebaca43f6ed7f007775bfc7c214922d433979c126b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.21

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

Download URL cv2_helper-1.7.1-py3-none-any.whl
Size 10.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c4efcd9f2ff9d2349c56ff356aaf03605b4dc7f2ebd6c90576627d20417c1424
BLAKE2b-256 checksum
How to use checksums
cc1b3ea7e91894a2dc0e304b5a3d47f4edcdc508c9d65b0f37ce3c4527bdc600
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.21

Release history Release notifications | RSS feed

1.8.0

2 release files

1.7.4

2 release files

1.7.3

2 release files

1.7.2

2 release files

This release

1.7.1 This release

2 release files

1.7.0

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.6

2 release files

0.1.0

2 release files

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