Atalasoft MobileImage API Reference
Public Member Functions | List of all members
com.kofax.kmc.ken.engines.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 com.kofax.kmc.ken.engines.IDocumentDetector < T extends DetectionSettings, U extends DetectionResult >.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 com.kofax.kmc.ken.engines.IDocumentDetector < T extends DetectionSettings, U extends DetectionResult >.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 com.kofax.kmc.ken.engines.IDocumentDetector < T extends DetectionSettings, U extends DetectionResult >.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 © 2016 Atalasoft, Inc., 116 Pleasant St, Suite 321, Easthampton, MA 01027, U.S.A. All rights reserved. Use is subject to license terms.