OMR scripting
From OpenKM Documentation
The script process an image with OMR engine from Automation scripting feature, each time new document is uploaded. With minimal changes can be used in conjuntion with crontab.
import com.openkm.omr.OMRHelper;
OMRHelper.processAndStoreMetadata(4, uuid);
Example
Create a automation task based on event document creation and post execution.
With one validation based on folder path and one scripting action.
The script value is: