Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# DetectedDocument.confidence Property

Module: DetectedDocument

Type: int

## Definition

Confidence score of the detected document, from 0 to 100.

Python

    confidence: int

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Dart

    int get confidence => getConfidence();

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

C#

    public int confidence
    {
        get => Getconfidence();
    }

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Java

    public int getConfidence() throws DocumentException

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Swift

    public var confidence: Int
        get {
            return Int(try! getConfidence())
        }
    }

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

C

    int id3DetectedDocument_GetConfidence (ID3_DETECTED_DOCUMENT hDetectedDocument, int * confidence)

Returns

> `int`
> An error code.
> See id3DocumentError file for the list of possible error codes.