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
KIE annotation tool #434
Comments
@VtlNmnk I used free version of Label Studio for annotation. The dump from label studio is very easy to convert to SDMG-R format. Use the Json-min export from LabelStudio |
hi amit , |
@pushpalatha1405 we discussed this over email. If you feel comfortable, you can close the issue |
@amitbcp, if you wrote to everyone here what to do with the exported data from the annotation tool, then similar questions will not appear in the future. |
pk amith iam closing the issue |
@VtlNmnk once the data is dumped in json-min format from the label studio, a simple script to convert the data to SDMGR format works. Label Studio Dump has all the necessary information we require to convert to SDMGR format. The most important thing would be to configure the labelling format for label studio. The sample one which works well for conversion to SDMGR is :
Here we can annotate the OCR and specify the labels. To add more classes, just repeat the |
@amitbcp pls can u share a one labelled object format(any one annotated filed json object tag) of label-studio and its equivalent conversion to sdmgr format would be really helpful. |
yes, I figured out how to do this part. I use these settings to supplement the "wild receipts" dataset.
But it is not yet clear to me which script to use for conversion from Json-min to SDMG-R format. |
@VtlNmnk no, the script is a custom one not provided here. Let me share that tommorrow here |
@VtlNmnk Since Label studio stores coordinates in a different scale tan SDMGR we need those conversions too . Here is the code I used :
|
Thanks amith for the script. |
@pushpalatha1405 @VtlNmnk did it work for you ? In that case we can close it ? |
Thanks very much amith for intial script u sent for creatin annotation format acceptable by mmocr model.Through which iam able create my custom dataset and custom model and use mmocr in fledge for our project. |
U can close the issue. |
Hi @amitbcp @VtlNmnk @pushpalatha1405, thanks for the great discussion! Would you summarize this discussion into a tutorial? We are planning a tutorial section in our documentation just similar to what MMDetection did to improve developer experience. If you would make a PR, your contribution can be acknowledged and help more people. :) |
Sure Thong i would make time and contribute to PR |
@pushpalatha1405 Thanks! Just create a file named |
yes, Label Studio and script are working. We can close the issue. |
Hi Thong, regards, |
why was this not included in a Pull Request ? |
Hey! I really appreciate your excellent work!
I want to add some of my own examples of annotated receipts to the wildreceipt dataset to train the model with my dataset. Is there any annotation tool available? Or is there a converter from other formats?
The text was updated successfully, but these errors were encountered: