【发布时间】:2019-01-16 07:43:17
【问题描述】:
我正在关注:EAST 文本检测器 (https://github.com/argman/EAST#installation) 教程的 tensorflow 实现。
当我执行上面链接的 GitHub 代码时,在图像上我得到以下输出:
检测码为eval.py
在输出中,我想为生成的边界框添加填充,以便正确捕获第一个“K”和最后一个“0”。
我在代码的第 69 行更改了框阈值。我尝试了从 0.1、0.05 等不同的值,但框的大小没有改变。
def detect(score_map, geo_map, timer, score_map_thresh=0.8, box_thresh=0.1, nms_thres=0.2):
如何为边界框添加内边距?
【问题讨论】:
标签: python-3.x machine-learning deep-learning computer-vision ocr