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)


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

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

Instance Attribute Details

#detectionFloat?

Returns the value of attribute detection.

Returns:

  • (Float, nil)


1506
1507
1508
# File 'sig/types.rbs', line 1506

def detection
  @detection
end

#recognitionFloat?

Returns the value of attribute recognition.

Returns:

  • (Float, nil)


1507
1508
1509
# File 'sig/types.rbs', line 1507

def recognition
  @recognition
end