Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
While Aspose.OCR for .NET can automatically fetch the necessary resources as needed, there are certain scenarios where manual downloading of these resources and providing them with your application could be beneficial:
To make the application work in the offline mode:
Aspose.OCR.Resources.SetLocalPath()
method. For example: Aspose.OCR.Resources.SetLocalPath("aspose/ocr", false);
.Aspose.OCR.Resources.AllowAutomaticDownloads(false)
.You also have a flexibility to combine online and offline modes. For example, provide the most used resources with your app and download rarely used resources in the runtime.
Resources.SetLocalPath("aspose/ocr");
Resources.AllowAutomaticDownloads(false);
// Set recognition language
Aspose.OCR.RecognitionSettings recognitionSettings = new Aspose.OCR.RecognitionSettings();
recognitionSettings.Language = Aspose.OCR.Language.Ukr;
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.