Commit Graph

1822 Commits

Author SHA1 Message Date
zdenop
cf0b378577 Merge pull request #801 from amitdo/readme-compilers
README.md: Add subsection 'Supported compilers'
2017-04-03 19:07:40 +02:00
Amit D
3357e25c66 Update README.md 2017-04-03 19:24:26 +03:00
zdenop
168e7998eb Merge pull request #800 from atuyosi/fix-makefile
Update Makefile.am (add 'lstm.train')
2017-04-02 19:30:50 +02:00
Jeff Breidenbach
9038faf436 Better escaping for PDF title; fixes #636 2017-04-02 19:01:16 +02:00
zdenop
c38eedae7e Merge pull request #797 from stweil/warnings
opencl: Fix some compiler warnings [-Wunused-function]
2017-04-02 17:07:41 +02:00
Atsuyoshi Suzuki
82d62f89a2 Update Makefile.am (add 'lstm.train') 2017-04-02 17:06:12 +09:00
Stefan Weil
c1a01d0c51 opencl: Fix some compiler warnings [-Wunused-function]
opencl_device_selection.h contains lots of code which is only used in
openclwrapper.cpp. This results in several compiler warnings:

opencl/opencl_device_selection.h:396:18: warning:
 ‘ds_status readProfileFromFile(ds_profile*, ds_score_deserializer, const char*)’ defined but not used [-Wunused-function]
opencl/opencl_device_selection.h:257:18: warning:
 ‘ds_status writeProfileToFile(ds_profile*, ds_score_serializer, const char*)’ defined but not used [-Wunused-function]
opencl/opencl_device_selection.h:196:18: warning:
 ‘ds_status profileDevices(ds_profile*, ds_evaluation_type, ds_perf_evaluator, void*, unsigned int*)’ defined but not used [-Wunused-function]
opencl/opencl_device_selection.h:90:18: warning:
 ‘ds_status initDSProfile(ds_profile**, const char*)’ defined but not used [-Wunused-function]
opencl/opencl_device_selection.h:70:18: warning:
 ‘ds_status releaseDSProfile(ds_profile*, ds_score_release)’ defined but not used [-Wunused-function]

Move that functions and all related code to openclwrapper.cpp.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-04-01 12:34:27 +02:00
Egor Pugin
362b68ecfd Update .travis.yml 2017-03-25 22:06:12 +03:00
Egor Pugin
ddd901b6e4 Update .travis.yml 2017-03-25 22:04:57 +03:00
Egor Pugin
b9dd8be8c7 Update .travis.yml 2017-03-25 22:01:27 +03:00
Egor Pugin
0488a0c827 Update .travis.yml 2017-03-25 21:56:58 +03:00
zdenop
f837cc0953 Merge pull request #783 from Shreeshrii/patch-1
Update ChangeLog
2017-03-25 11:49:11 +01:00
Shreeshrii
f7ca7718d2 Update ChangeLog
@zdenko Please change as you see fit.

My confusion is because, https://github.com/tesseract-ocr/tesseract/releases shows
on Nov 8, 2016 
4.00.00alpha  …
 c1c1e42   zip   tar.gz

If someone gets that zip/tar, it will not have all the items listed on Changelog for 4.0.0-alpha.
2017-03-25 09:01:52 +05:30
Shreeshrii
62bb7e26e0 Fixed update date to 2017-03-24 2017-03-24 22:09:28 +05:30
Shreeshrii
366e1be90a Update ChangeLog 2017-03-24 17:42:45 +05:30
Shreeshrii
cce32f17fb Updated changelog for 2016-11-11 to 2017-March - V4.00.00-alpha 2017-03-24 17:12:19 +05:30
zdenop
cf245f8f5c Merge pull request #787 from ipylypiv/master
Remove redundant condition from TessBaseAPI::AdaptToWordStr()
2017-03-24 10:59:43 +01:00
Igor Pylypiv
cea24b7e44 Remove redundant condition from TessBaseAPI::AdaptToWordStr()
Expression (wordstr[w] != '\0') is always true if (wordstr[w] == ' ') is true.
2017-03-23 22:55:40 -07:00
Shreeshrii
a554801963 Update ChangeLog 2017-03-23 14:17:07 +05:30
Egor Pugin
d2fcfcaec2 Update appveyor.yml 2017-03-23 01:21:28 +03:00
Egor Pugin
8d7a2bcf1a Update appveyor.yml 2017-03-23 00:51:58 +03:00
Egor Pugin
f58522ac62 Update appveyor.yml 2017-03-22 23:33:20 +03:00
Egor Pugin
1a4f61a24c Update appveyor.yml 2017-03-22 22:08:37 +03:00
Egor Pugin
14b1de3f8f Update appveyor.yml 2017-03-22 21:44:00 +03:00
Egor Pugin
6c3d8fad17 Ignore bin dir. 2017-03-21 18:49:07 +03:00
Zdenko Podobný
2b52915a74 add 3.05 to ChangeLog 2017-03-21 09:35:41 +01:00
zdenop
a51d0d4ec6 Merge pull request #770 from wilsonmar/typofix
Update README.md heading markdown
2017-03-20 19:53:54 +01:00
Wilson Mar
446f5c0ff3 Update README.md heading markdown 2017-03-18 06:13:53 -04:00
Egor Pugin
7c27088b64 Update appveyor.yml 2017-03-14 18:25:32 +03:00
Egor Pugin
e97ada8afb Update appveyor.yml 2017-03-14 17:49:35 +03:00
Egor Pugin
5a37a8b593 Update CMakeLists.txt 2017-03-14 17:26:53 +03:00
Egor Pugin
5ca1e12908 Update appveyor.yml 2017-03-14 02:09:09 +03:00
Egor Pugin
019d16c203 Update appveyor.yml 2017-03-14 02:02:02 +03:00
Egor Pugin
8349da8d26 Update appveyor.yml 2017-03-12 23:26:43 +03:00
zdenop
323f26f6cc Merge pull request #755 from stweil/doc
Fix some typos in comments (found by codespell)
2017-03-10 20:02:46 +01:00
Stefan Weil
becec34057 Fix some typos in comments (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-03-10 19:50:17 +01:00
zdenop
31486f7c3c Merge pull request #700 from elopio/snapcraft
Add the packaging metadata to build the tesseract snap
2017-03-10 08:15:11 +01:00
zdenop
fe986dfd34 Merge pull request #752 from stweil/warn
Remove some unused local variables and functions
2017-03-10 08:13:06 +01:00
zdenop
ace9d2a311 Merge pull request #750 from RandomDSdevel/autogen_sh-fix_1
[`autogen.sh`:]  Abstract the absolute path of `libtoolize` or `glibtoolize` away into `$LIBTOOLIZE`.
2017-03-10 08:11:42 +01:00
Bryce Glover
df887307a9 [autogen.sh:] Improve libtoolize invocation message.
Use the `$LIBTOOLIZE` variable inside the message to abstract over the two possible variants of the tool which
can be invoked.
2017-03-09 18:45:31 -05:00
Bryce Glover
bcba09c85d [autogen.sh:] Clarify libtoolize/glibtoolize existence check error message.
Explicitly mention the latter variant of the tool inside said error message.
2017-03-09 18:45:31 -05:00
Bryce Glover
e08ed04412 [autogen.sh:] Reduce in-script comment block width to 80 characters.
This is with respect to the comment preceding the `libtoolize`/`glibtoolize` existence check I introduced.
2017-03-09 18:45:31 -05:00
Bryce Glover
da4f7fdb0c [autogen.sh:] Abstract the absolute path of libtoolize or glibtoolize away into $LIBTOOLIZE.
Increase portability by insulating `autogen.sh` from platform variance.
2017-03-09 18:45:30 -05:00
Egor Pugin
b6eb8bebb1 Update CMakeLists.txt 2017-03-10 00:24:05 +03:00
Stefan Weil
dabf3f3dbd classify: Remove unused local function
This fixes a compiler warning:

classify/trainingsampleset.cpp:510:13: warning:
 'Pix* tesseract::DebugSample(const UNICHARSET&, tesseract::TrainingSample*)'
 defined but not used [-Wunused-function]

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-03-09 16:19:21 +01:00
Stefan Weil
363f13157b ccutil: Remove unused variable
This fixes a compiler warning:

ccutil/scanutils.cpp:284:7: warning:
 variable 'sign' set but not used [-Wunused-but-set-variable]

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-03-08 07:38:59 +01:00
Stefan Weil
7b33dad059 api: Remove unused variables
This fixes a compiler warning:

api/baseapi.cpp:1621:17: warning:
 variable 'font_name' set but not used [-Wunused-but-set-variable]

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-03-08 07:38:46 +01:00
Stefan Weil
dcc86664e2 lstm: Remove unused variable
This fixes a compiler warning:

lstm/input.cpp:141:7: warning: unused variable 'width' [-Wunused-variable]

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-03-08 07:30:31 +01:00
zdenop
ae53ed6a07 Merge pull request #749 from stweil/warn
Fix indentation after conditional [-Wmisleading-indentation]
2017-03-07 19:24:50 +01:00
Stefan Weil
cd925fd812 Fix indentation after conditional [-Wmisleading-indentation]
The indentation is wrong since commit
fd0683f9e0 and results in a gcc warning:

api/baseapi.cpp: In member function 'bool tesseract::TessBaseAPI::ProcessPagesMultipageTiff(const l_uint8*, size_t, const char*, const char*, int, tesseract::TessResultRenderer*, int)':
api/baseapi.cpp:986:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (tessedit_page_number >= 0)
     ^~
api/baseapi.cpp:988:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
       pix = (data) ? pixReadMemFromMultipageTiff(data, size, &offset)
       ^~~

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-03-07 19:05:40 +01:00