Commit Graph

2697 Commits

Author SHA1 Message Date
Stefan Weil
e8ca29fb17 opencl: Remove unused function selectedDeviceIsNativeCPU
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-04-26 07:55:54 +02:00
Stefan Weil
bf9160cede opencl: Remove unused function pixConvertRGBToGray
Remove also the related OpenCL kernel code kernel_RGBToGray.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-04-26 07:55:54 +02:00
zdenop
7bb00d9a31 Merge pull request #834 from stweil/master
Leptonica related updates
2017-04-23 17:38:49 +02:00
Stefan Weil
e2b1e9f977 Fix ChangeLog for Leptonica 1.74
Since commit 245eebdf29, Tesseract 3.05
requires Leptonica 1.74, so this is not a new requirement for 4.00.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-04-22 18:33:37 +02:00
Stefan Weil
a3e0c10dc7 Remove unneeded code for old Leptonica versions
Tesseract requires Leptonica 1.74 or newer,
so that code is no longer needed.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-04-22 18:22:13 +02:00
Stefan Weil
325de57d54 Update Leptonica version for Travis CI
Use the latest version which is available.
Remove also some unneeded whitespace.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-04-22 17:51:39 +02:00
Egor Pugin
11b244f6b7 Merge pull request #831 from aleksey-nikolaev/cmake-install
Cmake install
2017-04-20 22:06:25 +03:00
Aleksey Nikolaev
be747a501b Correct include path for installed project 2017-04-20 14:59:13 +03:00
Aleksey Nikolaev
6641989866 Cmake install 2017-04-20 14:50:53 +03:00
zdenop
e18a802994 Merge pull request #823 from RandomDSdevel/typo-fixes
Small Typo Fix
2017-04-15 19:12:51 +02:00
zdenop
6614b86bb3 Merge pull request #824 from stweil/typo
Fix typo
2017-04-15 19:11:44 +02:00
Bryce Glover
2be86764fe autogen.sh: Small Typo Fix
Implement and contribute one small typographical fix, thereby improving the readability of the script's check
for the existence of the `m4` top-level directory.
2017-04-15 12:31:24 -04:00
Stefan Weil
8f8651b6ce Fix typo
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-04-15 17:27:56 +02:00
Jim Regan
7231e67682 typo in comment 2017-04-14 15:54:10 +01:00
zdenop
6393e6122f Merge pull request #816 from stweil/codacy
testing: Fix warnings from shellcheck
2017-04-12 08:53:36 +02:00
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
zdenop
afd6b7d105 Merge pull request #813 from jbarlow83/4.00-opencl
[4.00] Fix #786 OpenCL linkage fails on macOS
2017-04-11 12:43:23 +02:00
James R. Barlow
f54577e6be Fix #786 - 3.05 linkage fails on macOS Sierra with --enable-opencl
Also needed for 4.00.
2017-04-10 22:22:49 -07:00
Egor Pugin
36a995bdc9 Merge pull request #812 from stweil/readme
README: Update stable version
2017-04-11 00:17:05 +03:00
Stefan Weil
98961ed169 README: Update stable version
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-04-10 22:28:14 +02:00
zdenop
5baa8c883a Merge pull request #808 from stweil/macos
opencl: Add missing TIFF library for macOS
2017-04-09 19:10:40 +02:00
Stefan Weil
31cb732a0f opencl: Add missing TIFF library for macOS
The OpenCL code of Tesseract uses TIFF functions, but the TIFF library
was not added to the linker flags for macOS.

This fixes builds with OpenCL on Mac.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-04-09 12:12:18 +02:00
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
Chris Mayo
b231aee212 tidy tesseract(1) adding missing options
Together with:
- fix "C\++"
- align executable --print-parameters message
2017-03-23 20:02:50 +00: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