Skip to content

Commit d682f6d

Browse files
committed
* Upgrade presets for Tesseract 5.5.0
1 parent 33994e0 commit d682f6d

11 files changed

Lines changed: 292 additions & 14 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Build FFmpeg with zimg to enable zscale filter ([pull #1481](https://github.com/bytedeco/javacpp-presets/pull/1481))
1010
* Enable PulseAudio support for FFmpeg on Linux ([pull #1472](https://github.com/bytedeco/javacpp-presets/pull/1472))
1111
* Virtualize `btCollisionWorld`, `btOverlapFilterCallback`, `btOverlapCallback` from Bullet Physics SDK ([pull #1475](https://github.com/bytedeco/javacpp-presets/pull/1475))
12-
* Upgrade presets for OpenCV 4.10.0, FFmpeg 7.1, Spinnaker 4.0.0.116 ([pull #1524](https://github.com/bytedeco/javacpp-presets/pull/1524)), MKL 2025.0, DNNL 3.6.1, OpenBLAS 0.3.28, CMINPACK 1.3.11, GSL 2.8, CPython 3.13.0, NumPy 2.1.3, SciPy 1.14.1, LLVM 19.1.3, LibRaw 0.21.2 ([pull #1520](https://github.com/bytedeco/javacpp-presets/pull/1520)), Leptonica 1.85.0, Tesseract 5.4.1, libffi 3.4.6, CUDA 12.6.2, cuDNN 9.5.1, NCCL 2.23.4, nvCOMP 4.1.0.6, OpenCL 3.0.17, NVIDIA Video Codec SDK 12.2.72, PyTorch 2.5.1 ([pull #1466](https://github.com/bytedeco/javacpp-presets/pull/1466)), SentencePiece 0.2.0, TensorFlow Lite 2.18.0, TensorRT 10.6.0.26, Triton Inference Server 2.51.0, ONNX 1.17.0, ONNX Runtime 1.20.0, TVM 0.18.0, and their dependencies
12+
* Upgrade presets for OpenCV 4.10.0, FFmpeg 7.1, Spinnaker 4.0.0.116 ([pull #1524](https://github.com/bytedeco/javacpp-presets/pull/1524)), MKL 2025.0, DNNL 3.6.1, OpenBLAS 0.3.28, CMINPACK 1.3.11, GSL 2.8, CPython 3.13.0, NumPy 2.1.3, SciPy 1.14.1, LLVM 19.1.3, LibRaw 0.21.2 ([pull #1520](https://github.com/bytedeco/javacpp-presets/pull/1520)), Leptonica 1.85.0, Tesseract 5.5.0, libffi 3.4.6, CUDA 12.6.2, cuDNN 9.5.1, NCCL 2.23.4, nvCOMP 4.1.0.6, OpenCL 3.0.17, NVIDIA Video Codec SDK 12.2.72, PyTorch 2.5.1 ([pull #1466](https://github.com/bytedeco/javacpp-presets/pull/1466)), SentencePiece 0.2.0, TensorFlow Lite 2.18.0, TensorRT 10.6.0.26, Triton Inference Server 2.51.0, ONNX 1.17.0, ONNX Runtime 1.20.0, TVM 0.18.0, and their dependencies
1313

1414
### January 29, 2024 version 1.5.10
1515
* Introduce `macosx-arm64` builds for PyTorch ([pull #1463](https://github.com/bytedeco/javacpp-presets/pull/1463))

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ Each child module in turn relies by default on the included [`cppbuild.sh` scrip
213213
* libpostal 1.1 https://github.com/openvenues/libpostal
214214
* LibRaw 0.21.x https://www.libraw.org/download
215215
* Leptonica 1.85.x http://www.leptonica.org/download.html
216-
* Tesseract 5.4.x https://github.com/tesseract-ocr/tesseract
216+
* Tesseract 5.5.x https://github.com/tesseract-ocr/tesseract
217217
* Caffe 1.0 https://github.com/BVLC/caffe
218218
* OpenPose 1.7.0 https://github.com/CMU-Perceptual-Computing-Lab/openpose
219219
* CUDA 12.6.x https://developer.nvidia.com/cuda-downloads

platform/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@
257257
<dependency>
258258
<groupId>org.bytedeco</groupId>
259259
<artifactId>tesseract-platform</artifactId>
260-
<version>5.4.1-${project.version}</version>
260+
<version>5.5.0-${project.version}</version>
261261
</dependency>
262262
<!-- <dependency>-->
263263
<!-- <groupId>org.bytedeco</groupId>-->

tesseract/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Introduction
99
------------
1010
This directory contains the JavaCPP Presets module for:
1111

12-
* Tesseract 5.4.1 https://github.com/tesseract-ocr
12+
* Tesseract 5.5.0 https://github.com/tesseract-ocr
1313

1414
Please refer to the parent README.md file for more detailed information about the JavaCPP Presets.
1515

@@ -47,7 +47,7 @@ We can use [Maven 3](http://maven.apache.org/) to download and install automatic
4747
<dependency>
4848
<groupId>org.bytedeco</groupId>
4949
<artifactId>tesseract-platform</artifactId>
50-
<version>5.4.1-1.5.11-SNAPSHOT</version>
50+
<version>5.5.0-1.5.11-SNAPSHOT</version>
5151
</dependency>
5252
</dependencies>
5353
<build>

tesseract/cppbuild.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if [[ -z "$PLATFORM" ]]; then
77
exit
88
fi
99

10-
TESSERACT_VERSION=5.4.1
10+
TESSERACT_VERSION=5.5.0
1111
download https://github.com/tesseract-ocr/tesseract/archive/$TESSERACT_VERSION.tar.gz tesseract-$TESSERACT_VERSION.tar.gz
1212

1313
mkdir -p $PLATFORM
@@ -48,6 +48,8 @@ export PKG_CONFIG_PATH=$INSTALL_PATH/lib/pkgconfig/
4848

4949
CMAKE_CONFIG="-DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$LEPTONICA_PATH -DCMAKE_INSTALL_PREFIX=$INSTALL_PATH -DCMAKE_INSTALL_LIBDIR=$INSTALL_PATH/lib -DDISABLE_ARCHIVE=ON -DDISABLE_CURL=ON -DMARCH_NATIVE_OPT=OFF -DOPENMP_BUILD=OFF -DBUILD_SHARED_LIBS=ON -DBUILD_TRAINING_TOOLS=OFF -DLEPT_TIFF_RESULT=1"
5050

51+
patch -RNp1 < ../../../tesseract.patch
52+
5153
case $PLATFORM in
5254
android-arm)
5355
patch -Np1 < ../../../tesseract-android.patch

tesseract/platform/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<groupId>org.bytedeco</groupId>
1414
<artifactId>tesseract-platform</artifactId>
15-
<version>5.4.1-${project.parent.version}</version>
15+
<version>5.5.0-${project.parent.version}</version>
1616
<name>JavaCPP Presets Platform for Tesseract</name>
1717

1818
<properties>

tesseract/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<groupId>org.bytedeco</groupId>
1313
<artifactId>tesseract</artifactId>
14-
<version>5.4.1-${project.parent.version}</version>
14+
<version>5.5.0-${project.parent.version}</version>
1515
<name>JavaCPP Presets for Tesseract</name>
1616

1717
<dependencies>

tesseract/samples/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<dependency>
1313
<groupId>org.bytedeco</groupId>
1414
<artifactId>tesseract-platform</artifactId>
15-
<version>5.4.1-1.5.11-SNAPSHOT</version>
15+
<version>5.5.0-1.5.11-SNAPSHOT</version>
1616
</dependency>
1717
</dependencies>
1818
<build>

tesseract/src/gen/java/org/bytedeco/tesseract/global/tesseract.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,15 +145,15 @@ public class tesseract extends org.bytedeco.tesseract.presets.tesseract {
145145
// clang-format off
146146

147147
public static final int TESSERACT_MAJOR_VERSION = 5;
148-
public static final int TESSERACT_MINOR_VERSION = 4;
149-
public static final int TESSERACT_MICRO_VERSION = 1;
148+
public static final int TESSERACT_MINOR_VERSION = 5;
149+
public static final int TESSERACT_MICRO_VERSION = 0;
150150

151151
public static final int TESSERACT_VERSION =
152152
(TESSERACT_MAJOR_VERSION << 16 |
153153
TESSERACT_MINOR_VERSION << 8 |
154154
TESSERACT_MICRO_VERSION);
155155

156-
public static final String TESSERACT_VERSION_STR = "5.4.1";
156+
public static final String TESSERACT_VERSION_STR = "5.5.0";
157157

158158
// clang-format on
159159

tesseract/src/main/java/org/bytedeco/tesseract/presets/tesseract.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
@Platform(define = "TESS_CAPI_INCLUDE_BASEAPI", include = {"tesseract/export.h", /*"tesseract/osdetect.h",*/ "tesseract/unichar.h",
4343
"tesseract/version.h", "tesseract/publictypes.h", "tesseract/pageiterator.h", "tesseract/ocrclass.h", "tesseract/ltrresultiterator.h",
4444
"tesseract/renderer.h", "tesseract/resultiterator.h", "tesseract/baseapi.h", "tesseract/capi.h", "locale.h"},
45-
compiler = "cpp14", link = "tesseract@.5.4.1"/*, resource = {"include", "lib"}*/),
45+
compiler = "cpp14", link = "tesseract@.5.5"/*, resource = {"include", "lib"}*/),
4646
@Platform(value = "android", link = "tesseract"),
47-
@Platform(value = "windows", link = "tesseract54", preload = "libtesseract54") })
47+
@Platform(value = "windows", link = "tesseract55", preload = "libtesseract55") })
4848
public class tesseract implements InfoMapper {
4949
static { Loader.checkVersion("org.bytedeco", "tesseract"); }
5050

0 commit comments

Comments
 (0)