Captures the live stream from camera.
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 preprocessing is done when the model expects floating-point values as input.
Color conversion
Scaling (up or down)
Normalization
Converts the preprocessed video stream to a tensor stream on its source pad.
After the inference runtime receives the tensor stream on its sink pad, the plugin runs the inference.
Produces a tensor stream with the inference results on its source pad.
Handles inference results from any face detection model.
Applies a threshold to the chosen number of results.
Receives the multiplexed stream.
Overlays the bounding boxes on the stream.
Waylandsink submits the video stream received on its sink pad to Weston.
Weston renders the video stream on a local display.
tflite: LiteRT
qnn: Qualcomm AI Engine direct
cpu
gpu
dsp
camera: Primary (0) or secondary (1).
file-path: The directory path to the video file.
rtsp-ip-port: The address of the RTSP stream: rtsp://<ip>:<port>/<stream>