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)


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

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

Instance Attribute Details

#detectionFloat?

Returns the value of attribute detection.

Returns:

  • (Float, nil)


1561
1562
1563
# File 'sig/types.rbs', line 1561

def detection
  @detection
end

#recognitionFloat?

Returns the value of attribute recognition.

Returns:

  • (Float, nil)


1562
1563
1564
# File 'sig/types.rbs', line 1562

def recognition
  @recognition
end