OpenCV related plugin for arcfutil
Project description
arcfutil-cvkit
使用OpenCV的arcfutil AFF工具包
安装
pip install arcfutil-cvkit
由于使用了native namespace package结构,在手动安装时请使用pip:
pip install -e .
功能
- 图片转黑线(暂时只有这一个
用法
图片转黑线函数image_to_arc()
from arcfutil.cv import image_to_arc as i2a
arcs = i2a(image_path, time)
参数
参数名 | 类型 | 说明 | 默认值 |
---|---|---|---|
path | str | 图片路径 | |
time | int | 生成黑线的时间点 | |
size | list | 接收一个带有4个浮点数的列表,控制图片映射的坐标范围(以原点为基准[上,右,下,左] ) |
[1,1.5,-0.2,-0.5] |
max_gap | float | Hough变换中线之间的最大间隔,过大会导致线之间相连,过小会导致线之间缝隙增大 | 10 |
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
arcfutil-cvkit-0.0.2.tar.gz
(2.8 kB
view details)
Built Distribution
File details
Details for the file arcfutil-cvkit-0.0.2.tar.gz
.
File metadata
- Download URL: arcfutil-cvkit-0.0.2.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e6f81065e3e417231478ebcd795e6e78f0af4b747f69ad4fb265cf545778ff3 |
|
MD5 | 34112d9e3d7a6f45fd4755b5c3aa7af2 |
|
BLAKE2b-256 | 06220337c30ff78d7bd67dfb6ad5843dbef523682dd1f668c37bd6f91d84d512 |
File details
Details for the file arcfutil_cvkit-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: arcfutil_cvkit-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06799e44c8335f15efaa3c2a98ff58eb0f30dae8e4a526a881b713a47e1a5421 |
|
MD5 | 86850a06cc8f7a8c23adcbe3a0fb3a46 |
|
BLAKE2b-256 | 9e917a25cdb10de81ffbb91ecabe81c9e65025d14f1eeba453ff5777315368cb |