clovaai / deep-text-recognition-benchmark

Text recognition (optical character recognition) with deep learning methods, ICCV 2019
Apache License 2.0
3.72k stars 1.09k forks source link

Multilabel labels in one image #61

Open anmol4210 opened 5 years ago

anmol4210 commented 5 years ago

Hi, I have a data set with multiple labels on one image. How will I prepare my data set for this. I have seen the file create_lmdb_dataset its takes ame of the name and the label in it as an input but now instead of a single label, i want to give a list of labels in an image. How ca I solve this problem?

Any help would be greatly appreciated..

ku21fan commented 5 years ago

Hello,

  1. If your multiple labels data is split by 'space', then add the space between the labels.
  2. If your multiple labels data is multiline data, split multiline data into multiple single-line data. (ex. by using the scene text detection model) Currently, this repository doesn't address multiline data, so the performance would not be good. Thus, we recommend split the multiline data into single-line data.

Best.

sbind29893 commented 4 years ago

set with multiple l

DId you solved this problem statement of having multiple labels on single image file ?

information-security commented 4 years ago

@ku21fan Hi

What if the space between words is multi-spaces? Consider following scenario: Image would look like something like: 123 456 789 Should I label the image like this: [imgpath] 123 456 789 or [imgpath] 123 456 789 or should I do something completely different?