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 TypeMethodDescriptionvoidbeginEnrollCapture(byte[] referenceBIR, byte[] payload)voidvoidintbyte[]getBIR()booleanbooleanbooleanintintintbooleanbyte[]booleanintintintintintintvoididentify(int maxFARRequested, int maxFRRRequested, boolean fARPrecedence, byte[][] referenceBIRPopulation, int[][] candidateRanking, int timeout)voididentifyMatch(int maxFARRequested, int maxFRRRequested, boolean fARPrecedence, byte[] sampleBIR, byte[][] referenceBIRPopulation, int[][] candidateRanking)voidprocessPrematchData(byte[] sampleBIR, byte[] prematchDataBIR, byte[][] processedBIR)voidsetAlgorithm(int newAlgorithm)voidsetRealTimeDataEnabled(boolean newRealTimeDataEnabled)voidsetSensorColor(int newSensorColor)voidsetSensorOrientation(int newSensorOrientation)voidsetSensorType(int newSensorType)voidverify(int maxFARRequested, int maxFRRRequested, boolean fARPrecedence, byte[] referenceBIR, byte[][] adaptedBIR, boolean[] result, int[] fARAchieved, int[] fRRAchieved, byte[][] payload, int timeout)voidverifyMatch(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, updateStatisticsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jpos.services.BaseService
checkHealth, claim, close, directIO, getCheckHealthText, getClaimed, getDeviceEnabled, getDeviceServiceDescription, getDeviceServiceVersion, getFreezeEvents, getPhysicalDeviceDescription, getPhysicalDeviceName, getState, open, release, setDeviceEnabled, setFreezeEventsMethods 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, updateStatisticsMethods 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:
getCapPrematchDatain interfacejpos.services.BiometricsService110- Throws:
jpos.JposException
-
getCapRawSensorData
public boolean getCapRawSensorData() throws jpos.JposException- Specified by:
getCapRawSensorDatain interfacejpos.services.BiometricsService110- Throws:
jpos.JposException
-
getCapRealTimeData
public boolean getCapRealTimeData() throws jpos.JposException- Specified by:
getCapRealTimeDatain interfacejpos.services.BiometricsService110- Throws:
jpos.JposException
-
getCapSensorColor
public int getCapSensorColor() throws jpos.JposException- Specified by:
getCapSensorColorin interfacejpos.services.BiometricsService110- Throws:
jpos.JposException
-
getCapSensorOrientation
public int getCapSensorOrientation() throws jpos.JposException- Specified by:
getCapSensorOrientationin interfacejpos.services.BiometricsService110- Throws:
jpos.JposException
-
getCapSensorType
public int getCapSensorType() throws jpos.JposException- Specified by:
getCapSensorTypein interfacejpos.services.BiometricsService110- Throws:
jpos.JposException
-
getCapTemplateAdaptation
public boolean getCapTemplateAdaptation() throws jpos.JposException- Specified by:
getCapTemplateAdaptationin interfacejpos.services.BiometricsService110- Throws:
jpos.JposException
-
getAlgorithm
public int getAlgorithm() throws jpos.JposException- Specified by:
getAlgorithmin interfacejpos.services.BiometricsService110- Throws:
jpos.JposException
-
setAlgorithm
public void setAlgorithm(int newAlgorithm) throws jpos.JposException- Specified by:
setAlgorithmin interfacejpos.services.BiometricsService110- Throws:
jpos.JposException
-
getAlgorithmList
- Specified by:
getAlgorithmListin interfacejpos.services.BiometricsService110- Throws:
jpos.JposException
-
getBIR
public byte[] getBIR() throws jpos.JposException- Specified by:
getBIRin interfacejpos.services.BiometricsService110- Throws:
jpos.JposException
-
getRawSensorData
public byte[] getRawSensorData() throws jpos.JposException- Specified by:
getRawSensorDatain interfacejpos.services.BiometricsService110- Throws:
jpos.JposException
-
getRealTimeDataEnabled
public boolean getRealTimeDataEnabled() throws jpos.JposException- Specified by:
getRealTimeDataEnabledin interfacejpos.services.BiometricsService110- Throws:
jpos.JposException
-
setRealTimeDataEnabled
public void setRealTimeDataEnabled(boolean newRealTimeDataEnabled) throws jpos.JposException- Specified by:
setRealTimeDataEnabledin interfacejpos.services.BiometricsService110- Throws:
jpos.JposException
-
getSensorBPP
public int getSensorBPP() throws jpos.JposException- Specified by:
getSensorBPPin interfacejpos.services.BiometricsService110- Throws:
jpos.JposException
-
getSensorColor
public int getSensorColor() throws jpos.JposException- Specified by:
getSensorColorin interfacejpos.services.BiometricsService110- Throws:
jpos.JposException
-
setSensorColor
public void setSensorColor(int newSensorColor) throws jpos.JposException- Specified by:
setSensorColorin interfacejpos.services.BiometricsService110- Throws:
jpos.JposException
-
getSensorHeight
public int getSensorHeight() throws jpos.JposException- Specified by:
getSensorHeightin interfacejpos.services.BiometricsService110- Throws:
jpos.JposException
-
getSensorOrientation
public int getSensorOrientation() throws jpos.JposException- Specified by:
getSensorOrientationin interfacejpos.services.BiometricsService110- Throws:
jpos.JposException
-
setSensorOrientation
public void setSensorOrientation(int newSensorOrientation) throws jpos.JposException- Specified by:
setSensorOrientationin interfacejpos.services.BiometricsService110- Throws:
jpos.JposException
-
getSensorType
public int getSensorType() throws jpos.JposException- Specified by:
getSensorTypein interfacejpos.services.BiometricsService110- Throws:
jpos.JposException
-
setSensorType
public void setSensorType(int newSensorType) throws jpos.JposException- Specified by:
setSensorTypein interfacejpos.services.BiometricsService110- Throws:
jpos.JposException
-
getSensorWidth
public int getSensorWidth() throws jpos.JposException- Specified by:
getSensorWidthin interfacejpos.services.BiometricsService110- Throws:
jpos.JposException
-
beginEnrollCapture
public void beginEnrollCapture(byte[] referenceBIR, byte[] payload) throws jpos.JposException- Specified by:
beginEnrollCapturein interfacejpos.services.BiometricsService110- Throws:
jpos.JposException
-
beginVerifyCapture
public void beginVerifyCapture() throws jpos.JposException- Specified by:
beginVerifyCapturein interfacejpos.services.BiometricsService110- Throws:
jpos.JposException
-
endCapture
public void endCapture() throws jpos.JposException- Specified by:
endCapturein 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:
identifyin 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:
identifyMatchin interfacejpos.services.BiometricsService110- Throws:
jpos.JposException
-
processPrematchData
public void processPrematchData(byte[] sampleBIR, byte[] prematchDataBIR, byte[][] processedBIR) throws jpos.JposException- Specified by:
processPrematchDatain 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:
verifyin 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:
verifyMatchin interfacejpos.services.BiometricsService110- Throws:
jpos.JposException
-