Biometric FingerPrint Recognition

फ्रीमियम
द्वारा Card2G | अपडेट किया गया 2 months ago | Visual Recognition
Health Check

100%

सभी ट्यूटोरियल पर वापस जाएं (1)

Fingerprint Recognition API Documentation

Introduction

Welcome to the Fingerprint Recognition API, accessible through RapidAPI. This API enables users to perform efficient fingerprint recognition through a simple and consolidated process. Users can upload and prepare a dataset, upload a target biometric fingerprint image, and receive a comprehensive analytics result in a single HTTP request.

Authentication

To access the Fingerprint Recognition API, you need to subscribe to our API on the RapidAPI marketplace. RapidAPI handles the authentication process for you, providing you with an API key that you’ll include in your requests.

Endpoint

1. Upload and Prepare your Dataset and Target File

  • Endpoint:
  • /api/biometric/process-fingerprint
  • Description:
    Upload and prepare a dataset along with the target image in a single request.

  • Request Parameters:

  • files[]: An array of images to form the dataset.

  • target_image: The target biometric fingerprint image.

  • Example Request:

    const axios = require('axios');
    const FormData = require('form-data');
    const fs = require('fs');
    
    // Create form data
    const form = new FormData();
    form.append('files[]', fs.createReadStream('/path/to/image1.jpg'));
    form.append('files[]', fs.createReadStream('/path/to/image2.jpg'));
    form.append('target', fs.createReadStream('/path/to/target_image.jpg'));
    
    // Make the Axios POST request
    axios.post('https://biometric-fingerprint-recognition.p.rapidapi.com/api/biometric/process-fingerprint', form, {
    	headers: {
    		'X-RapidAPI-Host': 'biometric-fingerprint-recognition.p.rapidapi.com',
    		'X-RapidAPI-Key': '{YOUR_RAPIDAPI_KEY}',
    		...form.getHeaders(),
    	},
    }).then( function(response) {
    	console.log(response.data);
    }).catch( function(error) {
    	console.error(error.message);
     });
    
  • Response:
    json { "file": "image1.jpg", "match": 97.58, "matches": [ { "file": "image2.jpg", "score": 86 } ], "key1": "", "key2": "" }