forked from tesseract-ocr/tesseract
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:egorpugin/tesseract
- Loading branch information
Showing
83 changed files
with
462 additions
and
356 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,6 +59,8 @@ training/wordlist2dawg | |
*.o | ||
*.Plo | ||
*.a | ||
*.class | ||
*.jar | ||
|
||
# tessdata | ||
*.cube.* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
language: cpp | ||
|
||
notifications: | ||
email: false | ||
|
||
sudo: required | ||
|
||
os: | ||
- linux | ||
- osx | ||
|
||
branches: | ||
only: | ||
- master | ||
|
||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- gcc-4.8 | ||
- g++-4.8 | ||
|
||
before_install: | ||
- if [[ $TRAVIS_OS_NAME == linux ]]; then LINUX=true; fi | ||
- if [[ $TRAVIS_OS_NAME == osx ]]; then OSX=true; fi | ||
|
||
- if [[ $OSX ]]; then brew update; fi | ||
|
||
install: | ||
- if [[ $OSX ]]; then brew install icu4c pango; brew link --force gettext; fi | ||
- if [[ $OSX ]]; then export ICU_ROOT=/usr/local/opt/icu4c ; fi | ||
- wget http://www.cmake.org/files/v3.3/cmake-3.3.1-Linux-x86_64.sh | ||
- sudo sh cmake-3.3.1-Linux-x86_64.sh --skip-license --prefix=/usr | ||
- wget -O leptonica.zip https://github.com/egorpugin/leptonica/archive/master.zip | ||
- unzip leptonica.zip -d . | ||
- cmake -Hleptonica-master -Bleptonica-master/build | ||
- make -C leptonica-master/build | ||
- if [[ $LINUX && "$CXX" = "g++" ]]; then export CXX="g++-4.8" CC="gcc-4.8"; fi | ||
|
||
script: | ||
- mkdir build | ||
- cd build | ||
- cmake .. -DLeptonica_DIR=leptonica-master/build | ||
- make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
os: Visual Studio 2015 | ||
|
||
platform: | ||
- Win32 | ||
- Win64 | ||
|
||
configuration: | ||
- Debug | ||
|
||
before_build: | ||
- if %platform%==Win32 set generator=Visual Studio 14 | ||
- if %platform%==Win64 set generator=Visual Studio 14 Win64 | ||
- if %platform%==Win32 set vcplatform=Win32 | ||
- if %platform%==Win64 set vcplatform=x64 | ||
- ps: Start-FileDownload 'https://github.com/egorpugin/leptonica/archive/master.zip' -FileName leptonica.zip | ||
- 7z x leptonica.zip | ||
- cmake -Hleptonica-master -Bleptonica-master/build -G "%generator%" | ||
- msbuild leptonica-master/build/leptonica.sln /p:Platform=%vcplatform% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" | ||
|
||
build_script: | ||
- mkdir build | ||
- cd build | ||
- cmake .. -G "%generator%" -DLeptonica_DIR=leptonica-master/build -DSTATIC=1 | ||
- msbuild tesseract.sln /p:Platform=%vcplatform% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.