Class: Xberg::OcrConfidence

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeOcrConfidence

Returns a new instance of OcrConfidence.

Parameters:

  • detection: (Float)
  • recognition: (Float)


1626
# File 'sig/types.rbs', line 1626

def initialize: (?detection: Float, ?recognition: Float) -> void

Instance Attribute Details

#detectionFloat?

Returns the value of attribute detection.

Returns:

  • (Float, nil)


1623
1624
1625
# File 'sig/types.rbs', line 1623

def detection
  @detection
end

#recognitionFloat?

Returns the value of attribute recognition.

Returns:

  • (Float, nil)


1624
1625
1626
# File 'sig/types.rbs', line 1624

def recognition
  @recognition
end