Sunday, March 31, 2013

Training files released for "Tesseract Based BanglaOCR"

I am happy to write about the release of training images and transcript that I have used for training tesseract engine to develop BanglaOCR. I do apologize for the long unexpected delay for making these public. From 2009 I had always the desire to extend my work on BanglaOCR. However, it did not happen and seems very less likely to happen in near future. Therefore, I have decided to come up with the release of the training data and sharing the experiments behind preparing these data.

Finally, the training data is available on the following link on BanglaOCR on google code page. I recommend to read and follow the readme.txt file, which contains proper explanation of the data.

Following my previous post, I am writing this in order to motivate interested individuals who has the aim to develop an OCR for Bangla/Bengali language. You may find the appearance of the training image files as very simple and may immediately think that these are so simple that I can immediately include many more training files and enhance the performance of OCR. I encourage you to do so. However, I would like to share that I did long time experiments with many complex combinations of training data and finally observed that "simpler is better". Perhaps you will have similar experience.

One important issue at present is the usability of these files for Tesseract version 3 or later. I did not try these for training Tesseract 3. Therefore, I encourage you to do so. I have provided the box files also which is the most time consuming part for training data generation. However, as I wrote, these are for Tesseract 2. Therefore, you need to modify these for training Bangla language for Tesseract 3.


When you have the training data associated with Tesseract 3, you will be able to plug it in BanglaOCR to see the complete OCR output on your test images.

Acknowledgement:

If you use BanglaOCR and its associated files for academic research, please cite the following papers:

a. Md. Abul Hasnat, Muttakinur Rahman Chowdhury and Mumit Khan, "An open source Tesseract based Optical Character Recognizer for Bangla script", In Tenth International Conference on Document Analysis and Recognition (ICDAR'2009), Catalonia, Spain, July 26-29, 2009.

b. Md. Abul Hasnat, Muttakinur Rahman Chowdhury and Mumit Khan, "Integrating Bangla script recognition support in Tesseract OCR", Proceedings of the Conference on Language and Technology 2009 (CLT09), Lahore, Pakistan, January 22-24, 2009.

3 comments:

Eaiman Shoshi said...

what will be the font_properties.
i mean the 'font name' 'italic' 'bold' 'fixed' 'serif' 'franktur'

Md. Abul Hasnat said...

Information related to the font (which was used to prepare the training images) is given below:

Name: SutonnyMJ
Size: 24
Style: None, means no Italic and Bold.

National Digital Trust said...

Dear Contributors of BANGLA OCR & National Digital Library
Please kindly visit this link http://fb.me/1o0ULCeLs and motivate yourself to join this professional group of National Task Force on Bangla OCR and Digital Library System Development (NTFBODLSD)


BanglaOCR Group
LINKEDIN http://t.co/Yromf5wOXD
JOIN NATIONAL DIGITAL TRUST FOR BANGLA OCR AND NATIONAL DIGITAL LIBRARY http://www.linkedin.com/groups?gid=4964960&goback=%2Eanp_4964960_1366343755788_1


Bangla OCR & National Digital Library Group
FACEBOOK https://www.facebook.com/groups/NationalDigitalTrust/
FACEBOOK GROUP You can also post to the group by sending an email to this address NationalDigitalTrust@groups.facebook.com

http://www.academia.edu/3221022/Operational_Objectives_and_Legal_Components_of_NATIONAL_DIGITAL_TRUST