tesseract-4.0.0-beta.3 - testing problem

111 views
Skip to first unread message

Marco Atzeri

unread,
Jul 28, 2018, 4:02:33 AM7/28/18
to tesser...@googlegroups.com
With cygwin 64bit

1) I see an excess of "ln" during testing

make[2]: 'libgmock_main.la' is up to date.
mkdir -p ../test/testing
ln -s
/cygdrive/d/cyg_pub/devel/tesseract/prove2/tesseract-ocr-4.0.0-0.3.x86_64/src/tesseract-4.0.0-beta.3/test/testing/phototest.tif
../test/testing/phototest.tif
mkdir -p ../test/testing
ln -s
/cygdrive/d/cyg_pub/devel/tesseract/prove2/tesseract-ocr-4.0.0-0.3.x86_64/src/tesseract-4.0.0-beta.3/test/testing/phototest.txt
../test/testing/phototest.txt
...
make[2]: 'tesseracttests.exe' is up to date.
make[2]: Leaving directory
'/cygdrive/d/cyg_pub/devel/tesseract/prove2/tesseract-ocr-4.0.0-0.3.x86_64/build/unittest'
make check-TESTS
make[2]: Entering directory
'/cygdrive/d/cyg_pub/devel/tesseract/prove2/tesseract-ocr-4.0.0-0.3.x86_64/build/unittest'
make[3]: Entering directory
'/cygdrive/d/cyg_pub/devel/tesseract/prove2/tesseract-ocr-4.0.0-0.3.x86_64/build/unittest'
mkdir -p ../test/testing
ln -s
/cygdrive/d/cyg_pub/devel/tesseract/prove2/tesseract-ocr-4.0.0-0.3.x86_64/src/tesseract-4.0.0-beta.3/test/testing/phototest.tif
../test/testing/phototest.tif
ln: failed to create symbolic link '../test/testing/phototest.tif': File
exists
make[3]: *** [Makefile:1318:
/cygdrive/d/cyg_pub/devel/tesseract/prove2/tesseract-ocr-4.0.0-0.3.x86_64/build/test/testing/phototest.tif]
Error 1
mkdir -p ../test/testing
ln -s
/cygdrive/d/cyg_pub/devel/tesseract/prove2/tesseract-ocr-4.0.0-0.3.x86_64/src/tesseract-4.0.0-beta.3/test/testing/phototest.txt
../test/testing/phototest.txt
ln: failed to create symbolic link '../test/testing/phototest.txt': File
exists
make[3]: *** [Makefile:1322:
/cygdrive/d/cyg_pub/devel/tesseract/prove2/tesseract-ocr-4.0.0-0.3.x86_64/build/test/testing/phototest.txt]
Error 1


2) Question: there is any additional download needed for testing
tesseract, other than https://github.com/google/googletest ?
The instruction are missing any detail on "make check"

FAIL: apiexample_test.exe
FAIL: progress_test.exe
PASS: intsimdmatrix_test.exe
PASS: matrix_test.exe
FAIL: osd_test.exe
FAIL: loadlang_test.exe
PASS: tesseracttests.exe

Regards
Marco

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus

Shree Devi Kumar

unread,
Jul 28, 2018, 4:09:09 AM7/28/18
to tesser...@googlegroups.com
Test related info has been moved to a new repo under tesseract-ocr https://github.com/tesseract-ocr/test

You need to update that submodule (similar to googletest) for all files to be available.

It's possible that the wiki has not been updated for the same, you can add appropriate instructions to it.

--
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-oc...@googlegroups.com.
To post to this group, send email to tesser...@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/c941a037-1b02-98c3-54aa-7f2345ea7771%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


--

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

Marco Atzeri

unread,
Aug 6, 2018, 4:14:25 AM8/6/18
to tesser...@googlegroups.com
Am 28.07.2018 um 10:08 schrieb Shree Devi Kumar:
> Test related info has been moved to a new repo under tesseract-ocr
> https://github.com/tesseract-ocr/test
>
> You need to update that submodule (similar to googletest) for all files
> to be available.
>
> It's possible that the wiki has not been updated for the same, you can
> add appropriate instructions to it.
>

for what I see after "googletest" and "test" to successful test
tesseract also "tessdata" tessdata_fast" "tessdata_best" are needed.

As the last three are 2.3 GB of data (compressed) may be the
needed subset should be listed somewhere, so that only
the needed file for the test are downloaded.

Testing Beta 4 on cygwin 64bit

============================================================================
Testsuite summary for tesseract 4.0.0-beta.3
============================================================================
# TOTAL: 7
# PASS: 7
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
============================================================================

Shree Devi Kumar

unread,
Aug 6, 2018, 4:54:56 AM8/6/18
to tesser...@googlegroups.com
One of the tests is for developers to verify that all traineddata files are valid and load ok, so it needs the complete repo for tessdata_fast and tessdata_best.

The tests have not been setup for users. 




--
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-oc...@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
Reply all
Reply to author
Forward
0 new messages