|
@@ -714,10 +714,10 @@ namespace PDF_Master
|
|
|
|
|
|
try
|
|
|
{
|
|
|
- //加载OCR库
|
|
|
- if (!DocumentAIKitLicenseVerify())
|
|
|
- {
|
|
|
- }
|
|
|
+ ////加载OCR库
|
|
|
+ //if (!DocumentAIKitLicenseVerify())
|
|
|
+ //{
|
|
|
+ //}
|
|
|
/*LicenseError licenseerror = CPDFConverter.SDKLicenseVerify(ConverterDevKey, ConverterDevSecret, ConverterUserkey, ConverterUserSecret);
|
|
|
string resPath = Path.GetDirectoryName(typeof(MainWindow).Assembly.Location) + "\\";
|
|
|
if (licenseerror != LicenseError.ERR_SUCCESS)
|
|
@@ -734,7 +734,7 @@ namespace PDF_Master
|
|
|
return false;
|
|
|
}
|
|
|
CPDFConverter.Init(resPath);
|
|
|
- CPDFConverter.SetOCRModelFolder(modelFolderPath);
|
|
|
+ //CPDFConverter.SetOCRModelFolder(modelFolderPath);
|
|
|
}
|
|
|
catch { }
|
|
|
return result;
|