Sinch Node.js SDK - v1.5.0
    Preparing search index...

    Interface DocumentImageClassification

    An object that identifies a document type within the image, along with a confidence level for that document type.

    interface DocumentImageClassification {
        confidence?: number;
        doc_type?: string;
    }
    Index

    Properties

    confidence?: number

    The likelihood that the analyzed image contains the assigned document type. 1 is the maximum value, representing the highest likelihood that the analyzed image contains the assigned document type, and 0 is the minimum value, representing the lowest likelihood that the analyzed image contains the assigned document type.

    doc_type?: string

    The document type that the analyzed image most likely contains.