DocumentDetector Class

Namespace: id3.Document

Definition

Detects documents in images.

Properties

Name

Type

Description

confidenceThreshold

int

Confidence threshold, from 0 to 100+.

documentWidthRatio

float

Ratio of the estimated width of the searched document in the image.

model

DocumentModel

Model to be used for document detection.

processingUnit

ProcessingUnit

Processing unit where to run the detection process.

threadCount

int

Number of threads to use for detection.

Methods

Name

Description

alignDocument

Aligns and crops the specified document on the specified image and returns a new DocumentImage.

detectDocument

Detects a document on a delimited area of the specified DocumentImage and returns a DetectedDocument.

detectDocumentByName

Detects a document with specified name on a delimited area of the specified DocumentImage and returns a DetectedDocument.