tesseract_ocr v0.1.2 TesseractOcr View Source
Documentation for TesseractOcr. This Module is a wrapper of tesseract-ocr
Link to this section Summary
Functions
This function executes the tesseract on system and return the output
This function will mount the options to tesseract OCR
This function reads the chars on image by OCR
Link to this section Functions
This function executes the tesseract on system and return the output
This function will mount the options to tesseract OCR
Examples
iex> TesseractOcr.command_options("test/resources/world.png", %{l: "por", oem: "1"}) ["test/resources/world.png", "stdout", "-l", "por", "--oem","1"]
iex> TesseractOcr.command_options("test/resources/world.png", %{l: "por", psm: 1}) ["test/resources/world.png", "stdout", "-l", "por", "--psm", "1"]
iex> TesseractOcr.command_options("test/resources/world.png", %{c: "var=b"}) ["test/resources/world.png", "stdout", "-c", "var=b"]
This function reads the chars on image by OCR
Examples
iex> TesseractOcr.read("test/resources/world.png")
"world"