GoogleCloudVisionOCR

GoogleCloudVisionOCR (ODC)

Stable version 0.1.1 (Compatible with ODC)
Uploaded on 03 September 2024 by Product League
GoogleCloudVisionOCR

GoogleCloudVisionOCR (ODC)

Documentation
0.1.1

A library that allows applications to use Google's Cloud Vision API (https://cloud.google.com/vision/) to perform OCR (Optical Character Recognition) on images. The library contains the following actions:

GetFullText

Extracts the full text from the provided image.

Parameters

  • image (Binary Data) - The image to be analyzed.
  • googleAPIKey (Text) - The Google API key to use when calling Google's Vision API methods.
  • languageHints (Text List) - A list of strings containing the Language Codes to use when performing the OCR.
  • FoundText (Output - Text) - The full text found in the image, if any.


GetTextAnnotations

Returns a collection of TextAnnotation objects. Each object in the collection identifies an area of the image where text was detected.

Parameters

  • image (Binary Data) - The image to be analyzed.
  • googleAPIKey (Text) - The Google API key to use when calling Google's Vision API methods.
  • languageHints (Text List) - A list of strings containing the Language Codes to use when performing the OCR.
  • TextAnnotations (Output - TextAnnotation List) - A list of objects identifying the areas of the image where text was detected.


GetValuesByRegex

Extracts all values from the provided image that match at least one of the specified Regular Expressions.

Parameters

  • image (Binary Data) - The image to be analyzed.
  • googleAPIKey (Text) - The Google API key to use when calling Google's Vision API methods.
  • regexes (Text List) - A list of strings containing the Regular Expressions to use to find the values.
  • languageHints (Text List) - A list of strings containing the Language Codes to use when performing the OCR.
  • FoundValues (Output - Text List) - A list of strings containing the values found in the image, if any.