1. Please check that your tessdata/configs folder has a file called tsv. 2. Try giving a different output file name (NOT out).
3. Do hocr and pdf outputs work for you? ShreeDevi ____________________________________________________________ भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com On Sun, Mar 11, 2018 at 6:54 PM, Emilio Cecchini <cecchina...@gmail.com> wrote: > Hello everyone > > I'm trying to execute tesseract from command line in Ubuntu 17.10. I want > the output in a `.tsv` file because I need the confidence rate. As > explained [here](https://github.com/tesseract-ocr/tesseract/wiki/ > Command-Line-Usage#tsv-output-currently-available-in-305- > dev-in-master-branch-on-github), I execute: > > tesseract testing_img.png out tsv > > but I'm getting the following error: > > read_params_file: Can't open tsv > Tesseract Open Source OCR Engine v3.05.00 with Leptonica > > and the output is written correctly in a `out.txt` file. It seems that it > reads that `tsv` parameter as a file to read, but I don't know why. > > I've compiled Tesseract from source because I need Tesseract 3.05 in order > to have a `.tsv` file as output, so I can't use the version in the Ubuntu > repository because it has Tesseract 3.04. > > I'm running Ubuntu 17.10. > > Here's some information about my Tesseract installation: > > $ tesseract --version > tesseract 3.05.00 > leptonica-1.75.3 > libpng 1.6.34 : zlib 1.2.11 > > $ ls /usr/share/tesseract-ocr/tessdata/ > configs eng.traineddata ita.traineddata osd.traineddata > pdf.ttf tessconfigs > > $ echo $TESSDATA_PREFIX > /usr/share/tesseract-ocr/ > > -- > 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 firstname.lastname@example.org. > 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/1c67b1b1-fb64-4d8c-a8b6-bde66da93c10% > 40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/1c67b1b1-fb64-4d8c-a8b6-bde66da93c10%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 email@example.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/CAG2NduXozyWAgV-2yPBxaVfc2C3eM9WiFJx14PefU9Hig9yyHw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.