/* * File Name: ZwnAmlogicHelperData * Author: Guan B * Version: 1.0.0 * Data: 2022.04.08 * Des: 调用SDK接口Demos设置一些的参数 * Other: Zeewain */ using System.Collections; using System.Collections.Generic; using UnityEngine; public class ZwnAmlogicHelperData { /// /// zeepose点17,29,33(不稳定) /// public const int ZWN_POSE_KEY_POINTS_DIM_LEN = 17; /// /// 0表示17个骨骼关键点, 1表示29个骨骼关键点, 2表示33个骨骼关键点 /// public static int landmarkType = 0; /// /// 跟踪人数 /// public static int trackNum = 1; /// /// 0:CPU 1:OpenCL 2:metal 3:OpenGl 4:Vulkan /// public static int deviceType = 1; /// /// 线程数 /// public static int threadNum = 2; /// /// “0” 后置, "1" 前置 /// public static string cameraId = "0"; /// /// 是否已开启相机 /// public static bool isOpenCamera = false; /// /// 是否可以开启相机 /// public static bool isCanOpenCamera = false; /// /// 是否初始化算法 /// public static int initPersonPoseNum = -1; /// /// 判断算法是否检测到人 /// public static bool isSomeone = false; /// /// ZeePose是否选择Best取点 /// public static bool isuseBestPose = false; }