I have a problem in ViewerDebugging. It always said that "read_params_file:can't open segdemo read_params_file:can't open inter".

Skip to first unread message

huangxia...@gmail.com

unread,
Jun 16, 2016, 6:52:06 AM6/16/16
to tesseract-ocr
Hi,all
     I want to build tesseract (windows 10 + vs2013) , so I downloaded two things from http://github.com/charlesw/tesseract-vs2012 and http://github.com/tesseract-ocr/tesseract.
     And then I followed all the instructions from http://github.com/charlesw/tesseract-vs2012. It had done.
     I downloaded the tessdata from https://github.com/tesseract-ocr/tessdata, and use its path as TESSDATA_PREFIX.

     Now, I'd like to use ViewerDebugging to see something.
     And I had Placed ScrollView.jar,piccolo-1.2.jar,piccolox-1.2.jar in Tesseract/java. Then set the SCROLLVIEW_PATH environment variable.
     Then I used the solution from https://groups.google.com/forum/#!topic/tesseract-issues/k1YzOBBEnhM to solve "waiting for server" problem.
     I add 3 jars ,and write code like this:
     import com.google.scrollview.ScrollView;
               public class test {
                         public static void main(String[] args){
                                   new ScrollView().main(new String[]{"8461"});
                                   }
                }
     But now, when I rebuild the tesseract, it always said " read_params_file:can't open segdemo         read_params_file:can't open inter ".
     What should I do to solve the problem?

Joy
Thanks in advance.

Stef

unread,
Jun 16, 2016, 11:26:17 AM6/16/16
to tesseract-ocr
Joy,

It seems that you're missing these config files. Did you verify that you have these files in the configs and tessconfigs subdirectories in your tessdata path?
configs\inter
tessconfigs
\segdemo

If not you can download them from https://github.com/tesseract-ocr/tesseract/tree/master/tessdata.

huangxia...@gmail.com

unread,
Jun 16, 2016, 10:46:21 PM6/16/16
to tesseract-ocr
Thank you for your help! 
But when following your advice, I use  tessdata which is in github branch 3.04  from http://github.com/tesseract-ocr/tesseract as TESSDATA_PREFIX.
I use command line like "tesseract.exe 1.png 1 segdemo inter", and also use it in vs2013 debugging's command Arguments.(LIB_Debug + X64 )
It always say " read_params_file: parameter not find:".
Please help me.

Joy 
Thanks in advance.



在 2016年6月16日星期四 UTC+8下午11:26:17,Stef写道:

Stef

unread,
Jun 17, 2016, 3:06:05 AM6/17/16
to tesseract-ocr

I use  tessdata which is in github branch 3.04  from http://github.com/tesseract-ocr/tesseract as TESSDATA_PREFIX.
You can use the config files from 3.04 or master, there's no difference
 
It always say " read_params_file: parameter not find:".
So your error message changed now from " read_params_file:can't open segdemo         read_params_file:can't open inter" to " read_params_file: parameter not find:".
What parameter was not found?
Did you edit the config files?


huangxia...@gmail.com

unread,
Jun 18, 2016, 11:17:50 AM6/18/16
to tesseract-ocr
It just say"read_params_file: parameter not found", and doesn't say which parameter.
And I don't edit the config files.
What should I do ?

在 2016年6月17日星期五 UTC+8下午3:06:05,Stef写道:
Reply all
Reply to author
Forward
0 new messages