AdvancedEAST
AdvancedEAST copied to clipboard
I seems to find a bug in your codes
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
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.