|
@@ -373,8 +373,8 @@ namespace PDF_Master.ViewModels.Dialog.ConverterDialogs
|
|
|
if (folderMD5)
|
|
|
{
|
|
|
string folderPath = System.IO.Path.Combine(App.CurrentPath, "OCREngine");
|
|
|
- CPDFConverter.InitOcrLibrary(Path.Combine("C:\\Users\\kdanmobile\\Documents\\PDF Master\\OCREngine", "x64"));
|
|
|
- CPDFConverter.SetOCRModelPath(Path.Combine("C:\\Users\\kdanmobile\\Documents\\PDF Master\\OCREngine", "source", "models"));
|
|
|
+ CPDFConverter.InitOcrLibrary(Path.Combine(folderPath, "x64"));
|
|
|
+ CPDFConverter.SetOCRModelPath(Path.Combine(folderPath, "source", "models"));
|
|
|
}
|
|
|
else
|
|
|
{
|
|
@@ -390,8 +390,8 @@ 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("C:\\Users\\kdanmobile\\Documents\\PDF Master\\OCREngine", "x64"));
|
|
|
- CPDFConverter.SetOCRModelPath(Path.Combine("C:\\Users\\kdanmobile\\Documents\\PDF Master\\OCREngine", "source", "models"));
|
|
|
+ CPDFConverter.InitOcrLibrary(Path.Combine(folderPath, "x64"));
|
|
|
+ CPDFConverter.SetOCRModelPath(Path.Combine(folderPath, "source", "models"));
|
|
|
}
|
|
|
else
|
|
|
{
|