Kofax Mobile SDK API Reference
Public Member Functions | List of all members
IDocumentDetector< T extends DetectionSettings, U extends DetectionResult > Interface Template Reference

Public Member Functions

detect (T settings, Bitmap image)
 Runs the document detection algorithm. More...
 
detect (T settings, byte[] data, int width, int height)
 Runs the document detection algorithm. More...
 
void destroy ()
 Destroys this detector instance and releases resources associated with it. More...
 

Detailed Description

Interface for document detection algorithms.

Member Function Documentation

void destroy ( )

Destroys this detector instance and releases resources associated with it.

Call this method when you are done with this detector completely. A destroyed instance should not be used.

U detect ( settings,
Bitmap  image 
)

Runs the document detection algorithm.

Parameters
settingsthe settings to use during detection
imagethe bitmap with which the detection algorithm will run against
Returns
the result of the detection
U detect ( settings,
byte[]  data,
int  width,
int  height 
)

Runs the document detection algorithm.

Parameters
settingsthe settings to use during detection
datathe image data with which the detection algorithm will run against
widththe width of the image
heightthe height of the image
Returns
the result of the detection

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