Skip to content

Commit

Permalink
Update version and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Robyer committed Jan 11, 2021
1 parent a511589 commit 8fb4eae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Tesseract4Android

Fork of tess-two rewritten from scratch to build with CMake and support latest Android Studio and Tesseract 4.
Fork of tess-two rewritten from scratch to build with CMake and support latest Android Studio and Tesseract OCR.

The Java/JNI wrapper files and tests for Leptonica / Tesseract are based on the [tess-two project][tess-two], which is based on [Tesseract Tools for Android][tesseract-android-tools].

## Dependencies

This project uses additional libraries (with their own specific licenses):

- [Tesseract][tesseract-ocr] 4.1.1
- [Tesseract OCR][tesseract-ocr] 5.0.0-alpha
- [Leptonica][leptonica] 1.79.0
- [libjpeg][jpeg] v9c
- [libpng][png] 1.6.37
Expand All @@ -25,12 +25,12 @@ copied to the Android device to a directory named `tessdata`.
To use Tesseract4Android in your project add dependency to your `build.gradle` file:

dependencies {
implementation 'cz.adaptech.android:tesseract4android:2.1.0'
implementation 'cz.adaptech.android:tesseract4android:2.2.0-dev'
}

## Building

You can use Android Studio (tested on version 3.5.3) to open the project and build the AAR. Or you can use `gradlew` from command line.
You can use Android Studio (tested on version 4.1.1) to open the project and build the AAR. Or you can use `gradlew` from command line.

To build the release version of the library, use task `tesseract4android:assembleRelease`. After successful build, you will have resulting `AAR` file in the `<project dir>/tesseract4Android/build/outputs/aar/` directory.

Expand Down
4 changes: 2 additions & 2 deletions tesseract4android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ android {
defaultConfig {
minSdkVersion 16
targetSdkVersion 28
versionCode 4
versionName "2.1.0"
versionCode 5
versionName "2.2.0-dev"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
externalNativeBuild {
cmake {
Expand Down

0 comments on commit 8fb4eae

Please sign in to comment.