【文件属性】:
文件名称:column-detect:(书籍)页面中列检测的简单方法
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-08 16:51:25
Python
列检测
(书籍)页面中列检测的简单方法
设置
克隆存储库。
安装python3 。
安装依赖项。 (建议使用virtualenv 。)
$ virtualenv -p python3 env
$ . env/bin/activate
(env) $ pip install -r requirements.txt
调用方式
跑步
(env) $ python column_detect.py --help
概述了必需和可选参数。
跑步
(env) $ python column_detect.py -o test.json -O json test/test.bin.png
应该创建一个文件test.json ,其中包含代表检测到的列区域的corcordinates列表。
{
" test.bin.png " : [
{
" l "
【文件预览】:
column-detect-master
----column_detect.py(4KB)
----LICENSE(11KB)
----requirements.txt(25B)
----.gitignore(1KB)
----README.md(992B)