DeepTextSpotter
DeepTextSpotter copied to clipboard
How to convert the data set format.
Thanks for sharing the codes!I have a problems : I use the ICDAR-2013 data set. Now my data look like this:
120,49,546,49,546,157,120,157,PROPER 121,163,549,163,549,327,121,327,FOOD 122,329,546,329,546,434,122,434,PRONTO How to convert the data set to the appropriate format,like this: 0 0.5203125 0.21458333333333332 0.5325 0.135 0 PROPER 0 0.5234375 0.5104166666666666 0.535 0.205 0 FOOD 0 0.521875 0.7947916666666667 0.53 0.13125 0 PRONTO Could you give me some advice,thanks.
#53 - https://github.com/MichalBusta/dataset_conversions
Hi @MichalBusta Thank you for your reply.
Which program should I use?
thanks.
I use the convert_gt2.py to convert the data set,but failed.
@DachengLiu1994 I recommend you to use cv2.minAreaRect()
@mohammadSadeq After i trying, i think cv2.minAreaRect() is not right. The result angle is from -90 to 90, and we need -pi/2 to pi/2, and we need x y w h is by images real x an y. So https://github.com/MichalBusta/dataset_conversions in dup_boxes_icdar17.py is the right one.