forked from Christofo/sssAI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcameras.example.json
67 lines (67 loc) · 2.09 KB
/
cameras.example.json
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
57
58
59
60
61
62
63
64
65
66
67
{
"3":
{
"name":"Front Yard Cam",
"threshold": 50,
"triggerUrl": "URL from Action Rule to trigger the camera goes here",
"detect_objects":
[
{
"type": "car",
"min_sizex": 1,
"min_sizey": 1,
"min_confidence": 55,
"ignore_areas": [
{
"y_min": 220,
"x_min": 220,
"y_max": 202,
"x_max": 202
}
,
{
"y_min": 220,
"x_min": 220,
"y_max": 220,
"x_max": 220
}
],
"comment": "ignore cars in our driveway",
"ignore_polygons" : [[[638,343],[1372,705],[1486.609],[1719,726],[1891,425],[1050,240]]]
},
{
"type": "person",
"min_sizex": 80,
"min_sizey": 80,
"min_confidence": 60,
"comment": "ignore people on sidewalk",
"ignore_polygons" : [[[271,786],[1766,199],[1730,185],[814,428],[221,663]]]
}
]
},
"4":
{
"name":"Driveway Cam",
"threshold": 50,
"triggerUrl": "URL from Action Rule to trigger the camera goes here",
"detect_objects":
[
{
"type": "car",
"min_sizex": 1,
"min_sizey": 1,
"min_confidence": 55,
"comment": "ignore cars in our driveway",
"ignore_polygons" : [[[692,293],[1196,311],[1470,995],[373,961]]]
},
{
"type": "person",
"min_sizex": 80,
"min_sizey": 80,
"min_confidence": 60,
"comment": "ignore people on sidewalk",
"ignore_polygons" : [[[68,425],[1918,520],[1918,621],[896,577],[23,521]]]
}
]
}
}