tesseract icon indicating copy to clipboard operation
tesseract copied to clipboard

Crashing

Open mhmdserhan opened this issue 5 years ago • 3 comments

When i run the app on my machine in debug mode it works fine, but when i tried to run it on my other laptop the app crashed every time i tried to process an image so i tried in debug mode and the error is

System.Runtime.InteropServices.SEHexception occured in InteropruntimeImplementer.TessApiSignatureInstance

any idea what that error might be i tried it on my tablet it is the same

mhmdserhan avatar Feb 03 '20 19:02 mhmdserhan

What method are you calling when it crashes?

On Tue, 4 Feb 2020, 06:44 Toxic Scams, [email protected] wrote:

When i run the app on my machine in debug mode it works fine, but when i tried to run it on my other laptop the app crashed every time i tried to process an image so i tried in debug mode and the error is

System.Runtime.InteropServices.SEHexception occured in InteropruntimeImplementer.TessApiSignatureInstance

any idea what that error might be i tried it on my tablet it is the same

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/charlesw/tesseract/issues/506?email_source=notifications&email_token=AAB7HSFPESCQS6MPNF56E6LRBBX2DA5CNFSM4KPK5XS2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IKWELSQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB7HSFRMOPH4G7VIRTY56LRBBX2DANCNFSM4KPK5XSQ .

charlesw avatar Feb 03 '20 20:02 charlesw

I'm having the same issue with page.GetText()

Fatal error. System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception. at InteropRuntimeImplementer.TessApiSignaturesInstance.TessApiSignaturesImplementation.BaseApiRecognize(System.Runtime.InteropServices.HandleRef, System.Runtime.InteropServices.HandleRef) at Tesseract.Page.Recognize() at Tesseract.Page.GetText() at Tesseract.ConsoleDemo.Program.Main(System.String[])

Whistlerone avatar Mar 24 '20 19:03 Whistlerone

I'm having the same issue with page.GetText()

Fatal error. System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception. at InteropRuntimeImplementer.TessApiSignaturesInstance.TessApiSignaturesImplementation.BaseApiRecognize(System.Runtime.InteropServices.HandleRef, System.Runtime.InteropServices.HandleRef) at Tesseract.Page.Recognize() at Tesseract.Page.GetText() at Tesseract.ConsoleDemo.Program.Main(System.String[])

Ok so it turns out that the issue was fixed. I was using the nuget package so i removed it and downloaded the source code from here then recompiled it and it worked fine it is tesseract 4.1(the version) i think hope this helps you

mhmdserhan avatar Mar 24 '20 20:03 mhmdserhan