Skip to main content

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.3.20041619

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for image-app 0.0.3.20041619
File Size Uploaded
image_app-0.0.3.20041619.tar.gz 153.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for image-app 0.0.3.20041619
File Interpreter ABI Platform
image_app-0.0.3.20041619-py3-none-any.whl Python 3 none any Details

Total release size: 306.5 kB

Release files / image_app-0.0.3.20041619.tar.gz

Download URL image_app-0.0.3.20041619.tar.gz
Size 153.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6c7bfb8f0da1aadd52e647b12ae57ea679135c64ef0ac4a8051500a68aa25264
BLAKE2b-256 checksum
How to use checksums
69e8a36a716c0515719b2d9e908d014454703aece9986c729bee652c7c98437a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4

Release files / image_app-0.0.3.20041619-py3-none-any.whl

Download URL image_app-0.0.3.20041619-py3-none-any.whl
Size 152.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9670ca346ab121b298bc7bea14a1d2f296d96754a28ead2c03c242a66660b4ef
BLAKE2b-256 checksum
How to use checksums
81df564f8d5eb49e22aa8daa8e7e385f822e75facb81bcc40a9c9fc73e54d0cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page