Skip to content

Latest commit

 

History

History
135 lines (124 loc) · 4.99 KB

File metadata and controls

135 lines (124 loc) · 4.99 KB

MiniAiLive Face Recognition Server SDK

MiniAiLive Logo

Welcome to the MiniAiLive!

We provide system integrators with fast, flexible and extremely precise facial recognition that can be deployed across a number of scenarios, including security, access control, public safety, fintech, smart retail and home protection. 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

./MiniAI-Face-Recognition-ServerSDK
  ├─ bin/linux_x86_64                 - # Core library files
  │  ├─ openvino
  │  ├─ libminiai_rec.so
  │  └─ libimutils.so
  ├─ cpp                              - # C++ example
  │  ├─ CMakeLists.txt                - # CMake file for build example
  │  ├─ miniai_rec.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  
  │  └─ data3.bin
  ├─ python                           - # Python example
  │  ├─ miniai_rec.py               - # Python library Import Interface file
  │  ├─ main.py                       - # Python example code
  │  └─ requirements.txt              - # Python requirement list
  ├─ test_image                       - # Test Images
  └─ 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-Recognition-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 -rf ./bin/linux_x86_64/openvino/* /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_recognition --image1 ../../test_image/Carlos_Menem_0018.jpg --image2 ../../test_image/Carlos_Menem_0020.jpg --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 miniairecognition:latest "."
  • Run image
docker run --network host miniairecognition

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