Skip to content

iBeta (Level 2) Certified, Single-Image Based Face Liveness Detection (Face Anti Spoofing) Server SDK

Notifications You must be signed in to change notification settings

Assam0215/MiniAI-Face-LivenessDetection-ServerSDK

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MiniAiLive Face LivenessDetection Server SDK

MiniAiLive Logo

Welcome to the MiniAiLive!

A 100% spoofing-prevention rate for both 3D printed and resin facial masks, confirms MiniAiLive® as a leading facial recognition solution for preventing biometric fraud in remote applications, such as online banking, requiring identity verification before granting access to sensitive data or valuable assets. Feel free to use our MiniAI Face Recognition Server SDK.

Note

SDK is fully on-premise, processing all happens on hosting server and no data leaves server.

Project Structure

# Code & components for pages
./MiniAI-Face-LivenessDetection-ServerSDK
  ├─ bin/linux_x86_64                 - # Core library files
  │  ├─ libminiai_liveness.so
  │  ├─ libminiai_models.so
  │  └─ libimutils.so
  ├─ cpp                              - # C++ example
  │  ├─ CMakeLists.txt                - # CMake file for build example
  │  ├─ miniai_liveness.h             - # C++ header file to include library
  │  └─ main.cpp                      - # C++ example code
  ├─ flask                            - # Python flask API serving example
  │  ├─ app.py                        - # Flask example code
  │  └─ requirements.txt               - # Python requirement list
  ├─ model                            - # NN dictionary files for library
  │  ├─ data1.bin
  │  └─ data2.bin
  ├─ python                           - # Python example
  │  ├─ miniai_liveness.py            - # Python library Import Interface file
  │  ├─ main.py                       - # Python example code
  │  └─ requirements.txt              - # Python requirement list
  ├─ test_image                       - # Test Images
  │  ├─ genuine.jpg
  │  └─ spoof.png
  └─ Dockerfile                       - # Docker script for python flask API serving example

Setup Project

- Linux

  • Download repo and extract it
git clone https://github.com/MiniAiLive/MiniAI-Face-LivenessDetection-ServerSDK.git
  • Install system dependencies
sudo apt-get update -y
sudo apt-get install -y libcurl4-openssl-dev libssl-dev libopencv-dev
  • Copy libraries into system folder
cp ./bin/linux_x86_64/libminiai_models.so /usr/lib
cp ./bin/linux_x86_64/libimutils.so /usr/lib

- Windows

Contact US by Email info@miniai.live

C++ Example

  • Replace license key in main.cpp
  • Build project
cd cpp
mkdir build && cd build
cmake ..
make
  • Run project
./example_liveness --image ../../test_image/spoof.png --model ../../model

Python Example

  • Replace license key in main.py
  • Install dependencies
cd python
pip install -r requirements.txt
  • Run project
python main.py

Python Flask Example

  • Replace license key in app.py
  • Install dependencies
cd flask
pip install -r requirements.txt
  • Run project
python app.py

  

Docker Flask Example

  • Replace license key in app.py
  • Build docker image
docker build --pull --rm -f "Dockerfile" -t miniailiveness:latest "."
  • Run image
docker run --network host miniailiveness

Request license

Feel free to Contact US to get trial License
You will get email with trial license key ("XXXXX-XXXXX-XXXXX-XXXXX").

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

1. Fork the repository.
2. Create a new branch for your feature or bug fix.
3. Make your changes and commit them with descriptive messages.
4. Push your changes to your forked repository.
5. Submit a pull request to the original repository.

About MiniAiLive

MiniAiLive is a leading AI solutions company specializing in computer vision and machine learning technologies. We provide cutting-edge solutions for various industries, leveraging the power of AI to drive innovation and efficiency.

Contact US

For any inquiries or questions, please Contact US

www.miniai.livewww.miniai.livewww.miniai.live

About

iBeta (Level 2) Certified, Single-Image Based Face Liveness Detection (Face Anti Spoofing) Server SDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 52.4%
  • C++ 29.3%
  • Dockerfile 7.6%
  • CMake 5.7%
  • C 5.0%