InspireFaceInspireFace1.2.4.d3
Home
Get started
Get and build the SDK
Examples
  • English
  • 简体中文
GitHub
Home
Get started
Get and build the SDK
Examples
  • English
  • 简体中文
GitHub
  • Introduction
  • Get started
  • Features
  • Guides

    • Architecture and lifetime
    • Model packs
    • Image inputs and coordinates
    • Sessions and tracking
    • Face analysis
    • Recognition and FeatureHub
    • Facial landmarks
    • Liveness detection
    • Face capture
    • More API recipes
  • Language and platform

    • C API
    • C++
    • Python
    • Android
    • Apple
    • iOS
    • macOS
    • HarmonyOS
  • Get and build the SDK

    • Overview and downloads
    • Source and common options
    • Linux
    • macOS
    • Android
    • iOS
    • HarmonyOS
    • NVIDIA TensorRT
    • Rockchip NPU
    • Python packaging
  • Hardware deployment

    • ARM
    • NVIDIA TensorRT
    • Rockchip NPU
    • Python on Rockchip
  • InspireCV
  • Complete examples
  • API coverage
  • Performance
  • Image processing benchmarks
  • Troubleshooting

Get and build the SDK

Use a prebuilt SDK when its platform, backend and API version fit your application. Build from source when you need newer interfaces, a different toolchain or custom backend options. This section covers the native libraries first, then packaging them for an application or Python environment.

Prebuilt SDKs

The download list below reflects GitHub Releases on September 29, 2026. The latest published native SDK is v1.2.3. Links point to that release so the selected package does not change underneath an integration.

Match the API version

The native and Python examples in this documentation use the 1.2.4 source API, including newer snapshot, capture and diagnostic interfaces. For those examples, build the native library and use the headers or wrapper from the same source revision. A v1.2.3 archive does not provide every interface shown here.

PlatformBackendDownload
Linux x86_64CPU / MNNUbuntu 18.04 · manylinux2014
Linux ARM64CPU / MNNaarch64
Linux ARMv7CPU / MNNarmhf
macOS IntelCPU / MNNx86_64
macOS Apple SiliconCPU / MNNarm64
AndroidCPU / MNNAndroid SDK
iOSCPU / MNNiOS SDK
Linux x86_64TensorRTCUDA 12.2 / Ubuntu 22.04
Linux ARM64RK356x / RK3588aarch64 / RKNPU2
Linux ARMv7RV1109 / RV1126armhf / RKNPU1
Linux ARMv7RV1106armhf / uClibc / RKNPU2
AndroidRK356x / RK3588Android / RKNPU2

The CUDA/Ubuntu label above is the release asset name. Check the linked library dependencies on the deployment machine. The release has no separate HarmonyOS, Windows or CoreML archive; HarmonyOS and the Apple build pages cover their source build routes. There is no dedicated Windows build guide in this section.

Choose the library for the application process, including its architecture and C runtime. A 64-bit device can still run a 32-bit application. Keep each archive’s headers and libraries together, and check the platform guide before linking static frameworks or GPU/NPU libraries.

Apple SDK packaging

The 1.2.4 source adds Objective-C and Swift APIs, iOS simulator slices and paired XCFrameworks. The v1.2.3 downloads above use the older package layout; follow Develop source setup to build the SDK for the Apple examples in this documentation.

ApplicationLibraries to addIntegration guide
Objective-CInspireFace.xcframeworkApple API
SwiftInspireFace.xcframework + InspireFaceSwift.xcframeworkApple API
Native C / C++Headers and libraries under the per-architecture InspireFace/ directoryC, C++
macOS PythonMatching libInspireFace.dylib and Python wrapperPython packaging

InspireFace.framework contains the C and Objective-C interfaces. InspireFaceSwift.framework adds Swift configuration types and scoped buffer helpers. Keep both frameworks from the same build. The package also includes merged platform frameworks, native SDK directories and metadata for checking architectures and deployment targets.

Use the iOS build guide for device and simulator packages, and the macOS build guide for Intel, Apple Silicon and universal packages. iOS frameworks are static; macOS frameworks are dynamic. This distinction controls Xcode's embedding settings. The new iOS framework already incorporates its inference dependency, so it does not need an additional MNN.framework in the application target.

The Apple release workflow prepares a CPU archive named inspireface-apple-<version>.zip; no such archive is present in the published release checked above. CoreML packages can be built locally with the same builder and require a compatible CoreML resource pack.

Python and Android packages

python -m pip install inspireface opencv-python

For a custom native library or wheel, see Python packaging and library replacement.

The Android example uses the JitPack dependency com.github.HyperInspire:inspireface-android-sdk:1.2.0. Its integration page includes the repository and Gradle configuration. Building a native Android SDK produces JNI libraries; assembling Java classes and libraries into an AAR is a separate packaging step explained in Android builds.

Download the model separately

SDK libraries and Python wheels need a resource pack at runtime. Download packs from the model release: Pikachu and Megatron for CPU, Megatron_TRT for TensorRT, or the Gundam file for the target Rockchip SoC. See model selection and loading for the full mapping.

Choose a build guide

GuideWhat it covers
Source and common optionsCheckouts, dependencies, CMake options and output layout.
LinuxNative CPU, ARM cross-compilation, Ubuntu and manylinux builds.
macOSIntel, Apple Silicon, universal frameworks, Swift modules and CoreML.
AndroidNDK, ABIs, JNI libraries and AAR packaging.
iOSDevice / simulator slices, XCFramework packaging and CoreML.
HarmonyOSNative SDK, Node-API adapter and HAR staging.
NVIDIA TensorRTCUDA/TensorRT dependencies and Linux builds.
Rockchip NPUBoard toolchains, RKNN/RGA and Android NPU builds.
Python packagingReplace .so/.dylib, build wheels and verify installation.
Edit this page
Last Updated:: 9/28/26, 8:17 PM
Contributors: Jingyu
Next
Source and common options