nx_server_plugin_sdk 1.0 Server Plugin SDK

device_agent_manifest.h
1 // Copyright 2018-present Network Optix, Inc. Licensed under MPL 2.0: www.mozilla.org/MPL/2.0/
2
3 #pragma once
4
5 #include <string>
6
7 namespace nx {
8 namespace vms_server_plugins {
9 namespace analytics {
10 namespace stub {
11 namespace object_detection {
12
13 static const std::string kDeviceAgentManifest = /*suppress newline*/ 1 + (const char*) R"json(
14 {
15 "supportedTypes":
16 [
17 {
18 "objectTypeId": "nx.base.Vehicle",
19 "attributes":
20 [
21 "Color",
22 "Speed",
23 "Brand",
24 "Model",
25 "Size",
26 "License Plate",
27 "License Plate.Number",
28 "License Plate.Country",
29 "License Plate.State/Province",
30 "License Plate.Size",
31 "License Plate.Color",
32 "Driver buckled up",
33 "Lane"
34 ]
35 },
36 {
37 "objectTypeId": "nx.base.Person",
38 "attributes":
39 [
40 "Gender",
41 "Race",
42 "Age",
43 "Height",
44 "Activity",
45 "Hat",
46 "Hat.Color",
47 "Hat.Type",
48 "Scarf",
49 "Scarf.Color",
50 "Body Shape",
51 "Top Clothing Color",
52 "Top Clothing Length",
53 "Top Clothing Grain",
54 "Top Clothing Type",
55 "Bottom Clothing Color",
56 "Bottom Clothing Length",
57 "Bottom Clothing Grain",
58 "Bottom Clothing Type",
59 "Gloves",
60 "Gloves.Color",
61 "Shoes",
62 "Shoes.Color",
63 "Shoes.Type",
64 "Name",
65 "Temperature",
66 "Tattoo",
67 "Bag",
68 "Bag.Size",
69 "Bag.Color",
70 "Bag.Type",
71 "Weapon",
72 "Cigarette",
73 "Cigarette.Type",
74 "Mobile Phone",
75 "Mobile Phone.Position",
76 "Cart",
77 "Cart.Type",
78 "Bottle",
79 "Umbrella",
80 "Umbrella.Color",
81 "Umbrella.Open",
82 "Box",
83 "Box.Color",
84 "Box.Lug",
85 "Mask",
86 "Glasses",
87 "Glasses.Type",
88 "Helmet"
89 ]
90 },
91 {
92 "objectTypeId": "nx.base.Face",
93 "attributes":
94 [
95 "Gender",
96 "Race",
97 "Age",
98 "Shape",
99 "Length",
100 "Emotion",
101 "Hat",
102 "Hat.Color",
103 "Hat.Type",
104 "Hair Color",
105 "Hair Type",
106 "Eyelid",
107 "Eyebrow Width",
108 "Eyebrow Space",
109 "Eyebrow Color",
110 "Eyes",
111 "Mouth",
112 "Eyes Shape",
113 "Eyes Color",
114 "Nose Length",
115 "Nose Bridge",
116 "Nose Wing",
117 "Nose End",
118 "Facial Hair",
119 "Facial Hair.Type",
120 "Ear Type",
121 "Lip Type",
122 "Chin Type",
123 "Freckles",
124 "Tattoo",
125 "Mole",
126 "Scar",
127 "Temperature",
128 "Name",
129 "Cigarette",
130 "Cigarette.Type",
131 "Mask",
132 "Glasses",
133 "Glasses.Type",
134 "Helmet"
135 ]
136 },
137 {
138 "objectTypeId": "nx.base.LicensePlate",
139 "attributes":
140 [
141 "Number",
142 "Country",
143 "State/Province",
144 "Size",
145 "Color"
146 ]
147 },
148 {
149 "objectTypeId": "nx.base.Animal",
150 "attributes":
151 [
152 "Size",
153 "Color"
154 ]
155 },
156 {
157 "objectTypeId": "nx.base.Unknown",
158 "attributes": []
159 },
160 {
161 "objectTypeId": "nx.base.Car",
162 "attributes":
163 [
164 "Type",
165 "Color",
166 "Speed",
167 "Brand",
168 "Model",
169 "Size",
170 "License Plate",
171 "License Plate.Number",
172 "License Plate.Country",
173 "License Plate.State/Province",
174 "License Plate.Size",
175 "License Plate.Color",
176 "Driver buckled up",
177 "Lane"
178 ]
179 },
180 {
181 "objectTypeId": "nx.base.Truck",
182 "attributes":
183 [
184 "Type",
185 "Color",
186 "Speed",
187 "Brand",
188 "Model",
189 "Size",
190 "License Plate",
191 "License Plate.Number",
192 "License Plate.Country",
193 "License Plate.State/Province",
194 "License Plate.Size",
195 "License Plate.Color",
196 "Driver buckled up",
197 "Lane"
198 ]
199 },
200 {
201 "objectTypeId": "nx.base.Bus",
202 "attributes":
203 [
204 "Type",
205 "Color",
206 "Speed",
207 "Brand",
208 "Model",
209 "Size",
210 "License Plate",
211 "License Plate.Number",
212 "License Plate.Country",
213 "License Plate.State/Province",
214 "License Plate.Size",
215 "License Plate.Color",
216 "Driver buckled up",
217 "Lane"
218 ]
219 },
220 {
221 "objectTypeId": "nx.base.Train",
222 "attributes":
223 [
224 "Color",
225 "Speed",
226 "Brand",
227 "Model",
228 "Size",
229 "License Plate",
230 "License Plate.Number",
231 "License Plate.Country",
232 "License Plate.State/Province",
233 "License Plate.Size",
234 "License Plate.Color",
235 "Driver buckled up",
236 "Lane"
237 ]
238 },
239 {
240 "objectTypeId": "nx.base.Tram",
241 "attributes":
242 [
243 "Color",
244 "Speed",
245 "Brand",
246 "Model",
247 "Size",
248 "License Plate",
249 "License Plate.Number",
250 "License Plate.Country",
251 "License Plate.State/Province",
252 "License Plate.Size",
253 "License Plate.Color",
254 "Driver buckled up",
255 "Lane"
256 ]
257 },
258 {
259 "objectTypeId": "nx.base.Bike",
260 "attributes":
261 [
262 "Type",
263 "Color",
264 "Speed",
265 "Brand",
266 "Model",
267 "Size",
268 "License Plate",
269 "License Plate.Number",
270 "License Plate.Country",
271 "License Plate.State/Province",
272 "License Plate.Size",
273 "License Plate.Color",
274 "Driver buckled up",
275 "Lane"
276 ]
277 },
278 {
279 "objectTypeId": "nx.base.Special",
280 "attributes":
281 [
282 "Type",
283 "Color",
284 "Speed",
285 "Brand",
286 "Model",
287 "Size",
288 "License Plate",
289 "License Plate.Number",
290 "License Plate.Country",
291 "License Plate.State/Province",
292 "License Plate.Size",
293 "License Plate.Color",
294 "Driver buckled up",
295 "Lane"
296 ]
297 },
298 {
299 "objectTypeId": "nx.base.WaterTransport",
300 "attributes":
301 [
302 "Color",
303 "Speed",
304 "Brand",
305 "Model",
306 "Size",
307 "License Plate",
308 "License Plate.Number",
309 "License Plate.Country",
310 "License Plate.State/Province",
311 "License Plate.Size",
312 "License Plate.Color",
313 "Driver buckled up",
314 "Lane"
315 ]
316 },
317 {
318 "objectTypeId": "nx.base.AirTransport",
319 "_comment": "License Plate attributes are not shown to demonstrate the Supported Attributes feature.",
320 "attributes":
321 [
322 "Color",
323 "Speed",
324 "Brand",
325 "Model",
326 "Size",
327 "License Plate",
328 "Driver buckled up",
329 "Lane"
330 ]
331 },
332 {
333 "objectTypeId": "nx.base.Cat",
334 "attributes":
335 [
336 "Size",
337 "Color"
338 ]
339 },
340 {
341 "objectTypeId": "nx.base.Dog",
342 "attributes":
343 [
344 "Size",
345 "Color"
346 ]
347 },
348 {
349 "objectTypeId": "nx.base.Fish",
350 "attributes":
351 [
352 "Size",
353 "Color"
354 ]
355 },
356 {
357 "objectTypeId": "nx.base.Snake",
358 "attributes":
359 [
360 "Size",
361 "Color"
362 ]
363 },
364 {
365 "objectTypeId": "nx.base.Bird",
366 "attributes":
367 [
368 "Size",
369 "Color"
370 ]
371 }
372 ]
373 }
374 )json";
375
376 } // namespace object_detection
377 } // namespace stub
378 } // namespace analytics
379 } // namespace vms_server_plugins
380 } // namespace nx
nx
Definition: apple_utils.h:6