Go to documentation repository
Page History
Tip |
---|
Example 1. Visualisation of operating the Queue length detection in the Video surveillance monitor
...
You can configure the font, color and position of text on the settings panel of the Captioner object (see see Configuring captions display on a video image).
To null people counter, you must first create the Macro object on the Programming tab. You can change the name of the Macro object, for example "Null people counter".
...
After each button click on the control panel wait for 2 two seconds until clicking another button. If there is no button click, then the camera with dialed number must be displayed.
...
On Macro 1, display the text
"NNN
Titles"
(with line break) over the video image of camera 1 using captioner 1. On Macro 2, disable the display of this text.
Code Block |
---|
if (Event.SourceType == "MACRO" && Event.SourceId == "1" && Event.Action == "RUN") { DoReactStr("MONITOR","1","SET_TITLES","titles<NNN \r Titles>,cam<1>,title_id<1>"); } if (Event.SourceType == "MACRO" && Event.SourceId == "2" && Event.Action == "RUN") { DoReactStr("MONITOR","1","CLEAR_TITLES","cam<1>,title_id<1>"); } |
...
Overview
Content Tools