# Pose estimation and display with TFLite
Source: [https://docs.qualcomm.com/doc/80-70014-50/topic/single-camera-stream-with-pose-estimation-and-display.html](https://docs.qualcomm.com/doc/80-70014-50/topic/single-camera-stream-with-pose-estimation-and-display.html)
The use cases use the PoseNet TFLite model to process a single camera stream with
pose estimation.
## Variant 1: Use qtioverlay plugin to apply pose estimation overlay
Use the following command to execute the use
case:
setprop persist.overlay.use_c2d_blit 2Copy to clipboard
gst-launch-1.0 -e \
qtiqmmfsrc name=camsrc ! video/x-raw\(memory:GBM\),format=NV12,width=1280,height=720,framerate=30/1,compression=ubwc ! queue ! tee name=split \
split. ! queue ! qtimetamux name=metamux ! queue ! qtioverlay ! queue ! waylandsink fullscreen=true sync=false \
split. ! queue ! qtimlvconverter ! queue ! qtimltflite delegate=external external-delegate-path=libQnnTFLiteDelegate.so external-delegate-options="QNNExternalDelegate,backend_type=htp;" model=/opt/posenet_mobilenet_v1.tflite ! queue ! qtimlvpose threshold=51.0 results=2 module=posenet labels=/opt/posenet_mobilenet_v1.labels constants="Posenet,q-offsets=<128.0,128.0,117.0>,q-scales=<0.0784313753247261,0.0784313753247261,1.3875764608383179>;" ! text/x-raw ! queue ! metamux.Copy to clipboard
To stop the use case, press CTRL + C.
Figure : Pipeline for pose estimation overlay

The figure shows the flow of the use case execution:
1. Identify poses of people in scenes from a video stream, which is coming through
a camera source.
2. Overlay the available poses using overlaylib.
3. Display the results.
The table provides the sequential processing stages of the pipeline execution:
| Process | Description |
| --- | --- |
| [qtiqmmfsrc](https://docs.qualcomm.com/doc/80-70014-50/topic/qtiqmmfsrc.html) |
- Collects the video stream (source) and creates two copies of
the source:
- One is sent to qtimetamux plugin to retain the video
stream.
- The other is sent to a ML inferencing pipeline.
|
| **Preprocessing** | **Preprocessing** |
| [qtimlvconverter](https://docs.qualcomm.com/doc/80-70014-50/topic/qtimlvconverter.html) |
- Receives the video stream on its sink pad.
- Performs preprocessing:
- Color conversion
- Scaling down/up
- Normalization on the stream data when model expects
floating point values as input
- Converts the video stream to a tensor stream on its source
pad.The PoseNet model uses this tensor stream for
inferencing.
|
| **Inferencing** | **Inferencing** |
| [qtimltflite](https://docs.qualcomm.com/doc/80-70014-50/topic/qtimltflite.html) |
- Loads the PoseNet model.
- Modifies the graph for the chosen delegate.
- Receives the tensor stream on its sinkpad.
- Executes the inference and produces tensor stream with the
pose estimation results on its source pad.
|
| **Postprocessing** | **Postprocessing** |
| [qtimlvpose](https://docs.qualcomm.com/doc/80-70014-50/topic/qtimlvpose.html) |
- Receives the inference tensors from a PoseNet model on its
sinkpad.
- Converts the tensors into formats such as video or text that
can be processed by the multimedia plugins later.
- Applies the threshold to the chosen number of results.
- Loads the corresponding modules of the pose estimation
models. In this use case, qtimlvpose does the
following:
- Loads the PoseNet submodule.
- Produces results as structures of text.
- Sends them to the sinkpad of qtimetamux.
|
| [qtimetamux](https://docs.qualcomm.com/doc/80-70014-50/topic/qtimetamux.html) |
- Receives the video stream and text stream with pose results
corresponding to video stream on its sinkpads.
- Produces GST buffers with contents of video stream on its
sink pad.
- Adds poses from data sinkpad to GST buffer meta (meta
muxing) on its source pad.
|
| [qtioverlay](https://docs.qualcomm.com/doc/80-70014-50/topic/qtioverlay.html) |
- Receives the multiplexed stream.
- Overlays the poses on the VideoFrame using CL.
- Produces GST buffers with overlays in its source pad.
|
| **Output** | **Output** |
| [Waylandsink](https://docs.qualcomm.com/doc/80-70014-50/topic/waylandsink.html) |
- Receives the video stream on its sinkpad.
- Submits the video stream to Weston.
- Weston renders the following on a local display device:
- The video stream captured from the camera.
- The poses generated for multiple people in that
scene.
|
## **Variant 2: Use qtivcomposer to mix original frame with pose estimation mask**
Use the following command to execute the use
case:
gst-launch-1.0 -e --gst-debug=2 \
qtiqmmfsrc name=camsrc ! video/x-raw\(memory:GBM\),format=NV12,width=1280,height=720,framerate=30/1,compression=ubwc ! queue ! tee name=split \
split. ! queue ! qtivcomposer name=mixer ! queue ! waylandsink fullscreen=true sync=false \
split. ! queue ! qtimlvconverter ! queue ! qtimltflite delegate=external external-delegate-path=libQnnTFLiteDelegate.so external-delegate-options="QNNExternalDelegate,backend_type=htp;" model=/opt/posenet_mobilenet_v1.tflite ! queue ! qtimlvpose threshold=51.0 results=2 module=posenet labels=/opt/posenet_mobilenet_v1.labels constants="Posenet,q-offsets=<128.0,128.0,117.0>,q-scales=<0.0784313753247261,0.0784313753247261,1.3875764608383179>;" ! video/x-raw,format=BGRA,width=640,height=360 ! queue ! mixer.Copy to clipboard
To stop the use case, press CTRL + C.
Figure : Pipeline for pose estimation mask using qtivcomposer

The figure shows the flow of the use case execution:
1. Identify poses of people in scenes from a video stream, which is coming through
a camera source.
2. Compose the poses and video stream using qtivcomposer.
3. Display the results.
The table provides the sequential processing stages of the pipeline execution:
| Process | Description |
| --- | --- |
| [qtiqmmfsrc](https://docs.qualcomm.com/doc/80-70014-50/topic/qtiqmmfsrc.html) |
- Collects the video stream (source) and creates two copies of
the source:
- One is sent to qtimetamux plugin to retain the video
stream.
- The other is sent to a ML inferencing pipeline.
|
| **Preprocessing** | **Preprocessing** |
| [qtimlvconverter](https://docs.qualcomm.com/doc/80-70014-50/topic/qtimlvconverter.html) |
- Receives the video stream on its sink pad.
- Performs preprocessing:
- Color conversion
- Scaling down/up
- Normalization on the stream data when model expects
floating point values as input
- Converts the video stream to a tensor stream on its source
pad.The PoseNet model uses this tensor stream for
inferencing.
|
| **Inferencing** | **Inferencing** |
| [qtimltflite](https://docs.qualcomm.com/doc/80-70014-50/topic/qtimltflite.html) |
- Loads the PoseNet model.
- Modifies the graph for the chosen delegate.
- Receives the tensor stream on its sinkpad.
- Executes the inference and produces tensor stream with the
pose estimation results on its source pad.
|
| **Postprocessing** | **Postprocessing** |
| [qtimlvpose](https://docs.qualcomm.com/doc/80-70014-50/topic/qtimlvpose.html) |
- Receives the inference tensors from a PoseNet model on its
sinkpad.
- Converts the tensors into formats such as video or text that
can be processed by the multimedia plugins later.
- Applies the threshold to the chosen number of results.
- Loads the corresponding modules of the pose estimation
models. In this use case, qtimlvpose does the
following:
- Loads the PoseNet submodule.
- Produces results as video frames with poses
drawn.
- Sends them to sinkpad of the qtivcomposer.
|
| [qtivcomposer](https://docs.qualcomm.com/doc/80-70014-50/topic/qtivcomposer.html) |
- Receives the original video stream and video stream of
poses on its sinkpads.
- On its sourcepad, produces the GST buffers with contents
composed of video streams from its sinkpads.
|
| **Output** | **Output** |
| [Waylandsink](https://docs.qualcomm.com/doc/80-70014-50/topic/waylandsink.html) |
- Receives the video stream on its sinkpad.
- Submits the video stream to Weston.
- Weston renders the following on a local display device:
- The video stream captured from the camera.
- The poses generated for multiple people in that
scene.
|
**Parent Topic:** [TensorFlow Lite use cases](https://docs.qualcomm.com/doc/80-70014-50/topic/tensorflow-lite-use-cases.html)
Last Published: Oct 27, 2025
[Previous Topic
Image segmentation and encode with TFLite](https://docs.qualcomm.com/bundle/publicresource/80-70014-50/topics/single-camera-stream-with-image-segmentation-and-encode.md) [Next Topic
Pose estimation and encode with TFLite](https://docs.qualcomm.com/bundle/publicresource/80-70014-50/topics/single-camera-stream-with-pose-estimation-and-encode.md)