You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
that provides a Java API for accessing natively-compiled Tesseract and Leptonica APIs.
@@ -28,12 +28,12 @@ results from Tesseract when calling GetRegions().
28
28
## Requires
29
29
30
30
* Android 2.2 or higher
31
-
* A trained data file for a language - available [here](https://code.google.com/p/tesseract-ocr/downloads/list). Data files must be extracted to a subdirectory named "tessdata".
31
+
* A [trained data file](https://code.google.com/p/tesseract-ocr/downloads/list) for a language. Data files must be extracted to a subdirectory named `tessdata`.
32
32
33
33
eyes-two
34
34
========
35
35
36
-
The eyes-two subdirectory contains a second, separate library project with additional image
36
+
The `eyes-two` subdirectory contains a second, separate library project with additional image
37
37
processing code copied from the [eyes-free project](http://code.google.com/p/eyes-free/) without
38
38
modifications. It includes native functions for text detection, blurriness detection, optical flow
39
39
detection, and thresholding. Building eyes-two is not necessary for using the Tesseract API.
@@ -44,32 +44,39 @@ convenience due to its dependency on Leptonica.
44
44
Build
45
45
=====
46
46
47
-
This project is set up to build on Android SDK Tools r19 and Android NDK r7c. The build works on 64-bit Ubuntu 11.04. It's been reported to not work on Ubuntu 11.10 (Issue 6).
47
+
This project is set up to build on Android SDK Tools r19 and Android NDK r7c. The build works on Linux, Mac OS X, and Windows 7. See [Issues](https://github.com/rmtheis/tess-two/issues) for reported build issues.
48
48
49
-
On 64-bit Ubuntu, you may need to install the "ia32-libs" 32-bit compatibility library.
49
+
On 64-bit Ubuntu, you may need to install the `ia32-libs` 32-bit compatibility library.
50
50
51
51
To build tess-two, run the following commands in the terminal:
52
52
53
53
git clone git://github.com/rmtheis/tess-two tess
54
-
cd tess/tess-two
54
+
cd tess
55
+
cd tess-two
55
56
ndk-build
56
57
android update project --path .
57
58
ant release
58
59
59
60
To build eyes-two, additionally run the following:
60
61
61
-
cd ../eyes-two
62
+
cd ..
63
+
cd eyes-two
62
64
ndk-build
63
65
android update project --path .
64
66
ant release
65
67
66
68
After building, the tess-two and eyes-two projects can be imported into Eclipse using
67
69
File->Import->Existing Projects into Workspace.
68
70
71
+
Maven
72
+
=====
73
+
74
+
While this project does not require Maven (and this project has not yet been registered in a Maven central repository), it can be [integrated into a local Maven repository for convenience](http://www.jameselsey.co.uk/blogs/techblog/tesseract-ocr-on-android-is-easier-if-you-maven-ise-it-works-on-windows-too/).
75
+
69
76
License
70
77
=======
71
78
72
-
This project is licensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)
79
+
This project is licensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html).
73
80
74
81
/*
75
82
* Copyright 2011 Robert Theis
@@ -87,8 +94,4 @@ This project is licensed under the [Apache License, Version 2.0](http://www.apac
87
94
* limitations under the License.
88
95
*/
89
96
90
-
91
-
This project contains third party software within "tess-two/jni" with separate license agreements:
92
-
93
-
* Tesseract 3.02 (Modified to add TessBaseAPI::GetCharacters())
94
-
* Leptonica 1.68 (Unmodified)
97
+
[Leptonica](http://www.leptonica.com) by Dan Bloomberg is licensed under a [Creative Commons Attribution 3.0 United States License](http://creativecommons.org/licenses/by/3.0/us/).
0 commit comments