CvZoomWindow
CvNameWindow class that adds zoom and pan functions to OpenCV's namedWindow
Install
pip install cvzoomwindow
Sample
import cv2
import cvzoomwindow
# Image loading
img = cv2.imread("image.bmp")
# Instance of CvZoomWindow class
zw = cvzoomwindow.CvZoomWindow(
"Zoom Window" # Name of the window
)
# Displays an image
zw.imshow(img)
# Waits for a pressed key.
cv2.waitKey()
How to operate
| mouse operation | operation |
|---|---|
| Double click of left button | Display the entire image |
| Double click of right button | Equal-size display of images |
| Left button drag | Moving Images |
| Mouse wheel up | Zoom up |
| Mouse wheel down | Zoom down |
More information
Blog) CvZoomWindow class
https://imagingsolution.net/program/python/opencv-python/cvzoomwindow_class/
Metadata
Release files for cvzoomwindow 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cvzoomwindow-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Release files / cvzoomwindow-0.0.3-py3-none-any.whl
| Download URL | cvzoomwindow-0.0.3-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ddb538bc5ee21cafbc5f18105478ed7b9b5fe134fe477cc85a00ee3920e40200
|
|
BLAKE2b-256 checksum How to use checksums |
baf05325e5a5ebd6fb42bfdbf3469c0cac4444de72d4e0d7f59d672e244e4baf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Security for cvzoomwindow 0.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.