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

#confidence ⇒ Float

Amazon Textract's confidence in its predicted value.

Returns:

  • (Float)


3438
3439
3440
3441
3442
3443
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 3438

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

#value ⇒ String

The predicted value of a detected object.

Returns:

  • (String)


3438
3439
3440
3441
3442
3443
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 3438

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