[tesseract-ocr] Tesseract to detect numbers with opencv (c++) and cmake on a raspberry pi

2018-09-21 Thread Adam Richards
Hi I want to use Tesseract to detect numbers in a sudoku puzzle. I already have all my opencv c++ code that will produce a Mat for every cell with a number in it, to run this I am using Cmake to generate the code. I was just wondering how I can install, setup and use tesseract to read the numb

[tesseract-ocr] Re: OCR: java.io.IOException: Cannot run program "cmd": error=2, No such file or directory

2018-09-21 Thread Quan Nguyen
cmd is Windows' command line interpreter. Does MacOS have that? On Friday, September 21, 2018 at 1:10:15 PM UTC-5, Rakesh Kumar wrote: > > > > > I have successfully installed tesseract in my MAC. > Now trying to read and write image text using below code and found error. > I am missing some thing

[tesseract-ocr] OCR: java.io.IOException: Cannot run program "cmd": error=2, No such file or directory

2018-09-21 Thread Rakesh Kumar
I have successfully installed tesseract in my MAC. Now trying to read and write image text using below code and found error. I am missing some thing or doing some thing wrong. Can any one help me with Java code to achieve this? Refer attachment or In this link you can see the project: https

Re: [tesseract-ocr] Re: How to install tesseract in MAC?

2018-09-21 Thread Kurniawan
as the error said, it seem there is a path that does not exists in your system i would suggests to check all your path especially in line 13 Caused by: java.io.IOException: error=2, No such file or directory On Fri, Sep 21, 2018, 6:25 AM Rakesh Kumar wrote: > Great thank you it worked, i have

Re: [tesseract-ocr] Install 4.0.0-beta.4 on Ubuntu

2018-09-21 Thread andreas . durietz
That worked much better, thank you! Den fredag 21 september 2018 kl. 16:05:45 UTC+2 skrev shree: > > Try the ppa by Alex, it should have a newer version > > > > https://launchpad.net/~alex-p/+archive/ubuntu/tesseract-ocr?field.series_filter=bionic > > On Fri, 21 Sep 2018, 08:40 , > wrote: > >> May

Re: [tesseract-ocr] Install 4.0.0-beta.4 on Ubuntu

2018-09-21 Thread Shree Devi Kumar
Try the ppa by Alex, it should have a newer version https://launchpad.net/~alex-p/+archive/ubuntu/tesseract-ocr?field.series_filter=bionic On Fri, 21 Sep 2018, 08:40 , wrote: > Maybe a silly question since I'm not very familiar with Linux. > > I tried upgrading to tesseract 4 today on my Mac (

[tesseract-ocr] Re: How to install tesseract in MAC?

2018-09-21 Thread Rakesh Kumar
Great thank you it worked, i have one more stopper which i need you to address. I am trying to execute below program with error in my MAC. package com.chillyfacts.com; import java.io.PrintWriter; public class my_main { public static void main(String[] args) { String input_file="/usr/local/Ce

Re: [tesseract-ocr] Checking HasNext on Tesseract API to avoid getting error when there is no item in the iterator.

2018-09-21 Thread Zdenko Podobny
No there is not such function. there is IsAtBeginningOf ( TessPageIteratorIsAtBeginningOf ) and IsAtFinalElement (TessPageIteratorIsAtFinalElement

[tesseract-ocr] Install 4.0.0-beta.4 on Ubuntu

2018-09-21 Thread andreas . durietz
Maybe a silly question since I'm not very familiar with Linux. I tried upgrading to tesseract 4 today on my Mac (4.0.0-beta.4). The results looked very promising so I tried testing it in a more production like environment (Ubuntu 18.04) using vagrant, but the results were not as good. Turns out

[tesseract-ocr] Does any have a solution for the WHITECHARLIST in tesseract 4

2018-09-21 Thread shree
Please see https://github.com/tesseract-ocr/tesseract/issues/751#issuecomment-423507522 The issue is still not solved. User contributions for solution are welcome. Please create a PR if you have a suggested solution. -- You received this message because you are subscribed to the Google Groups

[tesseract-ocr] Does any have a solution for the WHITECHARLIST in tesseract 4

2018-09-21 Thread Sebastian Correa
As you know the white charlist option in tesseract 4 usin g oem of only lstm, dosen't work. My project work excelente with tesseract 3 because the use of whitecharlist, but when I try to upgrade to tesseract 4 I get worst results because it recognice some text lines with noise (symbols like %&/

[tesseract-ocr] tesstrain.sh doesn't create traindata

2018-09-21 Thread Zohreh Khosrobeygi
Hi, I had created traindata for persina befor but not my tesstrain.sh doesn't create fas.traindata. I think this part of bash file doesn't call make__traineddata() { tlog "*\n=== Making final traineddata file ===*" local lang_prefix=${LANGDATA_ROOT}/${LANG_CODE}/${LANG_CODE} # C