Class: Aws::Textract::Types::Prediction

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb

Overview

Contains information regarding predicted values returned by Amazon Textract operations, including the predicted value and the confidence in the predicted value.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#confidenceFloat

Amazon Textract's confidence in its predicted value.

Returns:

  • (Float)


2516
2517
2518
2519
2520
2521
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 2516

class Prediction < Struct.new(
  :value,
  :confidence)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

The predicted value of a detected object.

Returns:

  • (String)


2516
2517
2518
2519
2520
2521
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 2516

class Prediction < Struct.new(
  :value,
  :confidence)
  SENSITIVE = []
  include Aws::Structure
end