File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change 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
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
You can’t perform that action at this time.
0 commit comments