DocumentDetector Class¶
Namespace: id3.Document
Definition¶
Detects documents in images.
Properties¶
Name |
Type |
Description |
|---|---|---|
int |
Confidence threshold, from 0 to 100+. |
|
float |
Ratio of the estimated width of the searched document in the image. |
|
Model to be used for document detection. |
||
Processing unit where to run the detection process. |
||
int |
Number of threads to use for detection. |
Methods¶
Name |
Description |
|---|---|
Aligns and crops the specified document on the specified image and returns a new DocumentImage. |
|
Detects a document on a delimited area of the specified DocumentImage and returns a DetectedDocument. |
|
Detects a document with specified name on a delimited area of the specified DocumentImage and returns a DetectedDocument. |