AdvancedEAST icon indicating copy to clipboard operation
AdvancedEAST copied to clipboard

I seems to find a bug in your codes

Open ApexPredator1 opened this issue 7 years ago • 1 comments

it's in function "resize_image" of file "preprocess.py",wrong codes are below:

if im_width == max_img_size < im.width:
if o_height == max_img_size < im_height:

i think they should be as below:

if im_width == max_img_size:
if o_height == max_img_size:

i dont know if i'am right, please author to judge

ApexPredator1 avatar Oct 12 '18 09:10 ApexPredator1

The result is all input samples are resized to cfg_width*cfg.height... This repo gives fine performance on lone text samples, but the pre-processing and post-processing module might need further development.

cvtower avatar Jan 14 '19 06:01 cvtower