rtesseract 3.0.1 → 3.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c40e571fce623118c523c005a8d8404d99390ae90fa73d43a50ee873b103d431
4
- data.tar.gz: a4d7325c79141f3bb9625def8b28b1ef808f6dc7e6ab59abefb2178a73b59277
3
+ metadata.gz: aa205feaeb6a538fbe70f6482e2ac8cd99c709b40f977d69addb38689045d9a9
4
+ data.tar.gz: 9216bd8d9aae244e8e6dd527e050a0281f940a8aeebfcfa3f7d696c1c830a1b1
5
5
  SHA512:
6
- metadata.gz: 39198fd34d327c75172433a3c811ced60b6cf4be19bb7071a922ea66a9336f3023f0d1edaa70e0f9cf695c95e9b9eb1928690449213f6740b0ad4f5779be3d61
7
- data.tar.gz: 97684d198ce69b722e03c6f2bde257eac62f772d23e5fd2695eafe47a053c72731f0335c95e779ded290cc50d70c4fc21d3841ca27691c80856c02655630c6a4
6
+ metadata.gz: 47df8a451610fbbae458851a626fb48a97ecb77a7eb32c24fcc29cb38465e4ac0d170f447cf557ade0ff8776bfee7fe5e102cb1bb32a2eacfbbc6eaf38a89a7d
7
+ data.tar.gz: 0540a33932743072a560a99ba5a0224ffd855df6dd8890fb2072582cc12af94f62c1aa6d2bf5b193e56bcf9e308f1daef85cd438da04aaffd9d083ba750d1c0a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rtesseract (3.0.0)
4
+ rtesseract (3.0.2)
5
5
  nokogiri
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -66,22 +66,22 @@ This will preserve the image colors, pictures and structure in the generated pdf
66
66
 
67
67
  ### Language
68
68
 
69
- ```ruby
70
- RTesseract.new('test.jpg', lang: 'deu')
71
- ```
72
-
73
- * eng - English
74
- * deu - German
75
- * deu-f - German fraktur
76
- * fra - French
77
- * ita - Italian
78
- * nld - Dutch
79
- * por - Portuguese
80
- * spa - Spanish
81
- * vie - Vietnamese
82
- * or any other supported by tesseract.
83
-
84
- Note: Make sure you have installed the language to tesseract
69
+ ```ruby
70
+ RTesseract.new('test.jpg', lang: 'deu')
71
+ ```
72
+
73
+ * eng - English
74
+ * deu - German
75
+ * deu-f - German fraktur
76
+ * fra - French
77
+ * ita - Italian
78
+ * nld - Dutch
79
+ * por - Portuguese
80
+ * spa - Spanish
81
+ * vie - Vietnamese
82
+ * or any other supported by tesseract.
83
+
84
+ Note: Make sure you have installed the language to tesseract
85
85
 
86
86
  ### Other options
87
87
 
@@ -96,11 +96,9 @@ This will preserve the image colors, pictures and structure in the generated pdf
96
96
  ```
97
97
 
98
98
  ### BOUNDING BOX: TO GET WORDS WITH THEIR POSITIONS
99
- ```ruby
100
- RTesseract.new('test_words.png').to_box
101
- ```
102
99
 
103
100
  ```ruby
101
+ RTesseract.new('test_words.png').to_box
104
102
  => [
105
103
  {:word => 'If', :x_start=>52, :y_start=>13, :x_end=>63, :y_end=>27},
106
104
  {:word => 'you', :x_start=>69, :y_start=>17, :x_end=>100, :y_end=>31},
@@ -1,3 +1,3 @@
1
1
  class RTesseract
2
- VERSION = '3.0.1'.freeze
2
+ VERSION = '3.0.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rtesseract
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danilo Jeremias da Silva