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

public class BiometricsService extends JposBase implements jpos.services.BiometricsService116
Biometrics service implementation. For more details about getter, setter and method implementations, see JposBase.
  • Field Details

    • Biometrics

      public BiometricsInterface 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

      public BiometricsService(BiometricsProperties props, JposDevice device)
      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 interface jpos.services.BiometricsService110
      Throws:
      jpos.JposException
    • getCapRawSensorData

      public boolean getCapRawSensorData() throws jpos.JposException
      Specified by:
      getCapRawSensorData in interface jpos.services.BiometricsService110
      Throws:
      jpos.JposException
    • getCapRealTimeData

      public boolean getCapRealTimeData() throws jpos.JposException
      Specified by:
      getCapRealTimeData in interface jpos.services.BiometricsService110
      Throws:
      jpos.JposException
    • getCapSensorColor

      public int getCapSensorColor() throws jpos.JposException
      Specified by:
      getCapSensorColor in interface jpos.services.BiometricsService110
      Throws:
      jpos.JposException
    • getCapSensorOrientation

      public int getCapSensorOrientation() throws jpos.JposException
      Specified by:
      getCapSensorOrientation in interface jpos.services.BiometricsService110
      Throws:
      jpos.JposException
    • getCapSensorType

      public int getCapSensorType() throws jpos.JposException
      Specified by:
      getCapSensorType in interface jpos.services.BiometricsService110
      Throws:
      jpos.JposException
    • getCapTemplateAdaptation

      public boolean getCapTemplateAdaptation() throws jpos.JposException
      Specified by:
      getCapTemplateAdaptation in interface jpos.services.BiometricsService110
      Throws:
      jpos.JposException
    • getAlgorithm

      public int getAlgorithm() throws jpos.JposException
      Specified by:
      getAlgorithm in interface jpos.services.BiometricsService110
      Throws:
      jpos.JposException
    • setAlgorithm

      public void setAlgorithm(int newAlgorithm) throws jpos.JposException
      Specified by:
      setAlgorithm in interface jpos.services.BiometricsService110
      Throws:
      jpos.JposException
    • getAlgorithmList

      public String getAlgorithmList() throws jpos.JposException
      Specified by:
      getAlgorithmList in interface jpos.services.BiometricsService110
      Throws:
      jpos.JposException
    • getBIR

      public byte[] getBIR() throws jpos.JposException
      Specified by:
      getBIR in interface jpos.services.BiometricsService110
      Throws:
      jpos.JposException
    • getRawSensorData

      public byte[] getRawSensorData() throws jpos.JposException
      Specified by:
      getRawSensorData in interface jpos.services.BiometricsService110
      Throws:
      jpos.JposException
    • getRealTimeDataEnabled

      public boolean getRealTimeDataEnabled() throws jpos.JposException
      Specified by:
      getRealTimeDataEnabled in interface jpos.services.BiometricsService110
      Throws:
      jpos.JposException
    • setRealTimeDataEnabled

      public void setRealTimeDataEnabled(boolean newRealTimeDataEnabled) throws jpos.JposException
      Specified by:
      setRealTimeDataEnabled in interface jpos.services.BiometricsService110
      Throws:
      jpos.JposException
    • getSensorBPP

      public int getSensorBPP() throws jpos.JposException
      Specified by:
      getSensorBPP in interface jpos.services.BiometricsService110
      Throws:
      jpos.JposException
    • getSensorColor

      public int getSensorColor() throws jpos.JposException
      Specified by:
      getSensorColor in interface jpos.services.BiometricsService110
      Throws:
      jpos.JposException
    • setSensorColor

      public void setSensorColor(int newSensorColor) throws jpos.JposException
      Specified by:
      setSensorColor in interface jpos.services.BiometricsService110
      Throws:
      jpos.JposException
    • getSensorHeight

      public int getSensorHeight() throws jpos.JposException
      Specified by:
      getSensorHeight in interface jpos.services.BiometricsService110
      Throws:
      jpos.JposException
    • getSensorOrientation

      public int getSensorOrientation() throws jpos.JposException
      Specified by:
      getSensorOrientation in interface jpos.services.BiometricsService110
      Throws:
      jpos.JposException
    • setSensorOrientation

      public void setSensorOrientation(int newSensorOrientation) throws jpos.JposException
      Specified by:
      setSensorOrientation in interface jpos.services.BiometricsService110
      Throws:
      jpos.JposException
    • getSensorType

      public int getSensorType() throws jpos.JposException
      Specified by:
      getSensorType in interface jpos.services.BiometricsService110
      Throws:
      jpos.JposException
    • setSensorType

      public void setSensorType(int newSensorType) throws jpos.JposException
      Specified by:
      setSensorType in interface jpos.services.BiometricsService110
      Throws:
      jpos.JposException
    • getSensorWidth

      public int getSensorWidth() throws jpos.JposException
      Specified by:
      getSensorWidth in interface jpos.services.BiometricsService110
      Throws:
      jpos.JposException
    • beginEnrollCapture

      public void beginEnrollCapture(byte[] referenceBIR, byte[] payload) throws jpos.JposException
      Specified by:
      beginEnrollCapture in interface jpos.services.BiometricsService110
      Throws:
      jpos.JposException
    • beginVerifyCapture

      public void beginVerifyCapture() throws jpos.JposException
      Specified by:
      beginVerifyCapture in interface jpos.services.BiometricsService110
      Throws:
      jpos.JposException
    • endCapture

      public void endCapture() throws jpos.JposException
      Specified by:
      endCapture in interface jpos.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 interface jpos.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 interface jpos.services.BiometricsService110
      Throws:
      jpos.JposException
    • processPrematchData

      public void processPrematchData(byte[] sampleBIR, byte[] prematchDataBIR, byte[][] processedBIR) throws jpos.JposException
      Specified by:
      processPrematchData in interface jpos.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 interface jpos.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 interface jpos.services.BiometricsService110
      Throws:
      jpos.JposException