From 8bca5e44d30b004f61c2ba2da29d533a0aaaedc1 Mon Sep 17 00:00:00 2001 From: Jingyu Date: Thu, 9 Jan 2025 23:16:01 +0800 Subject: [PATCH] Fix log api bug for android --- python/README.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/python/README.md b/python/README.md index f526fb69..23add25c 100644 --- a/python/README.md +++ b/python/README.md @@ -1,12 +1,23 @@ -# PyInspireFace +# InspireFace Python API + +We provide a Python API for calling InspireFace, which is implemented by wrapping the dynamic link library using ctypes. You can install the latest release version on your computer via pip from PyPI, or you can configure it using a self-compiled dynamic library with this project. + +## Quick Install + +For Python users on Linux and MacOS, InspireFace can be quickly installed via pip: + +```bash +pip install inspireface +``` + ## Setup Library -You need to compile the dynamic linking library in the main project and then place it in **inspireface/modules/core**. +You need to compile the dynamic linking library in the main project and then place it in **inspireface/modules/core/SYSTEM/CORE_ARCH/**. ```Bash # copy or link -cp YOUR_BUILD_DIR/libInspireFace.so inspireface/modules/core +cp YOUR_BUILD_DIR/libInspireFace.so inspireface/modules/core/SYSTEM/CORE_ARCH/ ``` ## Require @@ -19,7 +30,7 @@ pip install tqdm pip install opencv-python ``` -## Quick Start +## Simple example You can easily call the api to implement a number of functions: