Skip to content

Commit 8c1e192

Browse files
author
Damir Porobic
committed
Try using tesseract 4 for windows build
1 parent 6792476 commit 8c1e192

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.github/workflows/windows.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,6 @@ jobs:
3737
- name: Set up SW path
3838
run: echo "D:\a\ksnip-plugin-ocr\ksnip-plugin-ocr\sw" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
3939

40-
# - name: Build and install libtiff
41-
# run: |
42-
# git clone --depth 1 https://gitlab.com/libtiff/libtiff
43-
# cd libtiff
44-
# mkdir build
45-
# cd build && cmake .. -G"NMake Makefiles" -DCMAKE_INSTALL_PREFIX="$env:INSTALL_PREFIX" -DCMAKE_BUILD_TYPE=Release
46-
# nmake
47-
# nmake install
48-
4940
- name: Build and install leptonica
5041
run: |
5142
git clone --depth 1 https://github.com/DanBloomberg/leptonica.git
@@ -57,7 +48,7 @@ jobs:
5748
5849
- name: Build and install tessarect
5950
run: |
60-
git clone --depth 1 https://github.com/tesseract-ocr/tesseract.git
51+
git clone --depth 1 --branch "4.1.3" https://github.com/tesseract-ocr/tesseract.git
6152
cd tesseract
6253
mkdir build
6354
cd build && cmake .. -G"NMake Makefiles" -DCMAKE_INSTALL_PREFIX="$env:INSTALL_PREFIX" -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DBUILD_TRAINING_TOOLS=OFF -DOPENMP_BUILD=OFF

0 commit comments

Comments
 (0)