-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
49 lines (49 loc) · 1.43 KB
/
config.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
{
"generalConfig": {
"communication": {
"phoneNumber": "+601156219261"
},
"camera": {
"imageResolution": {
"width": 256,
"height": 144
}
}
},
"detectionConfig": {
"imageDetectionConfig": {
"eyelidDetectionConfig": {
"faceModelFilePath": "./resource/shape_predictor_68_face_landmarks.dat",
"faceAbsenceTimeout": 100000,
"eyelidMovementTimeout": 10000,
"frameTimeTimeout": 5000,
"eyelidMovementThreshold": 0.025
},
"staticMovementDetectionConfig": {
"noiseMargin": 50,
"movementThreshold": 3,
"movementTimeout": 10000
}
},
"sensorDetectionConfig": {
"generalConfig": {
"arduinoSerialPort": "COM3",
"arduinoBaudRate": 9600
},
"accelerometerDetectionConfig": {
"resultantThreshold": 50,
"minTimingThreshold": 100,
"maxTimingThreshold": 1000
}
},
"gpsDetectionConfig": {
"generalConfig": {
"serialPort": "/dev/ttyS0"
},
"speedDetectionConfig": {
"movingSpeedThreshold": 10,
"movingTimeThreshold": 10000
}
}
}
}