135 lines
4.8 KiB
Plaintext
135 lines
4.8 KiB
Plaintext
################################################################################
|
|
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
|
|
#
|
|
# Permission is hereby granted, free of charge, to any person obtaining a
|
|
# copy of this software and associated documentation files (the "Software"),
|
|
# to deal in the Software without restriction, including without limitation
|
|
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
# and/or sell copies of the Software, and to permit persons to whom the
|
|
# Software is furnished to do so, subject to the following conditions:
|
|
#
|
|
# The above copyright notice and this permission notice shall be included in
|
|
# all copies or substantial portions of the Software.
|
|
#
|
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
# DEALINGS IN THE SOFTWARE.
|
|
################################################################################
|
|
|
|
# The values in the config file are overridden by values set through GObject
|
|
# properties.
|
|
|
|
[property]
|
|
enable=1
|
|
#Width height used for configuration to which below configs are configured
|
|
config-width=1920
|
|
config-height=1080
|
|
#osd-mode 0: Dont display any lines, rois and text
|
|
# 1: Display only lines, rois and static text i.e. labels
|
|
# 2: Display all info from 1 plus information about counts
|
|
osd-mode=2
|
|
#Set OSD font size that has to be displayed
|
|
display-font-size=12
|
|
|
|
## Per stream configuration
|
|
[roi-filtering-stream-0]
|
|
#enable or disable following feature
|
|
enable=1
|
|
#ROI to filter select objects, and remove from meta data
|
|
roi-RF=0;0;1920;0;1920;1080;0;1080
|
|
#remove objects in the ROI
|
|
inverse-roi=0
|
|
#class-id=-1
|
|
|
|
[roi-filtering-stream-1]
|
|
#enable or disable following feature
|
|
enable=1
|
|
#ROI to filter select objects, and remove from meta data
|
|
roi-RF=0;0;1920;0;1920;1080;0;1080
|
|
#remove objects in the ROI
|
|
inverse-roi=0
|
|
#class-id=-1
|
|
|
|
[roi-filtering-stream-2]
|
|
#enable or disable following feature
|
|
enable=1
|
|
#ROI to filter select objects, and remove from meta data
|
|
roi-RF=0;0;1920;0;1920;1080;0;1080
|
|
#remove objects in the ROI
|
|
inverse-roi=0
|
|
#class-id=-1
|
|
|
|
[roi-filtering-stream-3]
|
|
#enable or disable following feature
|
|
enable=1
|
|
#ROI to filter select objects, and remove from meta data
|
|
roi-RF=0;0;1920;0;1920;1080;0;1080
|
|
#remove objects in the ROI
|
|
inverse-roi=0
|
|
#class-id=-1
|
|
|
|
|
|
[line-crossing-stream-0]
|
|
enable=1
|
|
#Label;direction;lc
|
|
#line-crossing-Entry=1072;911;1143;1058;944;1020;1297;1020;
|
|
line-crossing-Entry=1000;800;1000;650;566;550;1600;550
|
|
class-id=-1
|
|
#extended when 0- only counts crossing on the configured Line
|
|
# 1- assumes extended Line crossing counts all the crossing
|
|
extended=0
|
|
#LC modes supported:
|
|
#loose : counts all crossing without strong adherence to direction
|
|
#balanced: Strict direction adherence expected compared to mode=loose
|
|
#strict : Strict direction adherence expected compared to mode=balanced
|
|
mode=loose
|
|
|
|
|
|
[line-crossing-stream-1]
|
|
enable=1
|
|
#Label;direction;lc
|
|
#line-crossing-Entry=1072;911;1143;1058;944;1020;1297;1020;
|
|
line-crossing-Entry=1000;800;1000;650;566;550;1600;550
|
|
class-id=-1
|
|
#extended when 0- only counts crossing on the configured Line
|
|
# 1- assumes extended Line crossing counts all the crossing
|
|
extended=0
|
|
#LC modes supported:
|
|
#loose : counts all crossing without strong adherence to direction
|
|
#balanced: Strict direction adherence expected compared to mode=loose
|
|
#strict : Strict direction adherence expected compared to mode=balanced
|
|
mode=loose
|
|
|
|
[line-crossing-stream-2]
|
|
enable=1
|
|
#Label;direction;lc
|
|
#line-crossing-Entry=1072;911;1143;1058;944;1020;1297;1020;
|
|
line-crossing-Entry=1000;800;1000;650;566;550;1600;550
|
|
class-id=-1
|
|
#extended when 0- only counts crossing on the configured Line
|
|
# 1- assumes extended Line crossing counts all the crossing
|
|
extended=0
|
|
#LC modes supported:
|
|
#loose : counts all crossing without strong adherence to direction
|
|
#balanced: Strict direction adherence expected compared to mode=loose
|
|
#strict : Strict direction adherence expected compared to mode=balanced
|
|
mode=loose
|
|
|
|
[line-crossing-stream-3]
|
|
enable=1
|
|
#Label;direction;lc
|
|
#line-crossing-Entry=1072;911;1143;1058;944;1020;1297;1020;
|
|
line-crossing-Entry=1000;800;1000;650;566;550;1600;550
|
|
class-id=-1
|
|
#extended when 0- only counts crossing on the configured Line
|
|
# 1- assumes extended Line crossing counts all the crossing
|
|
extended=0
|
|
#LC modes supported:
|
|
#loose : counts all crossing without strong adherence to direction
|
|
#balanced: Strict direction adherence expected compared to mode=loose
|
|
#strict : Strict direction adherence expected compared to mode=balanced
|
|
mode=loose |