Skip to main content

Get OCR Text With File

Gets the text from a given file path using the OCR screen scraping method

Input

  • Path: File Path Description
    • Type: System.String
    • Required
  • FPoint: Helps to make the image more readable by enlarging or reducing the size of the image by the entered setting in the OCR library. Note: Making the image too large does not mean that the image is read very well. When the image is too large, breaks can occur.
    • Type: System.Int32
    • Required
  • Language Type: OCR Language Type
    • Type: System.Int32
    • Required
    • Dropdown Options:
      • All
      • Eng
      • Tur
      • Deu
      • Fra
      • Hin
      • Ita
      • Lat
      • Rus
      • Spa
  • Is Scanned: Indicates whether the relevant image was scanned by a browser.
    • Type: System.Boolean
  • Config Type: Config Type of OCR
    • Type: System.Int32
    • Dropdown Options:
      • None
      • PSM 4
      • PSM 4 Only Digits
      • PSM 6
      • PSM 6 Only Digits
      • PSM 11
      • PSM 11 Only Digits

Output

  • Text: It provides the output of the text read from the file.
    • Type: System.Collections.Generic.IEnumerable<System.String>
    • Required