AstarLight / Lets_OCR

A repository for OCR, which inlcudes some classical OCR algorithms Pytorch implementation such as CTPN, EAST and CRNN.
MIT License
656 stars 327 forks source link

tag_anchor 中的疑问 #17

Closed leonzhu211 closed 5 years ago

leonzhu211 commented 5 years ago

gt_anchor 来自 generate_gt_anchor result.append((position, cy, h))

那么 if a[0] >= int(width - 1):

似乎应该改成 if a[0]*16 >= int(width - 1):

leonzhu211 commented 5 years ago

不对。因为 width 也是没有 * 16 的。原代码是对的。