EasyOCR icon indicating copy to clipboard operation
EasyOCR copied to clipboard

What annotation tool to use for training craft model on custom dataset?

Open binodil opened this issue 3 years ago • 2 comments

Hi everyone, I need to train craft model on custom images. I mainly use roboflow web tool for annotation images in popular formats. However, in the readme file, the format is quite different and i wonder what tool to use to suit my annotations for craft model. Best wishes,

image.png

What roboflow annotation format supports: image.png

binodil avatar Jan 06 '23 23:01 binodil

You can try semi automatic labelling https://github.com/Alimustoofaa/EasyOCRLabel to labelling and generate detection and recognition dataset format python3 gen_ocr_train_val_test.py and then you rename train and test in det directory to

  • label train : ch4_training_localization_transcription_gt
  • label test : ch4_test_localization_transcription_gt
  • image train : ch4_training_images
  • image test : ch4_test_images

Alimustoofaa avatar Jan 24 '23 17:01 Alimustoofaa

Hi @Alimustoofaa & @AbdirayimovS ,

What should be the label file for images having no text in it?

For training the CRAFT model, I also have negative images (meaning images having no text to detect at all). For these images, should the label files (gt_img_1.txt, gt_img_2.txt ...) be all completely blank?

gupta9ankit5 avatar Mar 31 '25 17:03 gupta9ankit5