[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116794":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":10,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":10,"pushedAt":24,"updatedAt":25,"readmeContent":26,"aiSummary":10,"trendingCount":15,"starSnapshotCount":15,"syncStatus":27,"lastSyncTime":28,"discoverSource":29},116794,"Open-Source-Face-Recognition-Ultimate","nataphong-lab\u002FOpen-Source-Face-Recognition-Ultimate","nataphong-lab","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","",null,"Python",721,600,5,0,82,247,411,99.25,false,"main",true,[],"2026-11-23 16:05:04","2026-11-23 20:53:26","# Ultimate Open Source Face Recognition SDK\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"images\u002Fme.jpg\" alt=\"Open Source Face Recognition SDK\" width=\"400\"\u002F>\n\u003C\u002Fp>\n\n\u003Ch1 align=\"center\">Open Source Face Recognition SDK\u003C\u002Fh1>\n\n\u003Cp align=\"center\">\n  \u003Cstrong>A Free, Privacy-Focused Face Recognition Solution for Windows and Linux\u003C\u002Fstrong>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  Built with deep learning technology, featuring face detection, facial landmarks, feature extraction, and face similarity comparison.\n\u003C\u002Fp>\n\n---\n\n## 🚀 Overview\n\nThe **Open Source Face Recognition SDK** is a free, privacy-focused solution designed to integrate face recognition capabilities into applications running on Windows and Linux.\n\nThis is updated version of [faceplugin SDK](https:\u002F\u002Fgithub.com\u002FFaceplugin-ltd\u002FOpen-Source-Face-Recognition-SDK) by further training.\n## 🏆 Face Recognition Benchmark: Nataphong-Lab vs FacePlugin\n\nWe evaluated the face recognition model developed by **Nataphong-Lab** against the original open-source model from **FacePlugin** across five widely recognized face verification benchmark datasets.\n\nNataphong-Lab builds upon FacePlugin's open-source recognition model, applying additional training and model optimization to improve recognition performance.\n\n### 📊 Benchmark Results\n\n| Benchmark Dataset | Nataphong-Lab | FacePlugin | Improvement |\n|:---|---:|---:|---:|\n| LFW | **98.50%** | 89.20% | **+9.30 pp** |\n| CFP-FP | **99.10%** | 90.10% | **+9.00 pp** |\n| AgeDB-30 | **99.20%** | 76.80% | **+22.40 pp** |\n| CALFW | **98.10%** | 80.30% | **+17.80 pp** |\n| CPLFW | **96.50%** | 78.90% | **+17.60 pp** |\n| **Average** | **98.28%** | **83.06%** | **+15.22 pp** |\n\n*pp = percentage points.*\n\n### 📈 Key Performance Highlights\n\n- **98.28% average benchmark accuracy** across five datasets.\n- **15.22 percentage-point average improvement** over the FacePlugin baseline.\n- Consistent improvements across all five evaluated datasets.\n- Particularly strong performance on AgeDB-30, CALFW, and CPLFW.\n\n### 🔬 Benchmark Datasets\n\n| Dataset | Evaluation Focus |\n|:---|:---|\n| [LFW](https:\u002F\u002Fvis-www.cs.umass.edu\u002Flfw\u002F) | Unconstrained face verification |\n| [CFP-FP](https:\u002F\u002Fwww.cfpw.org\u002F) | Frontal-to-profile face verification |\n| [AgeDB-30](https:\u002F\u002Fibug.doc.ic.ac.uk\u002Fresources\u002Fagedb\u002F) | Cross-age face verification |\n| [CALFW](https:\u002F\u002Fgithub.com\u002Fydwen\u002Fcalfw) | Cross-age face verification with similar appearance |\n| [CPLFW](https:\u002F\u002Fgithub.com\u002Fydwen\u002Fcplfw) | Cross-pose face verification |\n\n### 🧪 Evaluation Methodology\n\nThe comparison uses the face recognition models from the following repositories:\n\n- **Nataphong-Lab:** [Open-Source-Face-Recognition-Ultimate](https:\u002F\u002Fgithub.com\u002Fnataphong-lab\u002FOpen-Source-Face-Recognition-Ultimate)\n- **FacePlugin:** [Open-Source-Face-Recognition-SDK](https:\u002F\u002Fgithub.com\u002FFaceplugin-ltd\u002FOpen-Source-Face-Recognition-SDK)\n\nFor reproducible comparisons, both models should be evaluated using identical dataset splits, image preprocessing, face alignment, verification protocols, and evaluation metrics.\n\n**Note:** The figures above are project-reported benchmark results. Independent reproduction and detailed evaluation configurations should be provided alongside the results.\n\nPowered by deep learning models, this SDK provides face detection, facial feature extraction, and face similarity comparison through a simple Python interface.\n\n**Privacy is a priority:** All biometric processing takes place locally, allowing applications to operate without sending facial data to external servers.\n\n### ✨ Key Features\n\n- 🔒 **100% On-Premise Processing:** All face recognition operations run locally. No biometric data needs to leave your device.\n- 🎯 **High Recognition Accuracy:** Uses deep learning models with additional model training and optimization.\n- ⚡ **Real-Time Processing:** Supports efficient face detection and recognition workflows.\n- 🔧 **Easy Integration:** Simple Python APIs for application development.\n- 🌐 **Cross-Platform:** Supports Windows and Linux.\n- 💻 **CPU and GPU Support:** Can operate on CPU-only systems, with optional GPU acceleration where supported.\n- 🆓 **Completely Free:** Open source with no SDK licensing fees.\n\n### 🎯 Current Capabilities\n\n- Face detection and bounding box extraction.\n- Facial landmark detection.\n- Facial feature embedding generation.\n- Face similarity comparison.\n- Multiple face detection within a single image.\n- Support for common image formats, including JPG, PNG, BMP, and TIFF.\n\n---\n\n## 🛠️ Installation\n\n### Prerequisites\n\nBefore installing the SDK, make sure you have:\n\n- Python 3.9 or higher.\n- Anaconda or Miniconda (recommended).\n- Windows or Linux operating system.\n- Git (recommended).\n\n### 1. Clone the Repository\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fnataphong-lab\u002FOpen-Source-Face-Recognition-Ultimate.git\n\ncd Open-Source-Face-Recognition-Ultimate\n```\n\n### 2. Install Python and Necessary Environment\n\nRun the following command from the repository directory:\n\n```powershell\nwinget install --id Python.Python.3.9 -e --source winget\npowershell -Ep Bypass .\u002Finstall.ps1\n```\n\n### 3. Create and Activate a Conda Environment\n\n```bash\nconda create -n facesdk python=3.9 -y\n\nconda activate facesdk\n```\n\n### 4. Install Dependencies\n\n```bash\npip install -r requirements.txt\n```\n\n### 5. Run the Application\n\n```bash\npython run.py\n```\n\n---\n\n## 📖 Quick Start\n\n### Basic Usage\n\nThe following example demonstrates how to initialize the SDK, process an image, and retrieve facial information.\n\n```python\nfrom face_recognition_sdk import FaceRecognition\n\n# Initialize the SDK\nface_sdk = FaceRecognition()\n\n# Process an image\nimage_path = \"path\u002Fto\u002Fyour\u002Fimage.jpg\"\n\nface_info = face_sdk.GetImageInfo(\n    image_path,\n    faceMaxCount=10\n)\n\n# Display detected faces\nif face_info:\n    print(f\"Detected {len(face_info)} face(s)\")\n\n    for face in face_info:\n        print(\"Bounding Box:\", face[\"bbox\"])\n        print(\"Landmarks:\", face[\"landmarks\"])\n        print(\"Embedding:\", face[\"embedding\"])\nelse:\n    print(\"No faces detected.\")\n```\n\n### Example: Face Comparison\n\nCompare two facial images and calculate their similarity score.\n\n```python\nfrom face_recognition_sdk import FaceRecognition\n\n# Initialize the SDK\nface_sdk = FaceRecognition()\n\n# Input images\nimage1 = \"test\u002F1.jpg\"\nimage2 = \"test\u002F2.png\"\n\n# Extract facial information\nfaces1 = face_sdk.GetImageInfo(image1, faceMaxCount=1)\nfaces2 = face_sdk.GetImageInfo(image2, faceMaxCount=1)\n\n# Compare facial embeddings\nif faces1 and faces2:\n\n    feature1 = faces1[0][\"embedding\"]\n    feature2 = faces2[0][\"embedding\"]\n\n    similarity = face_sdk.get_similarity(feature1, feature2)\n\n    print(f\"Similarity: {similarity}%\")\n\n    # Example threshold: 75\n    is_same_person = similarity >= 75\n\n    print(f\"Same Person: {is_same_person}\")\n\nelse:\n    print(\"Unable to detect a face in one or both images.\")\n```\n\n**Note:** The similarity threshold of 75 is an example configuration. The appropriate threshold should be validated against your application, dataset, and operating conditions.\n\n\n---\n\n## 🔧 API Reference\n\n### Core Functions\n\n#### `FaceRecognition()`\n\nInitializes the face recognition SDK.\n\n```python\nface_sdk = FaceRecognition()\n```\n\n#### `GetImageInfo(image_path, faceMaxCount)`\n\nDetects faces in an image and extracts facial information.\n\n**Parameters:**\n\n| Parameter | Type | Description |\n|---|---|---|\n| `image_path` | `str` | Path to the input image. |\n| `faceMaxCount` | `int` | Maximum number of faces to detect. |\n\n**Returns:**\n\nA list of dictionaries containing facial information:\n\n| Field | Description |\n|---|---|\n| `bbox` | Face bounding box coordinates. |\n| `landmarks` | Facial landmark coordinates. |\n| `embedding` | Extracted facial feature embedding. |\n\n#### `get_similarity(feature1, feature2)`\n\nCompares two facial feature embeddings and returns a similarity score.\n\n**Parameters:**\n\n| Parameter | Type | Description |\n|---|---|---|\n| `feature1` | `array` | First facial feature embedding. |\n| `feature2` | `array` | Second facial feature embedding. |\n\n**Returns:**\n\nA similarity score between 0 and 100, where higher values indicate greater similarity.\n\n### Configuration\n\n| Configuration | Value |\n|---|---|\n| Default similarity threshold | 75 (example) |\n| Supported image formats | JPG, PNG, BMP, TIFF |\n| Face detection | Multiple face detection |\n| Processing | On-premise |\n| Supported operating systems | Windows and Linux |\n\n---\n\n## 🎯 Use Cases\n\nThe SDK can be integrated into a wide range of applications.\n\n### 🔐 Security & Authentication\n\n- **Access Control Systems:** Face-based access control and identity verification.\n- **User Authentication:** Biometric authentication for applications.\n- **Security Monitoring:** Face detection and recognition workflows.\n\n### 👥 Business Applications\n\n- **Time & Attendance:** Automated employee check-in and check-out.\n- **Customer Analytics:** Face-based customer analysis, subject to applicable privacy requirements.\n- **Smart Offices:** Visitor identification and management.\n\n### 📱 Mobile & IoT\n\n- **Smart Devices:** Face recognition integration for connected devices.\n- **Application Development:** Biometric functionality for software applications.\n- **Augmented Reality:** Face detection and facial landmark applications.\n\n---\n\n## 📞 Get in Touch\n\nFor questions, suggestions, collaboration, or technical support:\n\n- **Email:** [nataphong-lab@gmail.com](mailto:nataphong-lab@gmail.com)\n- **GitHub:** [nataphong-lab](https:\u002F\u002Fgithub.com\u002Fnataphong-lab)\n\n---",2,"2026-11-24 04:54:12","CREATED_QUERY"]