tesseract-ocr 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tesseract/api.rb +1 -1
- data/lib/tesseract/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ba69437f990d1dec349c582d119d1d8a5007477
|
4
|
+
data.tar.gz: 7e536618d411e1e568afb1a57958b10074d8c5db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6509845536b6acc5451974756bc006bbdea858968f3cd793d3d59f57973eb8f777856ab230e9935caccb902ec73a4444de47527132d877b495fa30538dfd77b
|
7
|
+
data.tar.gz: 3528e0185fbf1c8c57284baa753e9e75c886f12952ebc2fb69169d9b08ea89a99b0b0df915b5f18e5dc00958baadbaabe696146d3a33284e3186eee100bd5078
|
data/lib/tesseract/api.rb
CHANGED
@@ -99,7 +99,7 @@ class API
|
|
99
99
|
end
|
100
100
|
end
|
101
101
|
|
102
|
-
def init (datapath = '.', language = 'eng', mode = :DEFAULT)
|
102
|
+
def init (datapath = Tesseract.prefix || '.', language = 'eng', mode = :DEFAULT)
|
103
103
|
unless C::BaseAPI.init(to_ffi, datapath, language.to_s, mode).zero?
|
104
104
|
raise 'the API did not Init correctly'
|
105
105
|
end
|
data/lib/tesseract/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- meh.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: call-me
|
@@ -231,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
231
231
|
version: '0'
|
232
232
|
requirements: []
|
233
233
|
rubyforge_project:
|
234
|
-
rubygems_version: 2.
|
234
|
+
rubygems_version: 2.4.5
|
235
235
|
signing_key:
|
236
236
|
specification_version: 4
|
237
237
|
summary: A wrapper library to the tesseract-ocr API.
|