UNPKG

mindee

Version:

Mindee Client Library for Node.js

33 lines (32 loc) 1.04 kB
import { StringDict } from "../../parsing/common"; import { Polygon } from "../../geometry"; /** * The amount of calories in the product. */ export declare class NutritionFactsLabelV1Calorie { #private; /** DVs are the recommended amounts of calories to consume or not to exceed each day. */ dailyValue: number | null; /** The amount of calories per 100g of the product. */ per100G: number | null; /** The amount of calories per serving of the product. */ perServing: number | null; /** Confidence score */ confidence: number; /** The document page on which the information was found. */ pageId: number; /** * Contains the relative vertices coordinates (points) of a polygon containing * the field in the document. */ polygon: Polygon; constructor({ prediction }: StringDict); /** * Default string representation. */ toString(): string; /** * Output in a format suitable for inclusion in a field list. */ toFieldList(): string; }