-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathface-detection.xml
More file actions
56 lines (53 loc) · 2.02 KB
/
Copy pathface-detection.xml
File metadata and controls
56 lines (53 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?xml version="1.0" encoding="UTF-8"?>
<!-- NVR v2.0: videoFaceDetect (Face Detection)
Sent when a face is detected in the camera's field of view.
IPC v1.x equivalent: VFD
alarmStatus field: vfdAlarm
IMPORTANT: This alarm type uses faceListInfo instead of
eventInfo + targetListInfo.
Face attribute fields:
age — young, youth, middleAged, elderly, unknown
sex — male, female, unknown
glasses — yes, no, unknown
mask — yes, no, unknown
targetImageData — square face crop (e.g., 184x184)
Note: Face RECOGNITION (matching against a database / VFD_MATCH) is NOT
forwarded via NVR HTTP Post. Only face detection with attributes is sent. -->
<config version="2.0.0" xmlns="http://www.ipc.com/ver10">
<messageType>alarmData</messageType>
<deviceInfo>
<deviceName><![CDATA[Office]]></deviceName>
<ip><![CDATA[192.168.0.50]]></ip>
<mac><![CDATA[58:5B:69:12:F0:79]]></mac>
<channelId>1</channelId>
</deviceInfo>
<smartType>videoFaceDetect</smartType>
<currentTime>1772212642929000</currentTime>
<sourceDataInfo>
<dataType>0</dataType>
<width>1280</width>
<height>720</height>
<sourceBase64Length>440072</sourceBase64Length>
<sourceBase64Data>BASE64_JPEG_OVERVIEW_IMAGE</sourceBase64Data>
</sourceDataInfo>
<faceListInfo>
<item>
<targetId>50</targetId>
<rect>
<x1>854</x1><y1>176</y1>
<x2>978</x2><y2>300</y2>
</rect>
<age>middleAged</age>
<sex>male</sex>
<glasses>unknown</glasses>
<mask>unknown</mask>
<targetImageData>
<dataType>0</dataType>
<width>184</width>
<height>184</height>
<targetBase64Length>14860</targetBase64Length>
<targetBase64Data>BASE64_JPEG_FACE_CROP</targetBase64Data>
</targetImageData>
</item>
</faceListInfo>
</config>