class Mindee::Product::FR::HealthCard::HealthCardV1

Health Card API version 1 inference prediction.

def initialize(prediction)

Parameters:
  • prediction (Hash) --
def initialize(prediction)
  super
  @prediction = HealthCardV1Document.new(prediction['prediction'], nil)
  @pages = []
  prediction['pages'].each do |page|
    @pages.push(HealthCardV1Page.new(page))
  end
end