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.2.2002617
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.2.2002617.tar.gz | 151.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| image_app-0.0.2.2002617-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 303.2 kB
Release files / image_app-0.0.2.2002617.tar.gz
| Download URL | image_app-0.0.2.2002617.tar.gz |
|---|---|
| Size | 151.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aea82a07bbf6c62bf8a34a774127f89851c017f246d42f2687530980721b4dec
|
|
BLAKE2b-256 checksum How to use checksums |
006629a31f674aa873df4ac08d888c6d8b920b63373280b5947c75c63a6cdd0b
|
| 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.2.2002617-py3-none-any.whl
| Download URL | image_app-0.0.2.2002617-py3-none-any.whl |
|---|---|
| Size | 151.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
97c68334dc820a341c555114e09efb65a2f5254ce42093be9ef175391da859a0
|
|
BLAKE2b-256 checksum How to use checksums |
22fb83b5a7b7d09fc978eba262b5fdd789e431f2df46129c2b6b88aa934c0728
|
| 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
|