Re: [tesseract-ocr] Failed to build ScrollView.jar on MAC OSX

2018-04-08 Thread Fanatico
I managed to build it, but I needed to clone the repo and build it to use. 
So I don't recommend to install tesseract using brew

-- 
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/ef7dac86-48de-455e-b971-82251ddebd08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tesseract-ocr] Failed to build ScrollView.jar on MAC OSX

2018-04-07 Thread ShreeDevi Kumar
Please try from the main tesseract folder.



On Sat 7 Apr, 2018, 11:50 PM Fanatico,  wrote:

> from the java folder "cd ~/projects/tesseract/java" in my case
>
> On Saturday, 7 April 2018 12:40:29 UTC-3, shree wrote:
>>
>> Please see
>> https://github.com/tesseract-ocr/tesseract/blob/master/Makefile.am
>>
>> From which dir did you try
>>
>> make ScrollView.jar
>>
>> ShreeDevi
>> 
>> भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com
>>
> --
> 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/c37ccc0e-93c1-480c-ad21-19a3611a45e6%40googlegroups.com
> 
> .
> 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/CAG2NduWO08uYgmqwdi5vNhuZ1Q%2BPxvWK31ySaYHRuHizpLbYFQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tesseract-ocr] Failed to build ScrollView.jar on MAC OSX

2018-04-07 Thread Fanatico
from the java folder "cd ~/projects/tesseract/java" in my case

On Saturday, 7 April 2018 12:40:29 UTC-3, shree wrote:
>
> Please see 
> https://github.com/tesseract-ocr/tesseract/blob/master/Makefile.am
>
> From which dir did you try 
>
> make ScrollView.jar 
>
> ShreeDevi
> 
> भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com
>

-- 
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/c37ccc0e-93c1-480c-ad21-19a3611a45e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tesseract-ocr] Failed to build ScrollView.jar on MAC OSX

2018-04-07 Thread ShreeDevi Kumar
Please see
https://github.com/tesseract-ocr/tesseract/blob/master/Makefile.am

>From which dir did you try

make ScrollView.jar

ShreeDevi

भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com

On Sat, Apr 7, 2018 at 7:42 PM, Fanatico  wrote:

> Hi. I finally got the training from 4.o to work, but I was unable to build
> the ScrollView.jar so Im currently running the test with "--debug_interval
> -1". Can someone help Me?
>
> Sistem
>
> Platform: MAC OS X  10.13.3 (installed with brew)
> Tesseract: 4.0.0-beta.1
> leptonica: 1.75.3
>   libjpeg 9c : libpng 1.6.34 : libtiff 4.0.9 : zlib 1.2.11
>
> Steps
>
> *First Try*
>
> 1 - I cloned a new repository from git
> 2 - Added the "piccolo2d-core-3.0.jar" and "piccolo2d-extras-3.0.jar"
> files to the java folder
> 3 - Executed the command
> make ScrollView.jar
>
> 4 - Got this message from console:
> make: *** No rule to make target `ScrollView.jar'.  Stop.
>
> *Second Try*
>
> 1 - Downloaded the files already builded from: https://www.4shared.com/
> zip/FnP8RSu0/tess_debug_3_02.html
> 2 - Copied the "piccolo2d-core-3.0.jar", "piccolo2d-extras-3.0.jar" and "
> ScrollView.jar" to the java folder
> 3 - Executed the code:
> SCROLLVIEW_PATH=~/projects/tesseract/java \
> /usr/local/Cellar/tesseract/HEAD-f8e26ee/bin/lstmtraining \
> --debug_interval 100 \
> --traineddata ~/tesstutorial/eng/eng.traineddata \
> --net_spec '[1,36,0,1 Ct3,3,16 Mp3,3 Lfys48 Lfx96 Lrx96 Lfx256 O1c111]' \
> --model_output ~/tesstutorial/engoutput/base \
> --learning_rate 20e-4 \
> --train_listfile ~/tesstutorial/engtrain/eng.training_files.txt \
> --eval_listfile ~/tesstutorial/engeval/eng.training_files.txt \
> --max_iterations 5000 &>~/tesstutorial/engoutput/basetrain.log
>
> 4 - Got this error:
> Loaded file /Users/fernandogot/tesstutorial/engoutput/base_checkpoint,
> unpacking...
> Successfully restored trainer from /Users/fernandogot/
> tesstutorial/engoutput/base_checkpoint
> Loaded 72/72 pages (1-72) of document /Users/fernandogot/
> tesstutorial/eng/eng.Verdana.exp0.lstmf
> Loaded 72/72 pages (1-72) of document /Users/fernandogot/
> tesstutorial/eng/eng.Verdana.exp0.lstmf
> Starting sh -c "trap 'kill %1' 0 1 2 ; java -Xms1024m -Xmx2048m -jar
> /Users/fernandogot/projects/tesseract/java/ScrollView.jar & wait"
> Error: Unable to access jarfile /Users/fernandogot/projects/
> tesseract/java/ScrollView.jar
> sh: line 0: kill: %1: no such job
>
> Any idea on how to fix it?
>
> Thanks for reading and for your time!
>
> --
> 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/4bdadb4e-549c-4361-8a83-53199633489a%
> 40googlegroups.com
> 
> .
> 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/CAG2NduUe8%3DWrNH-a569gYFo6thsrGdx7L6%3DXVyRcJWZQ6W%2BEHg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tesseract-ocr] Failed to build ScrollView.jar on MAC OSX

2018-04-07 Thread Fanatico
Hi. I finally got the training from 4.o to work, but I was unable to build 
the ScrollView.jar so Im currently running the test with "--debug_interval 
-1". Can someone help Me?

Sistem

Platform: MAC OS X  10.13.3 (installed with brew)
Tesseract: 4.0.0-beta.1
leptonica: 1.75.3
  libjpeg 9c : libpng 1.6.34 : libtiff 4.0.9 : zlib 1.2.11

Steps

*First Try*

1 - I cloned a new repository from git
2 - Added the "piccolo2d-core-3.0.jar" and "piccolo2d-extras-3.0.jar" files 
to the java folder
3 - Executed the command
make ScrollView.jar

4 - Got this message from console:
make: *** No rule to make target `ScrollView.jar'.  Stop.

*Second Try*

1 - Downloaded the files already builded 
from: https://www.4shared.com/zip/FnP8RSu0/tess_debug_3_02.html
2 - Copied the "piccolo2d-core-3.0.jar", "piccolo2d-extras-3.0.jar" and "
ScrollView.jar" to the java folder
3 - Executed the code:
SCROLLVIEW_PATH=~/projects/tesseract/java \
/usr/local/Cellar/tesseract/HEAD-f8e26ee/bin/lstmtraining \
--debug_interval 100 \
--traineddata ~/tesstutorial/eng/eng.traineddata \
--net_spec '[1,36,0,1 Ct3,3,16 Mp3,3 Lfys48 Lfx96 Lrx96 Lfx256 O1c111]' \
--model_output ~/tesstutorial/engoutput/base \
--learning_rate 20e-4 \
--train_listfile ~/tesstutorial/engtrain/eng.training_files.txt \
--eval_listfile ~/tesstutorial/engeval/eng.training_files.txt \
--max_iterations 5000 &>~/tesstutorial/engoutput/basetrain.log

4 - Got this error:
Loaded file /Users/fernandogot/tesstutorial/engoutput/base_checkpoint, 
unpacking...
Successfully restored trainer from 
/Users/fernandogot/tesstutorial/engoutput/base_checkpoint
Loaded 72/72 pages (1-72) of document 
/Users/fernandogot/tesstutorial/eng/eng.Verdana.exp0.lstmf
Loaded 72/72 pages (1-72) of document 
/Users/fernandogot/tesstutorial/eng/eng.Verdana.exp0.lstmf
Starting sh -c "trap 'kill %1' 0 1 2 ; java -Xms1024m -Xmx2048m -jar 
/Users/fernandogot/projects/tesseract/java/ScrollView.jar & wait"
Error: Unable to access jarfile 
/Users/fernandogot/projects/tesseract/java/ScrollView.jar
sh: line 0: kill: %1: no such job

Any idea on how to fix it?

Thanks for reading and for your time!

-- 
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/4bdadb4e-549c-4361-8a83-53199633489a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.