class Mindee::Product::InvoiceSplitter::InvoiceSplitterV1PageGroup
Page Group for Invoice Splitter class
def initialize(prediction)
-
prediction
(Hash
) --
def initialize(prediction) @page_indexes = prediction['page_indexes'] @confidence = prediction['confidence'].nil? ? 0.0 : Float(prediction['confidence']) end
def to_s
-
(String)
-
def to_s out_str = String.new out_str << ":Page indexes: #{@page_indexes.join(', ')}" out_str end