文件名称:smartcrop.py:Python中的smartcrop实现
文件大小:2.21MB
文件格式:ZIP
更新时间:2024-05-26 04:31:21
python image-processing crop-image Python
smartcrop.py Python中的smartcrop实现。 基于Jonas Wagner的 ,smartcrop可以为任意图像和作物尺寸找到合适的作物。 要求 麻木 PIL或枕头 安装 pip3 install smartcrop 或直接从GitHub: pip install -e git+git://github.com/hhatto/smartcrop.py.git@master#egg=smartcrop 用法 使用基本的命令行工具: $ smartcroppy --help usage: smartcroppy [-h] [--debug] [--width WIDTH] [--height HEIGHT] INPUT_FILE OUTPUT_FILE positional arguments: INPUT_FILE
【文件预览】:
smartcrop.py-master
----README.rst(2KB)
----smartcrop.py(14KB)
----AUTHORS(139B)
----examples()
--------use_module.py(183B)
--------test_bed.py(2KB)
----.travis.yml(283B)
----LICENSE(1KB)
----setup.py(1KB)
----tests()
--------test_smartcrop.py(932B)
--------images()
----.gitignore(197B)
----smartcrop_v0_2_1.py(12KB)
----CHANGELOG.md(1KB)