Tesseract::OcrWords
This Module is a wrapper of tesseract-ocr
Instance methods
content_match(string, re)
Sourceparse(content)
Sourceparse_confidence(line)
Sourceparse_line(line)
Sourceparse_position(line)
Sourceread(path, options = Hash(Symbol, String | Int32).new)
This function reads the words on image by OCR then returns with the positions
Tesseract::OcrWords.read("spec/resources/world.png") => "world"
word_info(word, positions, confidence)
Source