# LiteRT 用例

Source: [https://docs.qualcomm.com/doc/80-70020-50SC/topic/tensorflow-lite-use-cases.html](https://docs.qualcomm.com/doc/80-70020-50SC/topic/tensorflow-lite-use-cases.html)

LiteRT 是一套支持设备端机器学习的工具集。您可以在移动、嵌入式和边缘设备上运行模型。借助 LiteRT 用例，您可以运行图像分类、目标检测、图像分割和姿态估计等用例。

在运行用例之前，请完成 [GStreamer 命令行用例](https://docs.qualcomm.com/doc/80-70020-50SC/topic/gstreamer-application-use-cases.html)中提到的先决条件。

## 相关信息

- [https://ai.google.dev/edge/litert](https://ai.google.dev/edge/litert)
- [配置 Qualcomm GStreamer 插件](https://docs.qualcomm.com/doc/80-70020-50SC/topic/qim-sdk-plugins.html)
- [获取模型常量](https://docs.qualcomm.com/bundle/publicresource/topics/80-70020-15B/integrate-ai-hub-models.html#get-the-model-constants)

- **[使用 LiteRT 进行图像分类和显示](https://docs.qualcomm.com/doc/80-70020-50SC/topic/single-camera-stream-with-image-classification-and-display-with-litert.html)**  

这些用例使用 Inceptionv3 LiteRT 模型对单个摄像头流中的场景进行分类，并叠加或合成分类标签。
- **[使用 LiteRT 进行图像分类和编码](https://docs.qualcomm.com/doc/80-70020-50SC/topic/single-camera-stream-with-image-classification-and-encode.html)**  

这些用例使用 InceptionV3 LiteRT 模型对单个摄像头流中的场景进行分类，并覆盖或组合分类标签，然后对流进行编码。
- **[使用 LiteRT 进行音频分类解码与显示](https://docs.qualcomm.com/doc/80-70020-50SC/topic/audio-classification-with-litert.html)**  

这些用例实施了 YAMNet LiteRT 模型对来自麦克风和文件源的音频样本进行分类和解码。
- **[使用 LiteRT 进行目标检测和显示](https://docs.qualcomm.com/doc/80-70020-50SC/topic/single-camera-stream-with-object-detection-and-display.html)**  

该用例使用 YOLOv5 LiteRT 模型来识别场景中的目标。该用例在检测到的目标上叠加或合成边界框，然后显示结果。
- **[使用 LiteRT 进行目标检测和编码](https://docs.qualcomm.com/doc/80-70020-50SC/topic/single-camera-stream-with-object-detection-and-encode.html)**  

该用例使用 YOLOv5 LiteRT 模型来识别场景中的目标。该用例在检测到的目标上叠加或合成边界框，然后将此流编码为 H.264 码流。
- **[使用 LiteRT 进行图像分割和显示](https://docs.qualcomm.com/doc/80-70020-50SC/topic/single-camera-stream-with-image-segmentation-and-display.html)**  

该用例实施了 `deeplabv3_resnet50` LiteRT 模型从摄像头流中识别场景中的语义分割。该用例使用 qtivcomposer 将语义和原始视频流合成在一起，然后显示结果。
- **[使用 LiteRT 进行图像分割和编码](https://docs.qualcomm.com/doc/80-70020-50SC/topic/single-camera-stream-with-image-segmentation-and-encode.html)**  

该用例实施了 `deeplabv3_resnet50` LiteRT 模型来组合语义分割和原始视频流，对视频流进行编码，然后将其多路复用到 MP4 容器中。
- **[使用 LiteRT 进行姿态估计和显示](https://docs.qualcomm.com/doc/80-70020-50SC/topic/single-camera-stream-with-pose-estimation-and-display.html)**  

这些用例实施了 PoseNet LiteRT 模型通过姿态估计来处理单个摄像头流。
- **[使用 LiteRT 进行姿态估计和编码](https://docs.qualcomm.com/doc/80-70020-50SC/topic/single-camera-stream-with-pose-estimation-and-encode.html)**  

这些用例实施了 PoseNet LiteRT 模型通过姿态估计来处理单个摄像头流，并将该流编码为 H.264 码流。
- **[使用 LiteRT 进行视频超分辨率和显示](https://docs.qualcomm.com/doc/80-70020-50SC/topic/video-super-resolution-and-display-with-litert.html)**  

Qualcomm AI Hub 的量化 INT8 模型支持视频超分辨率 (VSR)，其输入分辨率为 128 × 128，输出分辨率为 512 × 512。
- **[从摄像头到 RTSP 的单流，带 ML 检测](https://docs.qualcomm.com/doc/80-70020-50SC/topic/single-stream-from-camera-to-rtsp-with-ml-detection.html)**  

在媒体播放器（例如 VLC）上通过 RTSP 播放来自摄像头的流。

**Parent Topic:** [运行机器学习用例](https://docs.qualcomm.com/doc/80-70020-50SC/topic/machine-learning-use-cases.html)

Last Published: Jul 23, 2025

[Previous Topic
运行机器学习用例](https://docs.qualcomm.com/bundle/publicresource/80-70020-50SC/topics/machine-learning-use-cases.md) [Next Topic
使用 LiteRT 进行图像分类和显示](https://docs.qualcomm.com/bundle/publicresource/80-70020-50SC/topics/single-camera-stream-with-image-classification-and-display-with-litert.md)