Hi, I am trying to ocr a pdf, when I turn some flags on like
settings.setDetectAreasMode(DetectAreasMode.TABLE);
or
settings.setDetectAreasMode(DetectAreasMode.PHOTO);
I get this error:
Please install the ‘aspose-ocr-advanced-recognition-v1.ocr’ first, use Resources.FetchResource(“aspose-ocr-advanced-recognition-v1.ocr”).
Where can I find this advanced ocr file ?
And when I add this call to the code, I get
Couldn’t download ‘aspose-ocr-advanced-recognition-v1.ocr’. Use Resources.FetchResource(“[model name]”) or Resources.FetchAll() To see all avalable models use Resources.ListRemote().
Of course, we are inside a firewall and can’t access external resources directly.
Thanks
Hi @brissonp
You can download all the resources you need from this GitHub repository
Set the folder for resources calling
Resources.SetLocalPath(String path) // path to the folder where you put resources
Please leave feedback on whether everything worked for you
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.