mindee
    Preparing search index...

    Class Page<T>

    Page prediction wrapper class. Holds the results of a parsed document's page. Holds a Prediction that's either a document-level Prediction, or inherits from one.

    Type Parameters

    • T extends Prediction

      an extension of an Prediction. Mandatory in order to properly create a page-level prediction.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    extras?: Extras<ExtraField>

    Potential Extras fields sent back along with the prediction.

    id: number

    The page's index (identifier).

    orientation?: OrientationField

    The page's orientation

    prediction: T

    A page-level prediction. Can either be specific to pages or identical to the document prediction.

    Methods