Class BiometricsService
java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposBase
de.gmxhome.conrad.jpos.jpos_base.biometrics.BiometricsService
- All Implemented Interfaces:
jpos.loader.JposServiceInstance
,jpos.services.BaseService
,jpos.services.BiometricsService110
,jpos.services.BiometricsService111
,jpos.services.BiometricsService112
,jpos.services.BiometricsService113
,jpos.services.BiometricsService114
,jpos.services.BiometricsService115
,jpos.services.BiometricsService116
Biometrics service implementation. For more details about getter, setter and method implementations,
see JposBase.
-
Field Summary
FieldsModifier and TypeFieldDescriptionInstance of a class implementing the BiometricsInterface for biometrics specific setter and method calls bound to the property set.Fields inherited from class de.gmxhome.conrad.jpos.jpos_base.JposBase
Device, DeviceInterface, Props
-
Constructor Summary
ConstructorsConstructorDescriptionBiometricsService(BiometricsProperties props, JposDevice device)
Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
beginEnrollCapture(byte[] referenceBIR, byte[] payload)
void
void
int
byte[]
getBIR()
boolean
boolean
boolean
int
int
int
boolean
byte[]
boolean
int
int
int
int
int
int
void
identify(int maxFARRequested, int maxFRRRequested, boolean fARPrecedence, byte[][] referenceBIRPopulation, int[][] candidateRanking, int timeout)
void
identifyMatch(int maxFARRequested, int maxFRRRequested, boolean fARPrecedence, byte[] sampleBIR, byte[][] referenceBIRPopulation, int[][] candidateRanking)
void
processPrematchData(byte[] sampleBIR, byte[] prematchDataBIR, byte[][] processedBIR)
void
setAlgorithm(int newAlgorithm)
void
setRealTimeDataEnabled(boolean newRealTimeDataEnabled)
void
setSensorColor(int newSensorColor)
void
setSensorOrientation(int newSensorOrientation)
void
setSensorType(int newSensorType)
void
verify(int maxFARRequested, int maxFRRRequested, boolean fARPrecedence, byte[] referenceBIR, byte[][] adaptedBIR, boolean[] result, int[] fARAchieved, int[] fRRAchieved, byte[][] payload, int timeout)
void
verifyMatch(int maxFARRequested, int maxFRRRequested, boolean fARPrecedence, byte[] sampleBIR, byte[] referenceBIR, byte[][] adaptedBIR, boolean[] result, int[] fARAchieved, int[] fRRAchieved, byte[][] payload)
Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.JposBase
callNowOrLater, check, check, check, check, checkBusy, checkClaimed, checkEnabled, checkEnabledUnclaimed, checkFirstEnabled, checkHealth, checkNoChangedOrClaimed, checkOpened, claim, clearInput, clearInputProperties, clearOutput, close, compareFirmwareVersion, deepToString, deleteInstance, directIO, getAsyncMode, getAutoDisable, getCapCompareFirmwareVersion, getCapPowerReporting, getCapStatisticsReporting, getCapUpdateFirmware, getCapUpdateStatistics, getCheckHealthText, getClaimed, getDataCount, getDataEventEnabled, getDeviceEnabled, getDeviceServiceDescription, getDeviceServiceVersion, getFreezeEvents, getOutputID, getPhysicalDeviceDescription, getPhysicalDeviceName, getPowerNotify, getPowerState, getPropertyString, getState, logAsyncCall, logCall, logCall, logGet, logGet, logPreCall, logPreCall, logPreSet, logSet, open, release, removeOuterArraySpecifier, resetStatistics, retrieveStatistics, setAsyncMode, setAutoDisable, setDataEventEnabled, setDeviceEnabled, setFreezeEvents, setPowerNotify, signalRelease, startClaiming, updateFirmware, updateStatistics
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jpos.services.BaseService
checkHealth, claim, close, directIO, getCheckHealthText, getClaimed, getDeviceEnabled, getDeviceServiceDescription, getDeviceServiceVersion, getFreezeEvents, getPhysicalDeviceDescription, getPhysicalDeviceName, getState, open, release, setDeviceEnabled, setFreezeEvents
Methods inherited from interface jpos.services.BiometricsService110
clearInput, clearInputProperties, compareFirmwareVersion, getAutoDisable, getCapCompareFirmwareVersion, getCapPowerReporting, getCapStatisticsReporting, getCapUpdateFirmware, getCapUpdateStatistics, getDataCount, getDataEventEnabled, getPowerNotify, getPowerState, resetStatistics, retrieveStatistics, setAutoDisable, setDataEventEnabled, setPowerNotify, updateFirmware, updateStatistics
Methods inherited from interface jpos.loader.JposServiceInstance
deleteInstance
-
Field Details
-
Biometrics
Instance of a class implementing the BiometricsInterface for biometrics specific setter and method calls bound to the property set. Almost always the same object as Data.
-
-
Constructor Details
-
BiometricsService
Constructor. Stores given property set and device implementation object.- Parameters:
props
- Property set.device
- Device implementation object.
-
-
Method Details
-
getCapPrematchData
public boolean getCapPrematchData() throws jpos.JposException- Specified by:
getCapPrematchData
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-
getCapRawSensorData
public boolean getCapRawSensorData() throws jpos.JposException- Specified by:
getCapRawSensorData
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-
getCapRealTimeData
public boolean getCapRealTimeData() throws jpos.JposException- Specified by:
getCapRealTimeData
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-
getCapSensorColor
public int getCapSensorColor() throws jpos.JposException- Specified by:
getCapSensorColor
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-
getCapSensorOrientation
public int getCapSensorOrientation() throws jpos.JposException- Specified by:
getCapSensorOrientation
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-
getCapSensorType
public int getCapSensorType() throws jpos.JposException- Specified by:
getCapSensorType
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-
getCapTemplateAdaptation
public boolean getCapTemplateAdaptation() throws jpos.JposException- Specified by:
getCapTemplateAdaptation
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-
getAlgorithm
public int getAlgorithm() throws jpos.JposException- Specified by:
getAlgorithm
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-
setAlgorithm
public void setAlgorithm(int newAlgorithm) throws jpos.JposException- Specified by:
setAlgorithm
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-
getAlgorithmList
- Specified by:
getAlgorithmList
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-
getBIR
public byte[] getBIR() throws jpos.JposException- Specified by:
getBIR
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-
getRawSensorData
public byte[] getRawSensorData() throws jpos.JposException- Specified by:
getRawSensorData
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-
getRealTimeDataEnabled
public boolean getRealTimeDataEnabled() throws jpos.JposException- Specified by:
getRealTimeDataEnabled
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-
setRealTimeDataEnabled
public void setRealTimeDataEnabled(boolean newRealTimeDataEnabled) throws jpos.JposException- Specified by:
setRealTimeDataEnabled
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-
getSensorBPP
public int getSensorBPP() throws jpos.JposException- Specified by:
getSensorBPP
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-
getSensorColor
public int getSensorColor() throws jpos.JposException- Specified by:
getSensorColor
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-
setSensorColor
public void setSensorColor(int newSensorColor) throws jpos.JposException- Specified by:
setSensorColor
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-
getSensorHeight
public int getSensorHeight() throws jpos.JposException- Specified by:
getSensorHeight
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-
getSensorOrientation
public int getSensorOrientation() throws jpos.JposException- Specified by:
getSensorOrientation
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-
setSensorOrientation
public void setSensorOrientation(int newSensorOrientation) throws jpos.JposException- Specified by:
setSensorOrientation
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-
getSensorType
public int getSensorType() throws jpos.JposException- Specified by:
getSensorType
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-
setSensorType
public void setSensorType(int newSensorType) throws jpos.JposException- Specified by:
setSensorType
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-
getSensorWidth
public int getSensorWidth() throws jpos.JposException- Specified by:
getSensorWidth
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-
beginEnrollCapture
public void beginEnrollCapture(byte[] referenceBIR, byte[] payload) throws jpos.JposException- Specified by:
beginEnrollCapture
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-
beginVerifyCapture
public void beginVerifyCapture() throws jpos.JposException- Specified by:
beginVerifyCapture
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-
endCapture
public void endCapture() throws jpos.JposException- Specified by:
endCapture
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-
identify
public void identify(int maxFARRequested, int maxFRRRequested, boolean fARPrecedence, byte[][] referenceBIRPopulation, int[][] candidateRanking, int timeout) throws jpos.JposException- Specified by:
identify
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-
identifyMatch
public void identifyMatch(int maxFARRequested, int maxFRRRequested, boolean fARPrecedence, byte[] sampleBIR, byte[][] referenceBIRPopulation, int[][] candidateRanking) throws jpos.JposException- Specified by:
identifyMatch
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-
processPrematchData
public void processPrematchData(byte[] sampleBIR, byte[] prematchDataBIR, byte[][] processedBIR) throws jpos.JposException- Specified by:
processPrematchData
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-
verify
public void verify(int maxFARRequested, int maxFRRRequested, boolean fARPrecedence, byte[] referenceBIR, byte[][] adaptedBIR, boolean[] result, int[] fARAchieved, int[] fRRAchieved, byte[][] payload, int timeout) throws jpos.JposException- Specified by:
verify
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-
verifyMatch
public void verifyMatch(int maxFARRequested, int maxFRRRequested, boolean fARPrecedence, byte[] sampleBIR, byte[] referenceBIR, byte[][] adaptedBIR, boolean[] result, int[] fARAchieved, int[] fRRAchieved, byte[][] payload) throws jpos.JposException- Specified by:
verifyMatch
in interfacejpos.services.BiometricsService110
- Throws:
jpos.JposException
-