Skip to main content

Python OpenCV Utilities

Python OpenCV Utilities is a module that provides useful extensions.

It contains useful and convenient features.

Dependencies

Python OpenCV Utilities requires:

  • opencv-python
  • pillow
  • urllib3
  • scikit-learn

install

To use the Python OpenCV Utilities algorithm, proceed as follows:

pip install python-opencv-utils

You use rotateEx function as follows:

import cv2u as cv2

src = cv2.imread("image.jpg")
dst = cv2.rotateEx(src, 45)

cv2.imshow("src", src)
cv2.imshow("dst", dst)
cv2.waitKey()
src dst

You use DBSCAN function as follows:

import cv2u as cv2

src = cv2.imread("image.jpg")
maps, labels = cv2.DBSCAN(src, 1.7, 2)
dst = cv2.drawDBSCAN(src, maps, labels)

cv2.imshow("src", src)
cv2.imshow("dst", dst)
cv2.waitKey()
src dst

You use extensions flag as follows:

import cv2u as cv2

src = cv2.imread("image.jpg")
dst = cv2.flip(src, cv2.FLIP_MODE_X)

cv2.imshow("src", src)
cv2.imshow("dst", dst)
cv2.waitKey()

features

  • core
    • DBSCAN
    • drawDBSCAN
    • gammaCorrection
    • centerPoint
    • cartesianToPolar
    • polarToCartesian
    • isInside
    • DHEdge
    • rotateEx
  • imgcodecs
    • urlread
    • makeGradient
    • imcolor
    • imcolor_like
  • imgproc
    • putTextEx
  • flag
    • FLIP_MODE_X
    • FLIP_MODE_Y
    • FLIP_MODE_XY

Authors

Daehee Yun(s076923@gmail.com)

License

Apache License 2.0

Release files for python-opencv-utils 0.0.4

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

Built distribution (wheel)

Table of built distributions (wheels) for python-opencv-utils 0.0.4
File Interpreter ABI Platform
python_opencv_utils-0.0.4-py3-none-any.whl Python 3 none any Details

Release files / python_opencv_utils-0.0.4-py3-none-any.whl

Download URL python_opencv_utils-0.0.4-py3-none-any.whl
Size 10.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
122879c7d66e1d09963a5c499a1ddcaa18176f6d8fbe5996ac149c74a013ecbb
BLAKE2b-256 checksum
How to use checksums
755369672a538487172e515955bce622aafc82da0a365375546c6a65fe4dd3a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

Release history Release notifications | RSS feed

This release

0.0.4 This release

1 release file

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