Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/076923/cv2-utils
Python OpenCV Utilities
https://github.com/076923/cv2-utils
computer-vision image-processing opencv opencv-python opencv-python-utilities opencv-python-utils python
Last synced: about 1 month ago
JSON representation
Python OpenCV Utilities
- Host: GitHub
- URL: https://github.com/076923/cv2-utils
- Owner: 076923
- License: apache-2.0
- Created: 2021-03-12T11:03:45.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-03-12T11:39:28.000Z (over 3 years ago)
- Last Synced: 2024-09-29T00:21:40.829Z (about 2 months ago)
- Topics: computer-vision, image-processing, opencv, opencv-python, opencv-python-utilities, opencv-python-utils, python
- Language: Python
- Homepage:
- Size: 97.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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:
```python3
import cv2u as cv2src = 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:
```python3
import cv2u as cv2src = 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:
```python3
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([email protected])
## License
Apache License 2.0