2026-08-20 11:51:26 +08:00
2026-08-04 15:38:28 +08:00
2026-08-20 12:03:55 +08:00
2026-08-20 12:03:55 +08:00
2026-08-19 18:01:28 +08:00

AISU SI-M1 Face SDK

xin.aisu.si-m1.face is a Unity SDK for AISU SI-M1 face recognition modules. It provides serial communication, packet parsing, module lifecycle management, face verification, face enrollment, user management, image capture, QR code, UVC parameters, mock transport, and sample scenes.

中文说明见 README.zh-CN.md。

Package Info

Item Value
Package Name xin.aisu.si-m1.face
Display Name AISU SI-M1 Face SDK
Runtime Assembly Aisu.SIM1.Face.Runtime.dll
Editor Assembly Aisu.SIM1.Face.Editor.dll
Unity Version 2021.3 or newer
Settings Asset Assets/Resources/AISU/SI-M1 Face SDK/FaceSdkSettings.asset

Quick Start

  1. Open AISU/SI-M1 Face SDK/Settings.
  2. Configure serial port, baud rate, mock mode, auto verify, and logging options.
  3. Add one FaceModuleManager to the scene and bind the settings asset.
  4. Call SDK services through FaceModuleManager.
using Aisu.SIM1.Face.Core;
using UnityEngine;

public sealed class FaceExample : MonoBehaviour
{
    [SerializeField] private FaceModuleManager manager;

    private async void Start()
    {
        manager.Open();
        await manager.WaitReadyAsync();

        var version = await manager.Basic.GetVersionAsync();
        Debug.Log("SI-M1 version: " + version);
    }

    private void OnApplicationQuit()
    {
        manager?.Close();
    }
}

Samples

Open AISU/SI-M1 Face SDK/Settings and click Import Demos, then open the imported scenes under Assets/Samples.

Assets/Samples/AISU SI-M1 Face SDK/SIM1FaceDemo/Scenes/FaceModuleDemo.unity
Assets/Samples/AISU SI-M1 Face SDK/FaceDetectionDemo/Scenes/FaceDetectionDemo.unity

Do not open sample scenes directly from Packages/xin.aisu.si-m1.face/Samples, because Git UPM package contents are read-only in Unity.

Use SI-M1 Face Demo for full SDK command testing. Use Face Detection Demo for a compact camera, serial, enrollment, verification, and user-list workflow.

Documentation

English Chinese
Quick Start 快速开始
Configuration 配置说明
API Reference API 参考
Mock and Testing Mock 与测试
Demo UI Demo UI

Runtime Notes

  • Keep one FaceModuleManager in each scene.
  • Use Close() or CloseAsync() when leaving a scene or quitting the app.
  • When auto verify is enabled, use StopFaceOperationAsync() before enrollment, user management, QR scan, image capture, or other exclusive operations.
Description
No description provided
Readme 863 KiB
Languages
C# 100%