FoodDetectionEvent

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

Attribute
Description

candidates

A collection of food candidates detected by the models (optional).

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