I'm not a C# developer but I suppose you can just use the c++ library as is.
Lorenzo Il giorno mar 8 ott 2019 alle ore 15:07 MPursche <pursch...@gmail.com> ha scritto: > I think you might be right, I just installed this one from NuGet: > https://github.com/charlesw/tesseract/ > > Do you know of a C# binding you would recommend? > > On Tuesday, October 8, 2019 at 2:52:42 PM UTC+2, Lorenzo Blz wrote: >> >> Hi, >> I suspect what you are using is not a real api bindings but more of a >> command line wrapper. This is very slow and inconvenient to use. >> >> I would simply use the API, probably even the plain tesseract libs as you >> are using C#. The API does not write anything to the console. >> >> >> Lorenzo >> >> Il giorno mar 8 ott 2019 alle ore 12:57 MPursche <purs...@gmail.com> ha >> scritto: >> >>> Hello! >>> >>> I have a use-case for Tesseract where I'm not always 100% sure that >>> there is text in the image I try to do OCR on. When it runs and gets to one >>> of these images it prints "Empty page!!" to the console which interferes >>> with the user experience a lot. >>> >>> I did some searching and I found this: >>> https://github.com/tesseract-ocr/tesseract/wiki/FAQ#how-can-i-make-the-error-messages-go-to-tesseractlog-instead-of-stderr >>> >>> However, I am using Tesseract as a library, not as a command line tool. >>> Can I mute this behaviour from code? >>> >>> I would prefer to modify my usage of libtesseract rather than make >>> changes of libtesseract directly if possible since I am using a wrapper for >>> C#, but if I have to I will compile my own libtesseract.dll. >>> >>> I already tried redirecting Console.Out and Console.Error before making >>> my calls to libtesseract but it didn't help. >>> >>> -- >>> 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 tesser...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/tesseract-ocr/ce951ed6-f309-419c-a914-70b39dc93b54%40googlegroups.com >>> <https://groups.google.com/d/msgid/tesseract-ocr/ce951ed6-f309-419c-a914-70b39dc93b54%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > 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 tesseract-ocr+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tesseract-ocr/f93c2796-416b-4b75-8332-0589a4a81ef3%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/f93c2796-416b-4b75-8332-0589a4a81ef3%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 tesseract-ocr+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAMgOLLztfuiMwVir%2BeKQrm0-DqdjnZWMFhCfCPJTotkFfj%3DhRw%40mail.gmail.com.