README.md in rtesseract-3.0.1 vs README.md in rtesseract-3.0.2

- old
+ new

@@ -64,26 +64,26 @@ ## Options ### Language - ```ruby - RTesseract.new('test.jpg', lang: 'deu') - ``` + ```ruby + RTesseract.new('test.jpg', lang: 'deu') + ``` - * eng - English - * deu - German - * deu-f - German fraktur - * fra - French - * ita - Italian - * nld - Dutch - * por - Portuguese - * spa - Spanish - * vie - Vietnamese - * or any other supported by tesseract. + * eng - English + * deu - German + * deu-f - German fraktur + * fra - French + * ita - Italian + * nld - Dutch + * por - Portuguese + * spa - Spanish + * vie - Vietnamese + * or any other supported by tesseract. - Note: Make sure you have installed the language to tesseract + Note: Make sure you have installed the language to tesseract ### Other options ```ruby RTesseract.new('test.jpg', config_file: :digits) # Only digit recognition @@ -94,14 +94,12 @@ ```ruby RTesseract.new('test.jpg', config_file: 'digits quiet') ``` ### BOUNDING BOX: TO GET WORDS WITH THEIR POSITIONS - ```ruby - RTesseract.new('test_words.png').to_box - ``` ```ruby + RTesseract.new('test_words.png').to_box => [ {:word => 'If', :x_start=>52, :y_start=>13, :x_end=>63, :y_end=>27}, {:word => 'you', :x_start=>69, :y_start=>17, :x_end=>100, :y_end=>31}, {:word => 'are', :x_start=>108, :y_start=>17, :x_end=>136, :y_end=>27}, {:word => 'a', :x_start=>143, :y_start=>17, :x_end=>151, :y_end=>27},