FoodDetectionEvent

An object provided in the callback for food detection containing food candidates as well as nutrition facts, if found

import type { FoodCandidates } from '.'

/**
 * An object provided in the callback for food detection containing
 * food candidates as well as nutrition facts, if found
 */
export interface FoodDetectionEvent {
  /**
   * A collection of food candidates detected by the models.
   */
  candidates?: FoodCandidates

}

Last updated