public interface IImageCaptureService extends IRecognitionService
Modifier and Type | Interface and Description |
---|---|
static interface |
IImageCaptureService.Callback
A callback interface to interact with the image capture service: input the data and obtain the results.
|
static interface |
IImageCaptureService.ExtendedSettings
Extended service configuration settings.
|
static class |
IImageCaptureService.QualityAssessmentForOcrBlock
Quality assessment block
|
static class |
IImageCaptureService.QualityAssessmentForOcrBlockType
Type of quality assessment block
|
static class |
IImageCaptureService.Result
Capture result
|
static class |
IImageCaptureService.Status
Capture status
|
IRecognitionService.DebugLog, IRecognitionService.ResultStabilityStatus, IRecognitionService.Warning
Modifier and Type | Method and Description |
---|---|
IImageCaptureService.ExtendedSettings |
getExtendedSettings()
Extended service configuration settings.
|
void |
setAspectRatioMax(float maxValue)
Sets maximum acceptable value for document's aspect ratio.
|
void |
setAspectRatioMin(float minValue)
Sets minimum acceptable value for document's aspect ratio.
|
void |
setDocumentSize(float width,
float height)
Sets the physical size of the document to be captured.
|
setAreaOfInterest, setDebugLog, start, stop, submitFrame, submitRequestedFrame
void setDocumentSize(float width, float height)
If the physical size of the document being captured is known, setting this parameter will help to improve document boundary detection accuracy. Will allow to detect document orientation during capture. Will preserve aspect ratio after crop. Will allow to automatically calculate image resolution before export
width
- the width of the document in millimetersheight
- the height of the document in millimetersvoid setAspectRatioMin(float minValue)
minValue
- minimum acceptable value for document's aspect ratiovoid setAspectRatioMax(float maxValue)
maxValue
- maximum acceptable value for document's aspect ratioIImageCaptureService.ExtendedSettings getExtendedSettings()
getExtendedSettings
in interface IRecognitionService