mindee
Version:
Mindee Client Library for Node.js
35 lines (34 loc) • 1.12 kB
TypeScript
import { StringDict } from "../../parsing/common";
import { Polygon } from "../../geometry";
/**
* The amount of sodium in the product.
*/
export declare class NutritionFactsLabelV1Sodium {
#private;
/** DVs are the recommended amounts of sodium to consume or not to exceed each day. */
dailyValue: number | null;
/** The amount of sodium per 100g of the product. */
per100G: number | null;
/** The amount of sodium per serving of the product. */
perServing: number | null;
/** The unit of measurement for the amount of sodium. */
unit: string | 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;
}