houzhongjian
2024-11-06 7412dd652c0ac48c5a17b5d9b61d5d2a0f686137
提交 | 用户 | 时间
149dd0 1 package com.iailab.netsdk.lib.structure;
H 2
3 import com.iailab.netsdk.lib.NetSDKLib;
4 import com.iailab.netsdk.lib.NetSDKLib.EVENT_INTELLI_COMM_INFO;
5 import com.iailab.netsdk.lib.NetSDKLib.NET_FACE_DATA;
6 import com.iailab.netsdk.lib.NetSDKLib.NET_FEATURE_VECTOR;
7 import com.iailab.netsdk.lib.NetSDKLib.NET_GPS_INFO;
8 import com.iailab.netsdk.lib.NetSDKLib.NET_MSG_OBJECT;
9 import com.iailab.netsdk.lib.NetSDKLib.NET_PASSERBY_INFO;
10 import com.iailab.netsdk.lib.NetSDKLib.NET_PIC_INFO;
11 import com.iailab.netsdk.lib.NetSDKLib.NET_TIME_EX;
12 import com.iailab.netsdk.lib.NetSDKLib.SCENE_IMAGE_INFO;
13 import com.iailab.netsdk.lib.structure.NET_CUSTOM_PROJECTS_INFO;
14 import com.iailab.netsdk.lib.structure.NET_IMAGE_INFO_EX2;
15 import com.iailab.netsdk.lib.structure.NET_MSG_OBJECT_SUPPLEMENT;
16 import com.sun.jna.Pointer;
17
18 /**
19  * @author 251823
20  * @description 事件类型EVENT_IVS_FACERECOGNITION(目标识别)对应的数据块描述信息,简化版本
21  * @date 2022/05/23
22  */
23 public class DEV_EVENT_FACERECOGNITION_INFO_V1 extends NetSDKLib.SdkStructure{
24        public int                         nChannelID;                                    // 通道号
25         public byte[]                     szName = new byte[128];                     // 事件名称
26         public int                         nEventID;                                    // 事件ID
27         public NET_TIME_EX              UTC;                                        // 事件发生的时间
28         public NET_MSG_OBJECT           stuObject;                                    // 检测到的物体
29         public int                         nCandidateNum;                                // 当前人脸匹配到的候选对象数量
30         public Pointer                     stuCandidates;                              //当前人脸匹配到的候选对象信息,参考CANDIDATE_INFOEX数组
31         public byte                     bEventAction;                                // 事件动作,0表示脉冲事件,1表示持续性事件开始,2表示持续性事件结束;
32         public byte                     byImageIndex;                                // 图片的序号,同一时间内(精确到秒)可能有多张图片,从0开始
33         public byte[]                     byReserved1 = new byte[2];                  // 对齐
34         public int                         bGlobalScenePic;                            // 全景图是否存在, 类型为BOOL, 取值为0或者1
35         public NET_PIC_INFO             stuGlobalScenePicInfo;                        // 全景图片信息
36         public byte[]                     szSnapDevAddress = new byte[NetSDKLib.MAX_PATH];        // 抓拍当前人脸的设备地址,如:滨康路37号
37         public int                         nOccurrenceCount;                            // 事件触发累计次数, 类型为unsigned int
38         public EVENT_INTELLI_COMM_INFO  stuIntelliCommInfo;                            // 智能事件公共信息
39         public NET_FACE_DATA             stuFaceData;                                // 人脸数据
40         public byte[]                    szUID = new byte[NetSDKLib.NET_COMMON_STRING_32];        // 抓拍人员写入数据库的唯一标识符
41         public NET_FEATURE_VECTOR        stuFeatureVector;                            // 特征值信息
42         public byte[]                    szFeatureVersion = new byte[32];            // 特征值算法版本
43         public int                         emFaceDetectStatus;                           // 人脸在摄像机画面中的状态,详见EM_FACE_DETECT_STATUS
44         public byte[]                    szSourceID = new byte[32];                    // 事件关联ID,同一个物体或图片生成多个事件时SourceID相同
45         public NET_PASSERBY_INFO        stuPasserbyInfo;                            // 路人库信息
46         public int                        nStayTime;                                    // 路人逗留时间 单位:秒       
47         public byte[]                    bReserved = new byte[432];                  // 保留字节,留待扩展.
48         public NET_GPS_INFO             stuGPSInfo;                                 // GPS信息          
49         public byte[]                    szSerialUUID = new byte[22];                // 级联物体ID唯一标识
50                                                                                        // 格式如下:前2位%d%d:01-视频片段,02-图片,03-文件,99-其他;
51                                                                                     // 中间14位YYYYMMDDhhmmss:年月日时分秒;后5位%u%u%u%u%u:物体ID,如00001
52         public byte[]                    byReserved = new byte[2];                   // 对齐
53         public NET_CUSTOM_PROJECTS_INFO stuCustomProjects;                        // 项目信息
54         public boolean                bIsDuplicateRemove;                            // 智慧零售,是否符合去重策略(TRUE:符合 FALSE:不符合)
55         public byte[]                byReserved2=new byte[4];                                // 字节对齐
56         public NET_IMAGE_INFO_EX2[]       stuImageInfo = (NET_IMAGE_INFO_EX2[])new NET_IMAGE_INFO_EX2().toArray(32);    // 图片信息数组
57
58         public int                    nImageInfoNum;                                // 图片信息个数
59         public NET_MSG_OBJECT_SUPPLEMENT    stuObjectSupplement;                // 检测到的物体补充字段
60         public int                    nMode;                                      //0-普通  1-开启陌生人模式
61         public    SCENE_IMAGE_INFO                    stuThumImageInfo=new SCENE_IMAGE_INFO();        //大图(全景图)的缩略图信息
62         public    SCENE_IMAGE_INFO                    stuHumanImageInfo=new SCENE_IMAGE_INFO();       //人体图片信息
63         public    byte[]                    szVideoPath=new byte[256];                  //违章关联视频FTP上传路径
64         public    byte[]                    byReserved3=new byte[316];                  //保留字节
65 }