image_app
Documentation
The documentation is hosted at https://github.com/BingerYang/image_app
Installation
pip install image_app
Usage
在一张图中找到连续相似的一片片长方向区域
# -*- coding: utf-8 -*-
import os
from image_app import load_smooth_area
import cv2
path = os.path.abspath("1.jpg")
image = cv2.imread(path)
rects = load_smooth_area(image)
for rect in rects:
cv2.rectangle(image, (rect[0], rect[1]), (rect[2], rect[3]), (120, 78, 255), 2)
cv2.imwrite('test.jpg', image)
cv2.imshow("test", image)
cv2.waitKey(3000)
Release files for image-app 0.0.1.2002614
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| image_app-0.0.1.2002614.tar.gz | 151.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| image_app-0.0.1.2002614-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 303.2 kB
Release files / image_app-0.0.1.2002614.tar.gz
| Download URL | image_app-0.0.1.2002614.tar.gz |
|---|---|
| Size | 151.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8de59b0be2baf1600400a6405e789caba21d96b6bde75c382a7cd4dd3924a249
|
|
BLAKE2b-256 checksum How to use checksums |
1ae5882b30da10888dc6cd580f3f2d90896e7ac5f53891e2bfb8ab46ff8a89fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.8
|
Release files / image_app-0.0.1.2002614-py3-none-any.whl
| Download URL | image_app-0.0.1.2002614-py3-none-any.whl |
|---|---|
| Size | 151.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e8b6c75130863b1a846b5c7c21e10de967c4dfc29e76f7845789342a802d7e71
|
|
BLAKE2b-256 checksum How to use checksums |
f12cf7024ca9edc77c14c6389b8c914ec646c934d20fd5c54b19d5051f69e45a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.8
|