OCR templates

From OpenKM Documentation
Revision as of 19:06, 7 September 2013 by Jllort (talk | contribs)

Jump to: navigation, search

Nota clasica.png From OpenKM 6.4+ the Plug-in system of OpenKM allows you to quickly expand the functionality offered by the platform, extending the available OCR field parsers without having to rebuild the system to add/change the existing functionality.

Refer to Extend_OCR_field_parsers if you need to extend them.

OCR Templates allows to create zonal OCR templates which allows to recognise and extract estructured text from scanned images.


Nota clasica.png Images should be scanned at least at 200 dpi of resolution to get good text recognition from OCR engine.

Template creation

Open OCR template administration option.

Okm user guide 378.png

Then click on the Add.png new ocr template icon

Okm user guide 379.png

Fill the form and click create button.

Okm user guide 380.png

Add field zones

Then click on the Params.png fields icon

Okm user guide 381.png


Okm user guide 382.png

Fill the form and select the zone and click create button.

Okm user guide 383.png

Test OCR template

Click on the Check.png check icon and will be shown all the data fields extracted by zone.


Okm user guide 384.png

Recognise testing

From main OCR template list, click Recognize.png recognise icon.

Fill the form selecting some scanned image to test recognision.

Okm user guide 385.png

Click recognise button.

Okm user guide 386.png

Enable Zonal OCR data capture

OCR data capture can be enabled from profiles and automation.

Profiles

To enable zonal OCR data capture from profiles should be enabled the check OCR data capture.

Okm user guide 387.png

Automation

Automation is divided in two operations, validations and actions.

There's a validation called IsOCRDataCaptureFile which validates if OCR data capture engine supports the image format.

Okm user guide 388.png

There're two actions OCRDataCapture and AddOCRDataCaptureToWizard. OCRDataCapture capture data and store to metadata. AddOCRDataCaptureToWizard enables end user wizard to see live ocr data capture process.

Okm user guide 389.png

For more information take a look at Automation.