Thanks that worked. :) On Tuesday, October 8, 2019 at 2:23:26 PM UTC+2, zdenop wrote: > > Set parameter debug_file to /dev/null (or some filename, where you can > check warning from tesseract) > > Zdenko > > > ut 8. 10. 2019 o 12:57 MPursche <purs...@gmail.com <javascript:>> > napĂsal(a): > >> 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 <javascript:>. >> 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/8ae3aab8-8669-41dd-a7d1-1a4807b21649%40googlegroups.com.