The sample utilizes GStreamer function
gst_parse_launch to construct the pipeline from string representation. Then callback function is set on source pin of
gvawatermark element in the pipeline.
The callback is invoked on every frame, it loops through inference metadata attached to the frame, converts raw tensor data into attributes and text labels (conversion depends on the model), and visualizes labels around detected objects.
Note that this sample doesn't contain .json files with post-processing rules as post-processing of classification results performed by sample itself (inside callback function), not by
The sample uses by default the following pre-trained models from OpenVINO™ Toolkit Open Model Zoo
NOTE: Before running samples (including this one), run script
download_models.shonce (the script located in
samplestop folder) to download all models required for this and other samples.
build_and_run.sh compiles the C++ sample into subfolder under
$HOME/intel/dl_streamer, then runs the executable file.
If no input parameters specified, the sample by default streams video example from HTTPS link (utilizing
urisourcebin element) so requires internet conection. The command-line parameter INPUT_VIDEO allows to change input video and supports
rtsp://) or other streaming source (ex URL starting with