CRAFT-Reimplementation icon indicating copy to clipboard operation
CRAFT-Reimplementation copied to clipboard

Charachter bounding boxes ?

Open raghavgurbaxani opened this issue 5 years ago • 2 comments

Hi @backtime92 @ThisIsIsaac

Thank you for your great work, I am trying to charachter level bounding boxes. Using your pretrained models, I am only able to get word level boxes, can you suggest how to get bounding box for each charachter ? thanks....

raghavgurbaxani avatar Sep 28 '20 17:09 raghavgurbaxani

have you get bounding box for each charachter? i have same question

SunJJ1996 avatar Nov 13 '20 04:11 SunJJ1996

@raghavgurbaxani , @SunJJ1996 test.py need to be changed as follows:

  1. Default score need to be set lower for --text_threshold. i.e, --text_threshold=0.1 parser.add_argument('--text_threshold', default=0.7, type=float, help='text confidence threshold')
  2. Set the lower default score for --link_threshold. i.e, --link_threshold=999999 parser.add_argument('--link_threshold', default=0.4, type=float, help='link confidence threshold')

I recommend to use images with single text for the sake of simplicity while testing. I hope this helps

yakhyo avatar Jan 25 '21 07:01 yakhyo