Skip to main content

Python OpenCV Utilities

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

python_opencv_utils-0.0.4-py3-none-any.whl (10.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page