com.anji.imaging
Interface Identifier


public interface Identifier

Identifier. To use this class, create an instance via AnjiNetFloatingEyeIdentifierFactory. Call identify(File) and getStepNum() as often as necessary, and call disopse() when finished.


Method Summary
 long cost()
           
 void dispose()
          dispose of any remaining resources; identify must not be called again after dispose
 int getStepNum()
           
 float identify(java.io.File imgFile)
           
 

Method Detail

identify

public float identify(java.io.File imgFile)
               throws java.io.IOException
Parameters:
imgFile -
Returns:
confidence between 0 (certain it is not a match) and 1 (certain it is a match)
Throws:
java.io.IOException

dispose

public void dispose()
dispose of any remaining resources; identify must not be called again after dispose


getStepNum

public int getStepNum()
Returns:
number of steps used by previous call to identify(File)

cost

public long cost()
Returns:
indicates relative cost in resources of this identifier