Class BioApiImpl

  • All Implemented Interfaces:
    IBioApi

    @Component
    public class BioApiImpl
    extends Object
    implements IBioApi
    The Class BioApiImpl.
    Author:
    Sanjay Murali, Manoj SP
    • Constructor Detail

      • BioApiImpl

        public BioApiImpl()
    • Method Detail

      • checkQuality

        public Response<QualityScore> checkQuality​(BIR sample,
                                                   KeyValuePair[] flags)
        Description copied from interface: IBioApi
        It checks the quality of the provided biometric image and render the respective quality score.
        Specified by:
        checkQuality in interface IBioApi
        Parameters:
        sample - the sample
        flags - the flags
        Returns:
        the response
      • match

        public Response<MatchDecision[]> match​(BIR sample,
                                               BIR[] gallery,
                                               KeyValuePair[] flags)
        Description copied from interface: IBioApi
        It compares the biometrics and provide the respective matching scores.
        Specified by:
        match in interface IBioApi
        Parameters:
        sample - the sample
        gallery - the gallery
        flags - the flags
        Returns:
        the response
      • extractTemplate

        public Response<BIR> extractTemplate​(BIR sample,
                                             KeyValuePair[] flags)
        Description copied from interface: IBioApi
        Extract template.
        Specified by:
        extractTemplate in interface IBioApi
        Parameters:
        sample - the sample
        flags - the flags
        Returns:
        the response
      • segment

        public Response<BIR[]> segment​(BIR sample,
                                       KeyValuePair[] flags)
        Description copied from interface: IBioApi
        It segment the single biometric image into multiple biometric images. Eg: Split the thumb slab into multiple fingers
        Specified by:
        segment in interface IBioApi
        Parameters:
        sample - the sample
        flags - the flags
        Returns:
        the response