|
@@ -373,7 +373,7 @@ namespace PDF_Master.ViewModels.Dialog.ConverterDialogs
|
|
|
if (folderMD5)
|
|
|
{
|
|
|
string folderPath = System.IO.Path.Combine(App.CurrentPath, "OCREngine");
|
|
|
- CPDFConverter.InitOcrLibrary(Path.Combine(folderPath, "x64"));
|
|
|
+ CPDFConverter.InitOCRLibrary(Path.Combine(folderPath, "x64"));
|
|
|
CPDFConverter.SetOCRModelPath(Path.Combine(folderPath, "source", "models"));
|
|
|
}
|
|
|
else
|
|
@@ -390,7 +390,7 @@ namespace PDF_Master.ViewModels.Dialog.ConverterDialogs
|
|
|
if (e.Result == Prism.Services.Dialogs.ButtonResult.OK)
|
|
|
{
|
|
|
string folderPath = System.IO.Path.Combine(App.CurrentPath, "OCREngine");
|
|
|
- CPDFConverter.InitOcrLibrary(Path.Combine(folderPath, "x64"));
|
|
|
+ CPDFConverter.InitOCRLibrary(Path.Combine(folderPath, "x64"));
|
|
|
CPDFConverter.SetOCRModelPath(Path.Combine(folderPath, "source", "models"));
|
|
|
}
|
|
|
else
|