-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to convert the data set format. #60
Comments
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. |
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.
The text was updated successfully, but these errors were encountered: