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 |
Release files for arcfutil-cvkit 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| arcfutil-cvkit-0.0.2.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| arcfutil_cvkit-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.2 kB
Release files / arcfutil-cvkit-0.0.2.tar.gz
| Download URL | arcfutil-cvkit-0.0.2.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8e6f81065e3e417231478ebcd795e6e78f0af4b747f69ad4fb265cf545778ff3
|
|
BLAKE2b-256 checksum How to use checksums |
06220337c30ff78d7bd67dfb6ad5843dbef523682dd1f668c37bd6f91d84d512
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / arcfutil_cvkit-0.0.2-py3-none-any.whl
| Download URL | arcfutil_cvkit-0.0.2-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
06799e44c8335f15efaa3c2a98ff58eb0f30dae8e4a526a881b713a47e1a5421
|
|
BLAKE2b-256 checksum How to use checksums |
9e917a25cdb10de81ffbb91ecabe81c9e65025d14f1eeba453ff5777315368cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|