There might be some problem with your input file - all the following work for me. Please note that whitelist has no effect in 4.0
$ tesseract input.tif input Tesseract Open Source OCR Engine v4.00.00alpha with Leptonica Page 1 $ tesseract input.tif input --psm 7 Tesseract Open Source OCR Engine v4.00.00alpha with Leptonica Page 1 $ tesseract input.tif input --psm 7 -c tessedit_char_whitelist=0123456789 Tesseract Open Source OCR Engine v4.00.00alpha with Leptonica Page 1 $ tesseract input.tif input --psm 7 -c tessedit_char_whitelist=0123456789 --oem 2 Tesseract Open Source OCR Engine v4.00.00alpha with Leptonica Page 1 $ tesseract input.tif input --psm 7 -c tessedit_char_whitelist=0123456789 --oem 2 --tessdata-dir ./tessdata Tesseract Open Source OCR Engine v4.00.00alpha with Leptonica Page 1 $ ShreeDevi ____________________________________________________________ भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com On Thu, Mar 23, 2017 at 12:26 AM, Jenkar Smithy <quentin.dau...@free.fr> wrote: > When trying the following command : > tesseract input.tiff ./result --psm 7 -c tessedit_char_whitelist=012345 > 6789 <callto:0123456789> --oem 2 --tessdata-dir ~/ > > I get the following error : > Tesseract Open Source OCR Engine v4.00.00alpha with Leptonica > Page 1 > int_mode_:Error:Assert failed:in file weightmatrix.cpp, line 180 > int_mode_:Error:Assert failed:in file weightmatrix.cpp, line 180 > > The data is the correct one (for 4.0), from the git. > > -- > 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 post to this group, send email to tesseract-ocr@googlegroups.com. > Visit this group at https://groups.google.com/group/tesseract-ocr. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/tesseract-ocr/05c29148-7d90-4690-82d8-74077f1003ec% > 40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/05c29148-7d90-4690-82d8-74077f1003ec%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 post to this group, send email to tesseract-ocr@googlegroups.com. Visit this group at https://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAG2NduXD-fc-_HAO39bQbxRxXs2Rt-0vO8FU0VGz8ar9arjy8Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
08746354312