Faceplugin-ltd/Open-Source-Face-Recognition-SDK

Public

Face Recognition, Face Liveness Detection, Face Anti-Spoofing, Face Detection, Face Landmarks, Face Compare, Face Matching, Face Pose, Face Expression, Face Attributes, Face Templates Extraction, Face Landmarks

  • Stars2.5k+220 tuần này
  • Forks432
  • Watchers14
  • Issues1
  • Ngày tạo17/01/2025
  • Cập nhật gần nhất02/10/2026
  • Ngôn ngữPython
  • Giấy phép—
README.md22.0 KBRaw
FacePlugin

Open Source Face Recognition SDK

The world's first completely free and open-source face recognition SDK for Windows and Linux from Faceplugin

Platform Python License Privacy


🚀 Overview

The Open Source Face Recognition SDK by Faceplugin is a powerful, privacy-focused solution for integrating face recognition capabilities into your applications. Built with deep learning models, this SDK provides high-accuracy face detection and recognition while ensuring complete data privacy through on-premise processing.

✨ Key Features

  • 🔒 100% On-Premise: All processing happens locally - no data leaves your device
  • 🎯 High Accuracy: Powered by state-of-the-art deep learning models
  • ⚡ Real-Time Processing: Fast face detection and recognition capabilities
  • 🔧 Easy Integration: Simple Python APIs for seamless development
  • 🌐 Cross-Platform: Compatible with Windows and Linux systems
  • 📱 GPU Optional: Works efficiently on CPU-only systems
  • 🆓 Completely Free: Open source with no licensing fees

🎯 Current Capabilities

  • Face detection and bounding box extraction
  • Facial landmark detection
  • Feature embedding generation
  • Face similarity comparison
  • Support for multiple image formats (JPG, PNG, etc.)

🛠️ Installation

Prerequisites

  • Python 3.9 or higher
  • Anaconda (recommended for dependency management)
  • Windows or Linux operating system

Setup Instructions

  1. Install Anaconda (if not already installed)

    # Download from: https://www.anaconda.com/products/distribution
  2. Create and activate conda environment

    conda create -n facesdk python=3.9
    conda activate facesdk
  3. Install dependencies

    pip install -r requirements.txt
  4. Test the installation

    python run.py

📖 Quick Start

Basic Usage

from face_recognition_sdk import FaceRecognition

# Initialize the SDK
face_sdk = FaceRecognition()

# Process an image
image_path = "path/to/your/image.jpg"
face_info = face_sdk.GetImageInfo(image_path, faceMaxCount=10)

# Compare two faces
similarity = face_sdk.get_similarity(feature1, feature2)

Example: Face Comparison

# Compare two images
image1

Nội dung README thuộc về Faceplugin-ltd và cộng đồng đóng góp, giấy phép Không có giấy phép. Nguồn: github.com/Faceplugin-ltd/Open-Source-Face-Recognition-SDK