module Tesseract::OcrWords
Overview
This Module is a wrapper of tesseract-ocr
Extended Modules
Defined in:
tesseract-ocr-words.crInstance Method Summary
- #content_match(string, re)
- #parse(content)
- #parse_confidence(line)
- #parse_line(line)
- #parse_position(line)
-
#read(path, options = Hash(Symbol, String | Int32).new)
This function reads the words on image by OCR then returns with the positions
- #word_info(word, positions, confidence)
Instance Method Detail
This function reads the words on image by OCR then returns with the positions
Tesseract::OcrWords.read("spec/resources/world.png") => "world"