pyROI — A simple roi selector built by python-opencv
Project description
opencv-roi
pyROI — A simple roi selector built by python-opencv
Installation
> pip install -U git+https://github.com/lycantrope/pyROI
Usage
import pyROI
# Support rect, circle, polygon, ellipse
img_path = "luna.jpg"
img = cv2.imread(img_path)
rect_roi = pyROI.select(src = img, selector_type = "rect")
print(rect_roi)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyROI-0.2.0.tar.gz
(10.3 kB
view hashes)
Built Distribution
pyroi-0.2.0-py2.py3-none-any.whl
(13.5 kB
view hashes)
Close
Hashes for pyroi-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 914476b2cd739dd2b9d898d3325215bd8689153272fa75f9023e3979547e624d |
|
MD5 | cff96a96b2b32cd73a9a5ef72fe58667 |
|
BLAKE2b-256 | 9a27c8b7c312658b2bba2211791c6395065396f3e2efbb49647f6b7b99e66809 |