Captures the live stream from camera.
Uses tee to split the stream for inferencing.
Captures the video stream using filesrc, followed by qtdemux, which demultiplexes the stream.
Uses tee to split the stream for inferencing.
Captures the RTSP stream using rtspsrc, followed by rtph264depay for video extraction.
Uses tee to split the stream for inferencing.
Receives the video stream on its sink pad.
Performs the following preprocessing on the stream data. This is done when the model expects floating-point values as input.
Color conversion
Scaling (up or down)
Normalization
After the inference runtime receives the tensor stream on its sink pad, it runs the inference.
Produces a tensor stream with the inference results on its source pad.
Composes frames with contents from its sink pads.
Pushes the GStreamer buffers containing these composed frames to its source pad.
Waylandsink submits the video stream received on its sink pad to Wayland compositor.
Renders the video stream on a local display.
Serves as a network sink.
Transmits UDP packets to the network.
num-camera: The number of inputs from the camera. Select either 1 or 2.
camera-id: The id of the test camera. Select either 0 or 1.
input-file-path: The directory path to the video file.
input-rtsp-path: The address of the RTSP stream: rtsp://<ip>:<port>/<stream>
model: The path to the model file.
labels: The path to the label file.
output-file-path: The directory path to save the output file.
output-ip-address: The IP address of the device on which the RTSP stream can be played.
output-port-number: The port number of the device on which the RTSP stream can be played.
output-display: The connected display device for preview.