提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
|
|
4 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
5 |
|
|
6 |
/** |
|
7 |
* @author 291189 |
|
8 |
* @version 1.0 |
|
9 |
* @description 事件类型EVENT_IVS_FACEBODY_DETECT(人像检测事件)对应的数据块描述信息 |
|
10 |
* @date 2021/8/24 14:09 |
|
11 |
*/ |
|
12 |
public class DEV_EVENT_FACEBODY_DETECT_INFO extends NetSDKLib.SdkStructure { |
|
13 |
public int nChannelID; // 通道号 |
|
14 |
public int nAction; // 1:开始 2:停止 |
|
15 |
public byte[] szName=new byte[128]; // 事件名称 |
|
16 |
public double PTS; // 时间戳(单位是毫秒) |
|
17 |
public NET_TIME_EX UTC=new NET_TIME_EX(); // 事件发生的时间 |
7412dd
|
18 |
/** {@link com.iailab.netsdk.lib.NetSDKLib.EM_CLASS_TYPE} */ |
149dd0
|
19 |
public int emClassType; // 智能事件所属大类 |
H |
20 |
public int nEventID; // 事件ID |
|
21 |
public int nObjectID; // 物体ID |
|
22 |
public int nRuleID; // 智能事件规则编号,用于标示哪个规则触发的事件 |
|
23 |
public int nSequence; // 帧序号 |
|
24 |
public int nGroupID; // 事件组ID,一次检测的多个nGroupID相同 |
|
25 |
public int nCountInGroup; // 一个事件组内的抓拍张数,一次检测的多个nCountInGroup相同 |
|
26 |
public int nIndexInGroup; // 一个事件组内的抓拍序号,从1开始 |
|
27 |
public byte[] byReserved1=new byte[4]; // 字节对齐 |
|
28 |
public FACE_TRAIT stuFaceTrait=new FACE_TRAIT(); // 人脸特征 |
|
29 |
public BODY_TRAIT stuBodyTrait=new BODY_TRAIT(); // 人体特征 |
|
30 |
public NetSDKLib.NET_EVENT_IMAGE_OFFSET_INFO stuBodyImage=new NetSDKLib.NET_EVENT_IMAGE_OFFSET_INFO(); // 人体图片信息 |
|
31 |
public NetSDKLib.NET_EVENT_IMAGE_OFFSET_INFO stuFaceImage=new NetSDKLib.NET_EVENT_IMAGE_OFFSET_INFO(); // 人脸图片信息 |
|
32 |
public NetSDKLib.NET_EVENT_IMAGE_OFFSET_INFO stuSceneImage=new NetSDKLib.NET_EVENT_IMAGE_OFFSET_INFO(); // 全景图片信息 |
|
33 |
public OBJECT_RELATED_INFO stuFaceObject=new OBJECT_RELATED_INFO(); // 人脸关联信息 |
|
34 |
public OBJECT_RELATED_INFO stuBodyObject=new OBJECT_RELATED_INFO(); // 人体关联信息 |
|
35 |
|
|
36 |
@Override |
|
37 |
public String toString() { |
|
38 |
return "DEV_EVENT_FACEBODY_DETECT_INFO{" + |
|
39 |
"nChannelID=" + nChannelID + |
|
40 |
", nAction=" + nAction + |
|
41 |
", szName=" + new String(szName) + |
|
42 |
", PTS=" + PTS + |
|
43 |
", UTC=" + UTC + |
|
44 |
", emClassType=" + emClassType + |
|
45 |
", nEventID=" + nEventID + |
|
46 |
", nObjectID=" + nObjectID + |
|
47 |
", nRuleID=" + nRuleID + |
|
48 |
", nSequence=" + nSequence + |
|
49 |
", nGroupID=" + nGroupID + |
|
50 |
", nCountInGroup=" + nCountInGroup + |
|
51 |
", nIndexInGroup=" + nIndexInGroup + |
|
52 |
'}'; |
|
53 |
} |
|
54 |
} |