################################################################################ # 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=1280 #config-height=720 config-width=1224 config-height=370 #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 ##start sources #inside [roi-filtering-stream-0] enable=1 roi-RF=199;175;427;152;440;175;203;195; inverse-roi=0 class-id=-1 [line-crossing-stream-0] enable=1 #line-crossing-Entry=753;879;694;877;678;1057;710;697; #line-crossing-Exit=633;873;694;877;678;1057;710;697; #right one #line-crossing-Entry=380;588;462;591;472;469;452;714; #line-crossing-Exit=544;595;462;591;472;469;452;714; line-crossing-Entry=203;184;265;179;199;175;203;195; line-crossing-Exit=265;179;203;184;199;175;203;195; class-id=-1 extended=1 mode=loose #outside [roi-filtering-stream-1] enable=1 roi-RF=401;240;682;252;724;350;359;353; inverse-roi=0 class-id=-1 [overcrowding-stream-1] enable=1 roi-OC=401;240;682;252;724;350;359;353; #no of objects that will trigger OC object-threshold=10 class-id=-1 [line-crossing-stream-1] enable=1 #right ones #line-crossing-Entry=345;454;265;481;318;642;214;320; #line-crossing-Exit=185;507;265;481;318;642;214;320; line-crossing-Entry-0=475;305;383;296;401;240;359;353; line-crossing-Exit-0=383;296;475;305;401;240;359;353; line-crossing-Entry-1=538;248;541;283;401;240;682;252; line-crossing-Exit-1=541;283;538;248;401;240;682;252; line-crossing-Entry-2=698;305;615;307;682;252;724;350; line-crossing-Exit-2=615;307;698;305;682;252;724;350; line-crossing-Entry-3=539;358;541;310;724;350;359;353; line-crossing-Exit-3=541;310;539;358;724;350;359;353; class-id=-1 extended=1 mode=loose ##end sources ##start directions [direction-detection-stream-0] enable=1 #right ones #direction-South=544;595;462;591; #direction-North=380;588;462;591; direction-South=265;179;203;184; #exit direction-North=203;184;265;179; #entry class-id=-1 [direction-detection-stream-1] enable=1 #direction-South=185;507;265;481; #direction-North=345;454;265;481; direction-South=383;296;475;305; #exit direction-North=475;305;383;296; #entry class-id=-1 ##end directions