TesseractOcrEngineDetectOrientationAndScript Method (String) |
Namespace: DevScope.Ocr.Tesseract.WindowsPhone
public IAsyncOperation<TesseractOcrPageOrientationScriptInfo> DetectOrientationAndScript( string imageFilePath )
void RunOrientationAndScriptDetection() { ... // Init the OCR engine var ocrEngine = new TesseractOcrEngine(tessdataRootFolder.Path, languageCode); ... // Create the async operation from the full path of a file var osiOperation = ocrEngine.DetectOrientationAndScript(CommonSettings.FileNameFullResImageSentToOcr); // now, run the Orientation and Script detection var osiResponse = await osiOperation; ........ }