mirror of
https://github.com/adaptech-cz/Tesseract4Android.git
synced 2026-01-09 06:12:45 +08:00
Release version 2.0.1
This commit is contained in:
parent
98a4b0074a
commit
a47b0f6aa9
@ -21,6 +21,14 @@ copied to the Android device to a directory named `tessdata`.
|
||||
- If you want to use PdfRenderer, copy also [pdf.ttf][pdffile] file to the `tessdata` directory.
|
||||
- Application must hold permission `READ_EXTERNAL_STORAGE` to access `tessdata` directory.
|
||||
|
||||
## Usage
|
||||
|
||||
To use Tesseract4Android in your project add dependency to your `build.gradle` file:
|
||||
|
||||
dependencies {
|
||||
implementation 'cz.adaptech.android:tesseract4android:2.0.1'
|
||||
}
|
||||
|
||||
## Building
|
||||
|
||||
You can use Android Studio (tested on version 3.4.2) to open the project and build the AAR. Or you can use `gradlew` from command line.
|
||||
|
||||
@ -7,8 +7,8 @@ android {
|
||||
targetSdkVersion 28
|
||||
// TODO: We can set specific NDK version we want to use, see https://developer.android.com/studio/projects/install-ndk#specific-version
|
||||
// ndkVersion "major.minor.build"
|
||||
versionCode 2
|
||||
versionName "2.0.0"
|
||||
versionCode 3
|
||||
versionName "2.0.1"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user