tesseract-ocr 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -7
- data/lib/tesseract/c.rb +2 -2
- data/lib/tesseract/c/baseapi.rb +1 -1
- data/lib/tesseract/c/iterator.rb +1 -1
- data/lib/tesseract/c/leptonica.rb +1 -1
- data/lib/tesseract/version.rb +1 -1
- metadata +31 -11
data/README.md
CHANGED
@@ -1,20 +1,14 @@
|
|
1
1
|
ruby-tesseract - Ruby bindings and wrapper
|
2
2
|
==========================================
|
3
|
-
This wrapper binds the TessBaseAPI object through ffi-
|
3
|
+
This wrapper binds the TessBaseAPI object through ffi-inline (which means it will work on JRuby too)
|
4
4
|
and then proceeds to wrap said API in a more ruby-esque Engine class.
|
5
5
|
|
6
6
|
Making it work
|
7
7
|
--------------
|
8
8
|
To make this library work you need tesseract-ocr and leptonica libraries and headers and a C++ compiler.
|
9
9
|
|
10
|
-
For now you also need to install my own version of [ffi-inliner](https://github.com/meh/ffi-inliner)
|
11
|
-
because it's still under review for upstream merging.
|
12
|
-
|
13
10
|
The gem is called `tesseract-ocr`.
|
14
11
|
|
15
|
-
If you're having any problem requiring tesseract or any dependencies, check the permissions of the installed
|
16
|
-
gems.
|
17
|
-
|
18
12
|
Examples
|
19
13
|
--------
|
20
14
|
Following are some examples that show the functionalities provided by tesseract-ocr.
|
data/lib/tesseract/c.rb
CHANGED
data/lib/tesseract/c/baseapi.rb
CHANGED
data/lib/tesseract/c/iterator.rb
CHANGED
data/lib/tesseract/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tesseract-ocr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-04-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: call-me
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,15 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
31
|
name: iso-639
|
27
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
28
33
|
none: false
|
29
34
|
requirements:
|
30
35
|
- - ! '>='
|
@@ -32,10 +37,15 @@ dependencies:
|
|
32
37
|
version: '0'
|
33
38
|
type: :runtime
|
34
39
|
prerelease: false
|
35
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
36
46
|
- !ruby/object:Gem::Dependency
|
37
47
|
name: ffi-extra
|
38
|
-
requirement:
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
39
49
|
none: false
|
40
50
|
requirements:
|
41
51
|
- - ! '>='
|
@@ -43,10 +53,15 @@ dependencies:
|
|
43
53
|
version: '0'
|
44
54
|
type: :runtime
|
45
55
|
prerelease: false
|
46
|
-
version_requirements:
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
47
62
|
- !ruby/object:Gem::Dependency
|
48
63
|
name: ffi-inline
|
49
|
-
requirement:
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
50
65
|
none: false
|
51
66
|
requirements:
|
52
67
|
- - ! '>='
|
@@ -54,7 +69,12 @@ dependencies:
|
|
54
69
|
version: '0'
|
55
70
|
type: :runtime
|
56
71
|
prerelease: false
|
57
|
-
version_requirements:
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
58
78
|
description:
|
59
79
|
email: meh@paranoici.org
|
60
80
|
executables:
|
@@ -220,7 +240,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
220
240
|
version: '0'
|
221
241
|
requirements: []
|
222
242
|
rubyforge_project:
|
223
|
-
rubygems_version: 1.8.
|
243
|
+
rubygems_version: 1.8.23
|
224
244
|
signing_key:
|
225
245
|
specification_version: 3
|
226
246
|
summary: A wrapper library to the tesseract-ocr API.
|