I'm not sure how you are building the Tesseract code for use with C#... But, a while back I traced and "fixed" one part of the code which was causing an AccessViolationException. The fix was to disable Microsoft compiler optimization during one part of the image processing. This problem was aggravated by multiple threads, but I was also able to reproduce it with a single thread sometimes.
So, if you're building Tesseract using Microsoft's compiler then look up my fixes. -= Rich Taylor On Tuesday, November 17, 2015 at 5:02:01 AM UTC-5, Daniela Borgmann wrote: > > Hi! > > I am currently using tessnet2 for ocr processing of multiple images. As > the amount of images to be processed is quite high, I tried to add some > threading into my ocr implementation (using Task.Factory in C#). > Unfortunately I get an AccessViolationException of the tessnet2 dll - is > there a possibility to use tessnet2 in the context of multithreading, and > is there a newer version of tessnet2? Currently I'm using version 02SEP09. > > Thanks in advance and best regards, > Daniela > -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/d58847c3-6ffe-4333-9ce0-8a4389650e92%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

