For the complete documentation index, see llms.txt. This page is also available as Markdown.

Open Source

Faceplugin open-source Palm Recognition SDK. On-premise Python Anaconda sample for RGB-camera palm matching. extract_roi, extract_features, compare_two_images. Not a commercial face SDK.

Code

Overview

This page is the open-source Palm Recognition Python sample. It matches palms from a standard RGB camera on your machine. It is not the commercial Face Recognition SDK, not Face Liveness, and not document OCR.

Unlike cloud palm APIs, processing stays local. No biometric data is sent to Faceplugin.

Setup

Please download anaconda on your computer and install it. We used Windows machine without GPU for testing

  1. Create anaconda environment

  1. Activate the environment

  1. Install dependencies

  1. Compare two palm images in the test_images directory

APIs and Parameters

  • classify_hand(mp_hands, hand_landmarks, image_width): determine if the hand is left hand or right hand

  • extract_roi(hands, mp_hands, img_path): extract region of interest from the palm image for template matching

  • extract_features(mp_hands, hands, path: str): extract template from the plam image specified by the path parameter

  • compare_two_images(mp_hands, hands, image_path1, image_path2, similarity_threshold=0.8): compare two hand images to determine if they are the same hand or not.

FAQ

Is this a Faceplugin commercial SDK? No. It is a public GitHub sample. There is no license key / Docker HTTP API on this page.

Can I use it for face matching? No. Use Face Recognition.

Last updated