README.rdoc in rtesseract-1.3.3 vs README.rdoc in rtesseract-2.0.0
- old
+ new
@@ -10,11 +10,11 @@
== REQUIREMENTS:
To work properly rtesseract are needed:
* Tesseract - Program
* ImageMagick - Program
-* RMagick or mini_magick or quick_magick - Gem
+* RMagick or mini_magick - Gem
Atention: Version 1.0.0 works fine with Ruby 2.0 and tesseract 3.0 and lower versions of rtesseract works fine with Ruby 1.8 and tesseract 2.0.4.
== EXAMPLE USAGE
@@ -50,22 +50,21 @@
mix_block.to_s
OR
mix_block = RTesseract::Mixed.new("test.jpg",{:areas => [
- {:x => 28, :y=>19, :width=>25, :height=>25 },
- {:x => 180, :y=>22, :width=>20, :height=>28},
- {:x => 218, :y=>22, :width=>24, :height=>28},
- {:x => 248, :y=>24, :width=>22, :height=>22}
+ {:x => 28, :y=>19, :w=>25, :h=>25 },
+ {:x => 180, :y=>22, :w=>20, :h=>28},
+ {:x => 218, :y=>22, :w=>24, :h=>28},
+ {:x => 248, :y=>24, :w=>22, :h=>22}
]})
mix_block.to_s
=== OPTIONS
Processors Options (_Rmagick_ is default)
RTesseract.new("test.jpg", :processor => "mini_magick")
- RTesseract.new("test.jpg", :processor => "quick_magick")
Note: For non process the image use NoneProcessor
RTesseract.new("test.jpg", :processor => "none")