{"id":26460248,"url":"https://github.com/faceplugin-ltd/facerecognition-livenessdetection-javascript","last_synced_at":"2025-03-19T02:49:04.561Z","repository":{"id":212087469,"uuid":"730669003","full_name":"Faceplugin-ltd/FaceRecognition-LivenessDetection-Javascript","owner":"Faceplugin-ltd","description":"Face Recognition Javascript SDK using ONNX Runtime Web and OpenCV.js (Face Detection, Face Landmarks, Face Liveness, Face Pose, Face Expression, Eye Closeness, Age, Gender and Face Recognition)","archived":false,"fork":false,"pushed_at":"2024-02-29T19:31:40.000Z","size":40216,"stargazers_count":23,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-10T23:23:49.200Z","etag":null,"topics":["age-estimation","angular","eye-detection","face-antispoofing","face-detection","face-expression","face-landmark","face-liveness","face-pose","face-recognition","gender-detection","onnxruntime","react","vue3"],"latest_commit_sha":null,"homepage":"https://faceplugin.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Faceplugin-ltd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-12-12T12:25:03.000Z","updated_at":"2024-08-08T06:03:54.000Z","dependencies_parsed_at":"2024-02-29T20:47:38.104Z","dependency_job_id":null,"html_url":"https://github.com/Faceplugin-ltd/FaceRecognition-LivenessDetection-Javascript","commit_stats":null,"previous_names":["kby-ai/facerecognition-javascript","faceplugin-ltd/facerecognition-javascript","faceplugin-ltd/facerecognition-livenessdetection-javascript"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Faceplugin-ltd%2FFaceRecognition-LivenessDetection-Javascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Faceplugin-ltd%2FFaceRecognition-LivenessDetection-Javascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Faceplugin-ltd%2FFaceRecognition-LivenessDetection-Javascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Faceplugin-ltd%2FFaceRecognition-LivenessDetection-Javascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Faceplugin-ltd","download_url":"https://codeload.github.com/Faceplugin-ltd/FaceRecognition-LivenessDetection-Javascript/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244345086,"owners_count":20438241,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["age-estimation","angular","eye-detection","face-antispoofing","face-detection","face-expression","face-landmark","face-liveness","face-pose","face-recognition","gender-detection","onnxruntime","react","vue3"],"created_at":"2025-03-19T02:49:04.013Z","updated_at":"2025-03-19T02:49:04.552Z","avatar_url":"https://github.com/Faceplugin-ltd.png","language":"JavaScript","readme":"\u003cdiv align=\"center\"\u003e\n\u003cimg alt=\"\" src=\"https://github.com/Faceplugin-ltd/FaceRecognition-Javascript/assets/160750757/657130a9-50f2-486d-b6d5-b78bcec5e6e2.png\" width=200/\u003e\n\u003c/div\u003e\n\n# Face Recognition SDK Javascript - Fully On Premise\n## Overview\nExperience the epitome of speed and fairness with our `face recognition model` **Top-ranked on NIST FRVT**, coupled with an advanced **iBeta level 2 liveness detection** engine that effectively safeguards against **printed photos, video replay, 3D masks, and deepfake threats**, ensuring top-tier security.\n\u003cbr\u003eThis is `on-premise SDK` which means everything is processed on the browser and **NO** data leaves the device \n\u003cbr\u003e\u003c/br\u003e\n\n## Installation\n\n```bash\nnpm install faceplugin\n```\n\n## Table of Contents\n\n* **[Face Detection](#face-detection)**\n* **[Face Landmark Extraction](#face-landmark-extraction)**\n* **[Face Liveness Detection](#face-expression-detection)**\n* **[Face Expression Detection](#face-expression-detection)**\n* **[Face Pose Estimation](#face-pose-estimation)**\n* **[Eye Closeness Detection](#eye-closeness-detection)**\n* **[Gender Detection](#gender-detection)**\n* **[Age Detection](#age-detection)**\n* **[Face Feature Embedding](#face-recognition)**\n\n## Examples\n\nhttps://github.com/kby-ai/FaceRecognition-Javascript/assets/125717930/551b6964-0fef-4483-85a7-76792c0f3b56\n\n* [Vue.js Demo](https://github.com/Faceplugin-ltd/FacePlugin-FaceRecognition-Vue)\n* [React.js Demo](https://github.com/Faceplugin-ltd/FacePlugin-FaceRecognition-React)\n\n\u003ca href=\"http://www.youtube.com/watch?feature=player_embedded\u0026v=1aogUPLjdtw\" target=\"_blank\"\u003e\n \u003cimg src=\"http://img.youtube.com/vi/1aogUPLjdtw/maxresdefault.jpg\" alt=\"Watch the video\" width=\"960\" height=\"520\" border=\"10\" /\u003e\n\u003c/a\u003e\n\n## List of our Products\n\n* **[FaceRecognition-LivenessDetection-Android](https://github.com/Faceplugin-ltd/FaceRecognition-Android)**\n* **[FaceRecognition-LivenessDetection-iOS](https://github.com/Faceplugin-ltd/FaceRecognition-iOS)**\n* **[FaceRecognition-LivenessDetection-Javascript](https://github.com/Faceplugin-ltd/FaceRecognition-LivenessDetection-Javascript)**\n* **[FaceLivenessDetection-Android](https://github.com/Faceplugin-ltd/FaceLivenessDetection-Android)**\n* **[FaceLivenessDetection-iOS](https://github.com/Faceplugin-ltd/FaceLivenessDetection-iOS)**\n* **[FaceLivenessDetection-Linux](https://github.com/Faceplugin-ltd/FaceLivenessDetection-Linux)**\n* **[FaceRecognition-LivenessDetection-React](https://github.com/Faceplugin-ltd/FaceRecognition-LivenessDetection-React)**\n* **[FaceRecognition-LivenessDetection-Vue](https://github.com/Faceplugin-ltd/FaceRecognition-LivenessDetection-Vue)**\n* **[Face Recognition SDK](https://github.com/Faceplugin-ltd/Face-Recognition-SDK)**\n* **[Liveness Detection SDK](https://github.com/Faceplugin-ltd/Face-Liveness-Detection-SDK)**\n* **[ID Card Recognition](https://github.com/Faceplugin-ltd/ID-Card-Recognition)**\n\n## Documentation\n\nHere are some useful documentation\n\n\u003ca name=\"face-detection\"\u003e\u003c/a\u003e\n### Face Detection\nLoad detection model\n```\nloadDetectionModel()\n```\nDetect face in the image\n```\ndetectFace(session, canvas_id)\n```\n\n\u003ca name=\"face-landmark-extraction\"\u003e\u003c/a\u003e\n### Face Landmark Extraction\nLoad landmark extraction model\n```\nloadLandmarkModel()\n```\nExtract face landmark in the image using detection result\n```\npredictLandmark(session, canvas_id, bbox)\n```\n\n\u003ca name=\"face-liveness-detection\"\u003e\u003c/a\u003e\n### Face Liveness Detection\nLoad liveness detection model\n```\nloadLivenessModel()\n```\nDetect face liveness in the image using detection result. (Anti-spoofing)\n```\npredictLiveness(session, canvas_id, bbox)\n```\n\n\u003ca name=\"face-expression-detection\"\u003e\u003c/a\u003e\n### Face Expression Detection\nLoad expression detection model\n```\nloadExpressionModel()\n```\nDetect face expression\n```\npredictExpression(session, canvas_id, bbox)\n```\n\n\u003ca name=\"face-pose-estimation\"\u003e\u003c/a\u003e\n### Face Pose Estimation\nLoad pose estimation model\n```\nloadPoseModel()\n```\nPredict facial pose\n```\npredictPose(session, canvas_id, bbox, question)\n```\n\n\u003ca name=\"eye-closeness-detection\"\u003e\u003c/a\u003e\n### Eye Closeness Detection\nLoad eye closeness model\n```\nloadEyeModel()\n```\nPredict eye closeness\n```\npredictEye(session, canvas_id, landmark)\n```\n\n\u003ca name=\"gender-detection\"\u003e\u003c/a\u003e\n### Gender Detection\nLoad gender detection model\n```\nloadGenderModel()\n```\nPredict gender using face image\n```\npredictGender(session, canvas_id, landmark)\n```\n\n\u003ca name=\"age-detection\"\u003e\u003c/a\u003e\n### Age Detection\nLoad age detection model\n```\nloadAgeModel()\n```\nPredict age using face image\n```\npredictAge(session, canvas_id, landmark)\n```\n\n\u003ca name=\"face-recognition\"\u003e\u003c/a\u003e\n### Face Recognition\nLoad feature extraction model\n```\nloadFeatureModel()\n```\nExtract face feature vector in 512 dimension\n```\nextractFeature(session, canvas_id, landmarks)\n```\n\n## Contact\nIf you want to get better model, please contact us\n\n\u003cdiv align=\"left\"\u003e\n\u003ca target=\"_blank\" href=\"mailto:info@faceplugin.com\"\u003e\u003cimg src=\"https://img.shields.io/badge/email-info@faceplugin.com-blue.svg?logo=gmail \" alt=\"faceplugin.com\"\u003e\u003c/a\u003e\u0026emsp;\n\u003ca target=\"_blank\" href=\"https://t.me/faceplugin\"\u003e\u003cimg src=\"https://img.shields.io/badge/telegram-@faceplugin-blue.svg?logo=telegram \" alt=\"faceplugin.com\"\u003e\u003c/a\u003e\u0026emsp;\n\u003ca target=\"_blank\" href=\"https://wa.me/+14422295661\"\u003e\u003cimg src=\"https://img.shields.io/badge/whatsapp-faceplugin-blue.svg?logo=whatsapp \" alt=\"faceplugin.com\"\u003e\n\u003c/div\u003e\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaceplugin-ltd%2Ffacerecognition-livenessdetection-javascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffaceplugin-ltd%2Ffacerecognition-livenessdetection-javascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaceplugin-ltd%2Ffacerecognition-livenessdetection-javascript/lists"}