-
Notifications
You must be signed in to change notification settings - Fork 17
/
config.jetson-xavier
82 lines (82 loc) · 2.38 KB
/
config.jetson-xavier
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"OPENDATACAM_VERSION": "3.0.2",
"PATH_TO_YOLO_DARKNET" : "/darknet",
"VIDEO_INPUT": "usbcam",
"NEURAL_NETWORK": "yolov4",
"VIDEO_INPUTS_PARAMS": {
"file": "opendatacam_videos/demo.mp4",
"usbcam": "v4l2src device=/dev/video0 ! video/x-raw, framerate=30/1, width=640, height=360 ! videoconvert ! appsink",
"raspberrycam": "nvarguscamerasrc ! video/x-raw(memory:NVMM),width=1280, height=720, framerate=30/1, format=NV12 ! nvvidconv ! video/x-raw, format=BGRx, width=640, height=360 ! videoconvert ! video/x-raw, format=BGR ! appsink",
"remote_cam": "YOUR IP CAM STREAM (can be .m3u8, MJPEG ...), anything supported by opencv",
"remote_hls_gstreamer": "souphttpsrc location=http://YOUR_HLSSTREAM_URL_HERE.m3u8 ! hlsdemux ! decodebin ! videoconvert ! videoscale ! appsink"
},
"TRACKER_SETTINGS": {
"objectMaxAreaInPercentageOfFrame": 80,
"confidence_threshold": 0.2,
"iouLimit": 0.05,
"unMatchedFrameTolerance": 5
},
"COUNTER_SETTINGS": {
"minAngleWithCountingLineThreshold": 5,
"computeTrajectoryBasedOnNbOfPastFrame": 5
},
"VALID_CLASSES": ["*"],
"DISPLAY_CLASSES": [
{ "class": "bicycle", "hexcode": "1F6B2"},
{ "class": "person", "hexcode": "1F6B6"},
{ "class": "truck", "hexcode": "1F69B"},
{ "class": "motorbike", "hexcode": "1F6F5"},
{ "class": "car", "hexcode": "1F697"},
{ "class": "bus", "hexcode": "1F68C"}
],
"PATHFINDER_COLORS": [
"#1f77b4",
"#ff7f0e",
"#2ca02c",
"#d62728",
"#9467bd",
"#8c564b",
"#e377c2",
"#7f7f7f",
"#bcbd22",
"#17becf"
],
"COUNTER_COLORS": {
"yellow": "#FFE700",
"turquoise": "#A3FFF4",
"green": "#a0f17f",
"purple": "#d070f0",
"red": "#AB4435"
},
"NEURAL_NETWORK_PARAMS": {
"yolov4": {
"data": "cfg/coco.data",
"cfg": "cfg/yolov4-416x416.cfg",
"weights": "yolov4.weights"
},
"yolov4-tiny": {
"data": "cfg/coco.data",
"cfg": "cfg/yolov4-tiny.cfg",
"weights": "yolov4-tiny.weights"
}
},
"TRACKER_ACCURACY_DISPLAY": {
"nbFrameBuffer": 300,
"settings": {
"radius": 3.1,
"blur": 6.2,
"step": 0.1,
"gradient": {
"0.4":"orange",
"1":"red"
},
"canvasResolutionFactor": 0.1
}
},
"MONGODB_URL": "mongodb://mongo:27017",
"PORTS": {
"app": 8080,
"darknet_json_stream": 8070,
"darknet_mjpeg_stream": 8090
}
}