DocumentDetector.confidenceThreshold Property

Module: DocumentDetector

Type: int

Definition

Confidence threshold, from 0 to 100+.

Hint

Default value is 50. Lower threshold can increase number of false detection.

confidence_threshold: int

Exceptions

An error has occurred during Document Library execution.
int get confidenceThreshold => getConfidenceThreshold();
set confidenceThreshold(int value) => setConfidenceThreshold(value);

Exceptions

An error has occurred during Document Library execution.
public int confidenceThreshold
{
    get => GetconfidenceThreshold();
    set => SetconfidenceThreshold(ref value);
}

Exceptions

An error has occurred during Document Library execution.
public int getConfidenceThreshold() throws DocumentException
public void setConfidenceThreshold(int confidenceThreshold) throws DocumentException

Exceptions

An error has occurred during Document Library execution.
public var confidenceThreshold: Int
    get {
        return Int(try! getConfidenceThreshold())
    }
}

Exceptions

An error has occurred during Document Library execution.
int id3DocumentDetector_GetConfidenceThreshold (ID3_DOCUMENT_DETECTOR hDocumentDetector, int * confidenceThreshold)
int id3DocumentDetector_SetConfidenceThreshold (ID3_DOCUMENT_DETECTOR hDocumentDetector, int confidenceThreshold)

Returns

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