Commit Graph

26 Commits

Author SHA1 Message Date
Shreeshrii
5845e1a27d Add unit test for OSD, update apiexample test (#1359)
* Update apiexample_test.cc

* Add OSD test and logging function

* Add images for OSD unittest
2018-03-04 14:52:27 +01:00
Shreeshrii
69ef9401ca Groundtruth for testing/eurotext.tif 2017-09-04 18:31:13 +05:30
Shreeshrii
0ed7317c38 Rename unittest/testfiles/phototest.txt to testing/phototest.txt
Add groundtruth in the testing directory
2017-09-04 10:42:37 +05:30
Stefan Weil
934e612a3e testing: Fix warnings from shellcheck
Fix these kinds of warnings:

SC2002: Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.
SC2086: Double quote to prevent globbing and word splitting.
SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-04-11 18:23:47 +02:00
Stefan Weil
b75beda7f9 Fix some issues reported by shellcheck (SC2004, SC2006)
Examples:

In training/tesstrain.sh line 64:
if (( ${LINEDATA} )); then
      ^-- SC2004: $/${} is unnecessary on arithmetic variables.

In training/tesstrain.sh line 56:
source `dirname $0`/language-specific.sh
       ^-- SC2006: Use $(..) instead of legacy `..`.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-12-14 14:11:24 +01:00
Stefan Weil
92d981b93a Change tesseract parameter -psm to --psm
For compatibility reasons the old variant is still supported.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-11-30 22:23:46 +01:00
Ray Smith
5913d7344f Added missing license headers 2016-11-18 15:53:11 -08:00
Tom Morris
acdbcecd3c Add LTR & mixed direction test files 2016-02-17 11:40:31 -05:00
Stefan Weil
7113cba622 testing: Fix typo in comment (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2015-11-04 21:58:42 +01:00
Zdenko Podobný
66a76a9477 Revert "temporary add config/*, configure and Makefile.in for release"
This reverts commits ec9581d8f2, 1afe382c4e, 4b2cfabcc1
2015-07-31 21:44:43 +02:00
Zdenko Podobný
ec9581d8f2 temporary add configure and Makefile.in for release 2015-07-11 09:42:43 +02:00
zdenop@gmail.com
8bf154282f move testing images to testing directory
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1053 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2014-03-07 12:32:10 +00:00
theraysmith@gmail.com
32badf1c1b fixed pageseg mode
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@751 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2012-09-21 15:28:11 +00:00
theraysmith@gmail.com
d5d15f32d7 Deleted Makefile.in from svn
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@606 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2011-08-18 16:32:44 +00:00
joregan
e0b07948fc disabling gettext checks - not currently used, and something about disabling is causing subsequent autoconf checks to not run
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@492 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-09-30 16:27:39 +00:00
joregan
a301f9a5c7 start of i18n
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@418 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-07-19 01:59:13 +00:00
joregan
ddcb98565a update generated autoconf/make stuff
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@369 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-05-26 14:21:37 +00:00
theraysmith
7a2a378699 Update for move of top-level to api directory
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@328 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2010-05-19 18:10:49 +00:00
theraysmith
0b1643454b Upgrade for testing for 3.00
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@284 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2009-07-11 01:50:32 +00:00
theraysmith
aeba7428eb Changes to in files from configure
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@278 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2009-06-30 22:25:57 +00:00
theraysmith
f759a45ded Added testing results for 2.03 and 2.04
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@269 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2009-06-30 01:46:29 +00:00
theraysmith
f3060abf71 Automake changes for potential RC of 2.04
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@248 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2009-06-03 02:50:54 +00:00
tmbdev
a978ccb68f changed runautoconf instructions
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@183 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2008-08-18 20:18:21 +00:00
theraysmith
fa30c0965f Initial top-level changes for v2.02
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@154 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2008-02-01 00:59:01 +00:00
theraysmith
6f27137fee Autoconf changes for 2.01
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@115 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2007-08-30 18:32:18 +00:00
theraysmith
627368df42 API/output changes to produce unlv-style latin-1 output and test scripts
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@86 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2007-07-18 01:11:18 +00:00