Kofax Mobile SDK API Reference
Public Member Functions | List of all members
DetectionResult Class Referenceabstract
Inheritance diagram for DetectionResult:
CheckDetectionResult DocumentDetectionResult PassportDetectionResult

Public Member Functions

BoundingTetragon getBounds ()
 
Bitmap getOriginalImage ()
 
abstract ZoomGuidance getZoomGuidance ()
 
abstract TurnGuidance getTurnGuidance ()
 
abstract HorizontalGuidance getHorizontalMovementGuidance ()
 
abstract VerticalGuidance getVerticalMovementGuidance ()
 
abstract OrientationGuidance getOrientationGuidance ()
 
String toString ()
 

Detailed Description

Base class for result of guided detection driven by target frame.

This class returns the original image the detection algorithm was run against, the bounding coordinates of the detected document, and the guidance information, e.g. zoom out/in move left/right, etc...

Member Function Documentation

BoundingTetragon getBounds ( )

Returns the bounding coordinates of the detected document.

Returns
BoundingTetragon containing the points of the polygon containing the detected document.
abstract HorizontalGuidance getHorizontalMovementGuidance ( )
abstract

Returns the horizontal guidance, e.g. the device should be moved along an x-axis depending on the detection settings values.

Returns
Returns a HorizontalGuidance object.
abstract OrientationGuidance getOrientationGuidance ( )
abstract

Returns orientation guidance, e.g. the device or the document should be rotated, so the orientation of the document matches the orientation of the target frame.

Returns
orientation guidance
Bitmap getOriginalImage ( )

Returns the bitmap representation of the image that the detector was run against.

Returns
the bitmap representation of the image that the detector was run against.
abstract TurnGuidance getTurnGuidance ( )
abstract

Returns the TurnGuidance object, e.g. the document in the image is rotated more than 10 degrees off alignment.

Returns
Returns a TurnGuidance object.
abstract VerticalGuidance getVerticalMovementGuidance ( )
abstract

Returns the vertical guidance, e.g. the device should be moved along a y-axis depending on the detection settings values.

Returns
abstract ZoomGuidance getZoomGuidance ( )
abstract

Returns the zoom guidance, e.g too close/too far away form the document.

Returns
Returns a ZoomGuidance object.
String toString ( )

Returns all of the guidance values as a string.

Returns
Returns a String object of the guidance values.

The documentation for this class was generated from the following file:
Untitled Document © 2018 Kofax, Inc. All rights reserved. Use is subject to license terms.