UNPKG

mindee

Version:

Mindee Client Library for Node.js

18 lines (17 loc) 608 B
import { Inference, StringDict, Page } from "../../../parsing/common"; import { IdCardV2Document } from "./idCardV2Document"; import { IdCardV2Page } from "./idCardV2Page"; /** * Carte Nationale d'Identité API version 2 inference prediction. */ export declare class IdCardV2 extends Inference { /** The endpoint's name. */ endpointName: string; /** The endpoint's version. */ endpointVersion: string; /** The document-level prediction. */ prediction: IdCardV2Document; /** The document's pages. */ pages: Page<IdCardV2Page>[]; constructor(rawPrediction: StringDict); }