Skip to content

Mc2IdManager.BiometricsApi

All URIs are relative to http://127.0.0.1:46841/api

Method HTTP request Description
extractImage POST /v1/biometrics/fingerprint/extractImage Extract image
identify POST /v1/biometrics/fingerprint/identify Fingerprint identification
identifyImage POST /v1/biometrics/fingerprint/identifyImage Fingerprint image identification

extractImage

BiometricsExtractImageResponse extractImage(body)

Extract image

Perform a template extraction with the provided image.

Example

var Mc2IdManager = require('mc2_id_manager');

var apiInstance = new Mc2IdManager.BiometricsApi();

var body = new Mc2IdManager.BiometricsExtractImageRequest(); // BiometricsExtractImageRequest | 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.extractImage(body, callback);

Parameters

Name Type Description Notes
body BiometricsExtractImageRequest

Return type

BiometricsExtractImageResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

identify

BiometricsIdentifyResponse identify(body)

Fingerprint identification

Perform a fingerprint identification.

Example

var Mc2IdManager = require('mc2_id_manager');

var apiInstance = new Mc2IdManager.BiometricsApi();

var body = new Mc2IdManager.BiometricsIdentifyRequest(); // BiometricsIdentifyRequest | 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.identify(body, callback);

Parameters

Name Type Description Notes
body BiometricsIdentifyRequest

Return type

BiometricsIdentifyResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

identifyImage

BiometricsIdentifyImageResponse identifyImage(body)

Fingerprint image identification

Perform a fingerprint identification with a provided image.

Example

var Mc2IdManager = require('mc2_id_manager');

var apiInstance = new Mc2IdManager.BiometricsApi();

var body = new Mc2IdManager.BiometricsIdentifyImageRequest(); // BiometricsIdentifyImageRequest | 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.identifyImage(body, callback);

Parameters

Name Type Description Notes
body BiometricsIdentifyImageRequest

Return type

BiometricsIdentifyImageResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json