Module: CloudmersiveOcrApiClient

Defined in:
lib/cloudmersive-ocr-api-client/version.rb,
lib/cloudmersive-ocr-api-client.rb,
lib/cloudmersive-ocr-api-client/api_error.rb,
lib/cloudmersive-ocr-api-client/api_client.rb,
lib/cloudmersive-ocr-api-client/models/point.rb,
lib/cloudmersive-ocr-api-client/configuration.rb,
lib/cloudmersive-ocr-api-client/api/pdf_ocr_api.rb,
lib/cloudmersive-ocr-api-client/api/receipts_api.rb,
lib/cloudmersive-ocr-api-client/api/image_ocr_api.rb,
lib/cloudmersive-ocr-api-client/models/field_result.rb,
lib/cloudmersive-ocr-api-client/models/table_result.rb,
lib/cloudmersive-ocr-api-client/api/preprocessing_api.rb,
lib/cloudmersive-ocr-api-client/models/ocr_page_result.rb,
lib/cloudmersive-ocr-api-client/models/ocr_line_element.rb,
lib/cloudmersive-ocr-api-client/models/ocr_word_element.rb,
lib/cloudmersive-ocr-api-client/models/table_row_result.rb,
lib/cloudmersive-ocr-api-client/models/receipt_line_item.rb,
lib/cloudmersive-ocr-api-client/models/table_cell_result.rb,
lib/cloudmersive-ocr-api-client/models/pdf_to_text_response.rb,
lib/cloudmersive-ocr-api-client/models/form_field_definition.rb,
lib/cloudmersive-ocr-api-client/models/form_table_definition.rb,
lib/cloudmersive-ocr-api-client/models/get_page_angle_result.rb,
lib/cloudmersive-ocr-api-client/models/image_to_text_response.rb,
lib/cloudmersive-ocr-api-client/models/ocr_photo_text_element.rb,
lib/cloudmersive-ocr-api-client/models/form_recognition_result.rb,
lib/cloudmersive-ocr-api-client/models/form_definition_template.rb,
lib/cloudmersive-ocr-api-client/models/receipt_recognition_result.rb,
lib/cloudmersive-ocr-api-client/models/form_table_column_definition.rb,
lib/cloudmersive-ocr-api-client/models/business_card_recognition_result.rb,
lib/cloudmersive-ocr-api-client/models/pdf_to_lines_with_location_result.rb,
lib/cloudmersive-ocr-api-client/models/pdf_to_words_with_location_result.rb,
lib/cloudmersive-ocr-api-client/models/image_to_lines_with_location_result.rb,
lib/cloudmersive-ocr-api-client/models/image_to_words_with_location_result.rb,
lib/cloudmersive-ocr-api-client/models/photo_to_words_with_location_result.rb,
lib/cloudmersive-ocr-api-client/models/ocr_page_result_with_lines_with_location.rb,
lib/cloudmersive-ocr-api-client/models/ocr_page_result_with_words_with_location.rb

Overview

#ocrapi

#The powerful Optical Character Recognition (OCR) APIs let you convert scanned images of pages into recognized text.

OpenAPI spec version: v1

Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.14

Defined Under Namespace

Classes: ApiClient, ApiError, BusinessCardRecognitionResult, Configuration, FieldResult, FormDefinitionTemplate, FormFieldDefinition, FormRecognitionResult, FormTableColumnDefinition, FormTableDefinition, GetPageAngleResult, ImageOcrApi, ImageToLinesWithLocationResult, ImageToTextResponse, ImageToWordsWithLocationResult, OcrLineElement, OcrPageResult, OcrPageResultWithLinesWithLocation, OcrPageResultWithWordsWithLocation, OcrPhotoTextElement, OcrWordElement, PdfOcrApi, PdfToLinesWithLocationResult, PdfToTextResponse, PdfToWordsWithLocationResult, PhotoToWordsWithLocationResult, Point, PreprocessingApi, ReceiptLineItem, ReceiptRecognitionResult, ReceiptsApi, TableCellResult, TableResult, TableRowResult

Constant Summary collapse

VERSION =
'2.0.2'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

CloudmersiveOcrApiClient.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



62
63
64
65
66
67
68
# File 'lib/cloudmersive-ocr-api-client.rb', line 62

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end