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)


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

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

Instance Attribute Details

#detectionFloat?

Returns the value of attribute detection.

Returns:

  • (Float, nil)


1517
1518
1519
# File 'sig/types.rbs', line 1517

def detection
  @detection
end

#recognitionFloat?

Returns the value of attribute recognition.

Returns:

  • (Float, nil)


1518
1519
1520
# File 'sig/types.rbs', line 1518

def recognition
  @recognition
end