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 text labels, and visualizes the label 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.
If no input parameters specified, the sample by default streams video example from HTTPS link (utilizing
urisourcebin element) so requires internet connection. The command-line parameter INPUT_VIDEO allows to change input video and supports
rtsp://) or other streaming source (ex URL starting with