iDigBio Hackathon: Regular Expression-Based Parsing of Tesseract Output from Lichen Herbarium Labels

TitleiDigBio Hackathon: Regular Expression-Based Parsing of Tesseract Output from Lichen Herbarium Labels
Publication TypePresentation
Year of Publication2013
AuthorsAnglin, Robert
KeywordsAugmenting OCR, Parsing, regular expression, Tesseract
Abstract The Lichens, Bryophytes and Climate Change (LBCC) project endeavors to digitize the label information from millions of North American lichen and bryophyte herbarium specimens. These labels are occasionally hand written although usually at least partially typed or printed. When typed or printed a myriad of fonts have been used. Thus far, we have been constrained to use open-source Optical Character Recognition (OCR) software. By most accounts the best of these is Tesseract. While it does not recognize handwriting it is considered to be the best at recognizing typewritten text images. Our workflow involves attaching a barcode to labels, imaging them, assigning the barcode to be the image filename and submitting the images to an FTP server to be entered into Symbiota, a MySQL database designed by Ed Gilbert, with the barcode as the catalog number. Once entered into Symbiota, the images are batch processed with Tesseract and the results entered into the database as well. The next step is to parse the Tesseract output to retrieve the label information in hopes of being able to populate relevant fields in the database. I have been developing code using PHP version 5.3 and its PCRE regular-expression library for this purpose.
URLhttps://www.idigbio.org/sites/default/files/workshop-presentations/aocr-hackathon/HackathonPresentation.doc
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
17 + 3 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.