nx_metadata_sdk  1.0
Metadata 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.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  "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  "Driver buckled up",
172  "Lane"
173  ]
174  },
175  {
176  "objectTypeId": "nx.base.Truck",
177  "attributes":
178  [
179  "Type",
180  "Color",
181  "Speed",
182  "Brand",
183  "Model",
184  "Size",
185  "License Plate",
186  "Driver buckled up",
187  "Lane"
188  ]
189  },
190  {
191  "objectTypeId": "nx.base.Bus",
192  "attributes":
193  [
194  "Type",
195  "Color",
196  "Speed",
197  "Brand",
198  "Model",
199  "Size",
200  "License Plate",
201  "Driver buckled up",
202  "Lane"
203  ]
204  },
205  {
206  "objectTypeId": "nx.base.Train",
207  "attributes":
208  [
209  "Color",
210  "Speed",
211  "Brand",
212  "Model",
213  "Size",
214  "License Plate",
215  "Driver buckled up",
216  "Lane"
217  ]
218  },
219  {
220  "objectTypeId": "nx.base.Tram",
221  "attributes":
222  [
223  "Color",
224  "Speed",
225  "Brand",
226  "Model",
227  "Size",
228  "License Plate",
229  "Driver buckled up",
230  "Lane"
231  ]
232  },
233  {
234  "objectTypeId": "nx.base.Bike",
235  "attributes":
236  [
237  "Type",
238  "Color",
239  "Speed",
240  "Brand",
241  "Model",
242  "Size",
243  "License Plate",
244  "Driver buckled up",
245  "Lane"
246  ]
247  },
248  {
249  "objectTypeId": "nx.base.Special",
250  "attributes":
251  [
252  "Type",
253  "Color",
254  "Speed",
255  "Brand",
256  "Model",
257  "Size",
258  "License Plate",
259  "Driver buckled up",
260  "Lane"
261  ]
262  },
263  {
264  "objectTypeId": "nx.base.WaterTransport",
265  "attributes":
266  [
267  "Color",
268  "Speed",
269  "Brand",
270  "Model",
271  "Size",
272  "License Plate",
273  "Driver buckled up",
274  "Lane"
275  ]
276  },
277  {
278  "objectTypeId": "nx.base.AirTransport",
279  "attributes":
280  [
281  "Color",
282  "Speed",
283  "Brand",
284  "Model",
285  "Size",
286  "License Plate",
287  "Driver buckled up",
288  "Lane"
289  ]
290  },
291  {
292  "objectTypeId": "nx.base.Cat",
293  "attributes":
294  [
295  "Size",
296  "Color"
297  ]
298  },
299  {
300  "objectTypeId": "nx.base.Dog",
301  "attributes":
302  [
303  "Size",
304  "Color"
305  ]
306  },
307  {
308  "objectTypeId": "nx.base.Fish",
309  "attributes":
310  [
311  "Size",
312  "Color"
313  ]
314  },
315  {
316  "objectTypeId": "nx.base.Snake",
317  "attributes":
318  [
319  "Size",
320  "Color"
321  ]
322  },
323  {
324  "objectTypeId": "nx.base.Bird",
325  "attributes":
326  [
327  "Size",
328  "Color"
329  ]
330  }
331  ]
332 }
333 )json";
334 
335 } // namespace object_detection
336 } // namespace stub
337 } // namespace analytics
338 } // namespace vms_server_plugins
339 } // namespace nx
Definition: apple_utils.h:6