Patagames Software Support Forum
»
Tesseract.Net SDK
»
Bug Report & Technical Support
»
SharePoint Integration of "Patagames.Ocr" to get searchable PDF from added/uploaded document .
Rank: Member
Groups: Registered
Joined: 1/12/2016(UTC) Posts: 16  Location: Gurgaon Thanks: 1 times
|
Hi , I have a project requirement where i need to build a share point event receiver where in a document library when user add a document we need to get the OCRed searchable pdf . Although , I have running code at my local development environment but when i am trying to deploy (sandbox) to the share point farm i am getting error: "This assembly does not have a strong name for GAC" . Please let me know if you people can help me on this.
|
|
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,138
Thanks: 10 times Was thanked: 133 time(s) in 130 post(s)
|
|
 1 user thanked Paul Rayman for this useful post.
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/12/2016(UTC) Posts: 16  Location: Gurgaon Thanks: 1 times
|
Hi Paul, Thank you for your quick !! Yes , this is working now but i am facing below error now for "tesseract.dll"; Error occurred in deployment step 'Add Solution': Could not load file or assembly 'C:\Users\test.user\AppData\Local\Temp\solution-0ba222e2-6009-4ec7-9862-c8be9718eeb5\cab\tesseract.dll' or one of its dependencies. The module was expected to contain an assembly manifest Please help !!
|
|
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,138
Thanks: 10 times Was thanked: 133 time(s) in 130 post(s)
|
hmm. The tesseract.dll is placed in the specified path?
|
|
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/12/2016(UTC) Posts: 16  Location: Gurgaon Thanks: 1 times
|
Well , i am using SharePoint sandbox deployment using Visual Studio 2015 , so i added both these assemblies "Patagames.ocr" and the "tesseract.dll" using sharepoint, package ->add existing libraries and select the path where these library is.
|
|
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,138
Thanks: 10 times Was thanked: 133 time(s) in 130 post(s)
|
please note that tesseract.dll it is not a .net assembly. it is a native windows dll. So that it should be deployed in another way I guess.
|
|
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/12/2016(UTC) Posts: 16  Location: Gurgaon Thanks: 1 times
|
Ok, if you know how to deploy this , please let me know . I am new in these technologies ,I am a java and big data developer , I have critical client requirement for share point integration OCR , so I choose patagames library for searchable PDF.
|
|
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,138
Thanks: 10 times Was thanked: 133 time(s) in 130 post(s)
|
|
|
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/12/2016(UTC) Posts: 16  Location: Gurgaon Thanks: 1 times
|
Thanks Paul, But i need to package my project and deploy it to client sharepoint site , do you any other alternative so that i can all the dependent dlls and the data folder (tessdata) to deploy on share point 2010.
|
|
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/12/2016(UTC) Posts: 16  Location: Gurgaon Thanks: 1 times
|
Hi Paul, Thanks for your prompt answer , well do this as suggested! can you help me one issue with respect to Patagames , can we take pdf as a input and convert it to searchable pdf ? From the api i got only image(tif/png etc) to searchable pdf. Please help.
|
|
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,138
Thanks: 10 times Was thanked: 133 time(s) in 130 post(s)
|
You can use the Pdfium.Net SDK to convert the PDF document to an images and then use these images with Tesseract Edited by user Thursday, January 14, 2016 2:54:25 AM(UTC)
| Reason: Not specified
|
|
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/12/2016(UTC) Posts: 16  Location: Gurgaon Thanks: 1 times
|
Thanks paul, I am facing issue while create a OCRApi object , My application is deployed on share point 2010server and as you suggested i am following http://forum.patagames.c...-load-DLL--tesseract-dll you give the path of tesseract.dll and i have also first check the required x64 or x86 path that to use but i am still facing issue . Please help me as earlier as possible.
|
|
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/12/2016(UTC) Posts: 16  Location: Gurgaon Thanks: 1 times
|
Hi Paul,
Please help on this !!!
|
|
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/12/2016(UTC) Posts: 16  Location: Gurgaon Thanks: 1 times
|
Hi Paul, I am sorry but if you guyz not interested to help me , i can't buy you product , thank you !!
|
|
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,138
Thanks: 10 times Was thanked: 133 time(s) in 130 post(s)
|
what kind of issue you are talking about? You didn't write anything about it.
|
|
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/12/2016(UTC) Posts: 16  Location: Gurgaon Thanks: 1 times
|
Hi Paul, I have deployed my application to share point and as you suggested i am passing the tesseract.dll path manually OcrApi.PathToEngine = <mypath>+ Path.DirectorySeparatorChar + "x86" + Path.DirectorySeparatorChar + "tesseract.dll"; (i have check my Os and application is of 32 bit) But when i am creating the object OcrApi ocrApi = OcrApi.Create() - 15 out of one time its created and in rest time it stuck and don't throw any exception as well.
please help as earlier as possible , please give any suggestion
|
|
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,138
Thanks: 10 times Was thanked: 133 time(s) in 130 post(s)
|
This is normal behavior. The Create() method shows a nag-screen sometimes. You saw it in your developer environment when develop the app I guess. The nag-screen is shown in trial mode only.  tesstrial.png (28kb) downloaded 575 time(s).
|
|
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/12/2016(UTC) Posts: 16  Location: Gurgaon Thanks: 1 times
|
Thanks , but when i deploy it on my share point server id didn't get any such type of image , although when i run my application in console application and debug mode then only i got this.
|
|
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/12/2016(UTC) Posts: 16  Location: Gurgaon Thanks: 1 times
|
Ok , so you said it comes sometime but it appear at my development env. only .Paul is there is any way so that we can stop it for short while to test my app.
|
|
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,138
Thanks: 10 times Was thanked: 133 time(s) in 130 post(s)
|
|
|
|
|
|
|
Patagames Software Support Forum
»
Tesseract.Net SDK
»
Bug Report & Technical Support
»
SharePoint Integration of "Patagames.Ocr" to get searchable PDF from added/uploaded document .
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The Patagames Software Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close