# Qualcomm IM SDK 快速入门文档

浏览内置示例应用程序和命令行用例。使用 Qualcomm^®^ Intelligent Multimedia SDK (IM SDK) 工作流创建 AI 和多媒体应用程序。从源代码编译 SDK 并升级 SDK。

Tab Qualcomm Linux
Tab Ubuntu

- *class* tabincludedirectiv

    - ## Qualcomm IM SDK 概述

了解 Qualcomm IM SDK 的组件和功能，使用其各种独立 SDK、示例应用程序和 eSDK 工作流开发应用程序。

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> 架构

探索 Qualcomm IM SDK 的软件协议栈，包括层和组件。

https://docs.qualcomm.com/doc/80-70022-51SC/topic/introduction.html#section-xxy-ngc-5cc

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Qualcomm IM SDK 组件

下载所需文件，并使用 gst-ai-classification 预编译示例应用程序在 Qualcomm Linux 开发套件上运行 LiteRT 分类模型。

https://docs.qualcomm.com/doc/80-70022-51SC/topic/introduction.html#section-cys-tgc-5cc

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> 支持的组件版本

验证集成组件的版本，以确保兼容性和最佳性能。

## 开始使用 Qualcomm IM SDK

按照 Qualcomm IM SDK 的设置说明开发您的软件。

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Qualcomm IM SDK 工作流

设置设备，启用 SSH，配置显示器，安装 eSDK，并创建示例应用程序。

https://docs.qualcomm.com/doc/80-70022-51SC/topic/install-sdk.html#install-sdk

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> 前提条件

确保您的开发套件已安装最新的 Qualcomm Linux 软件并满足所有要求。

https://docs.qualcomm.com/doc/80-70022-51SC/topic/install-sdk.html#section-rkh-jsw-tcc

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> 探索示例应用程序

使用 Qdemo 应用程序直接在目标设备上运行示例应用程序。

https://docs.qualcomm.com/doc/80-70022-51SC/topic/install-sdk.html#explore-sample-applications-ql

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> 探索 eSDK 用法

通过运行 Qualcomm IM SDK 中包含的示例应用程序和命令行用例，了解 eSDK 的功能。

https://docs.qualcomm.com/doc/80-70022-51SC/topic/install-sdk.html#section-nxp-pgr-5cc

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> 下载并安装 eSDK

从 Qualcomm 公共存档下载 eSDK 并将其安装在您的主机上。

https://docs.qualcomm.com/doc/80-70022-51SC/topic/install-sdk.html#section-b5c-z3k-5bc

## 使用 Qualcomm IM SDK 编译多媒体应用程序

使用交叉编译器、库和头文件将您的应用程序编译成可安装包。

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> 使用 Qualcomm IM SDK 创建示例应用程序

使用 Qualcomm Visual Studio Code、独立 Makefile 或 Yocto devtool 工具创建您的第一个应用程序。

https://docs.qualcomm.com/doc/80-70022-51SC/topic/content-develop-your-first-application.html#content-develop-your-first-application

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> 使用 Qualcomm IM SDK 自定义现有示例应用程序

使用 devtool 工具修改示例应用程序，然后将其编译并打包成可安装格式。

https://docs.qualcomm.com/doc/80-70022-51SC/topic/customize-sample-applications.html#customize-sample-applications

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> 编译并安装 Qualcomm IM SDK 插件

编译 Qualcomm IM SDK 插件并将其安装在设备上，参考 mlvdetection 插件等示例。

https://docs.qualcomm.com/doc/80-70022-51SC/topic/compile-install-imsdk-plugins.html#compile-install-imsdk-plugins

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> 为 Qualcomm IM SDK 开发自定义插件

开发一个新的插件，并将其作为独立的 BitBake 配方集成到 Qualcomm IM SDK 中。

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> 排查 Qualcomm IM SDK 环境中的常见错误

确保您在主机上拥有 sudo 访问权限并解决任何 devtool 错误，从而解决常见问题。

https://docs.qualcomm.com/doc/80-70022-51SC/topic/troubleshooting.html#troubleshooting

## 定制 SDK 用于嵌入式开发

自定义 eSDK，升级各个独立 SDK，使用 Qualcomm IM 层编译平台镜像。

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> 使用 Qualcomm IM SDK 层编译平台镜像

使用 Qualcomm^®^ Software Center (QSC) 编译 Qualcomm IM SDK，或使用 Yocto 进行编译，创建可刷写的平台镜像。

https://docs.qualcomm.com/doc/80-70022-51SC/topic/building-platform-image-with-qim-layer.html#building-platform-image-with-qim-layer

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> 创建用于应用程序开发的自定义 eSDK

使用自定义功能和附加功能创建自定义 eSDK，确保与您的平台兼容。

https://docs.qualcomm.com/doc/80-70022-51SC/topic/build-the-platfrom-esdk.html#build-the-platfrom-esdk

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> 将 Qualcomm IM SDK 升级到新版本

将 Qualcomm IM SDK 升级到新版本。

https://docs.qualcomm.com/doc/80-70022-51SC/topic/incremental-qim-product-sdk-flash.html#incremental-qim-product-sdk-flash

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> 更新独立 SDK 以实现平台兼容性

通过在 [qcom-ml.inc] 文件中配置所需的版本，并从 Qualcomm Software Center 选择适当的版本，更新各个独立 SDK。

https://docs.qualcomm.com/doc/80-70022-51SC/topic/upgrade-individual-sdks.html#upgrade-individual-sdks

- *class* tabincludedirectiv

    - ## Qualcomm IM SDK 概述

了解 Qualcomm IM SDK 的组件和功能，使用其各种独立 SDK、示例应用程序和应用程序开发工作流开发应用程序。

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> 架构

探索 Qualcomm IM SDK 的软件协议栈，包括层和组件。

https://docs.qualcomm.com/doc/80-70022-51SC/topic/introduction.html#architecture-ubuntu

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Qualcomm IM SDK 组件

下载所需文件，并使用 gst-ai-classification 预编译示例应用程序在基于 Ubuntu 的开发套件上运行 LiteRT 分类模型。

https://docs.qualcomm.com/doc/80-70022-51SC/topic/introduction.html#qualcomm-im-sdk-components-ubuntu

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> 支持的组件版本

验证集成组件的版本，以确保兼容性和最佳性能。

https://docs.qualcomm.com/doc/80-70022-51SC/topic/introduction.html#supported-component-versions-ubuntu

## 开始使用 Qualcomm IM SDK

按照 Qualcomm IM SDK 的设置说明开发您的软件。

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Qualcomm IM SDK 工作流

设置设备，启用 SSH，配置显示器，安装 eSDK，并创建示例应用程序。

https://docs.qualcomm.com/doc/80-70022-51SC/topic/install-sdk.html#qualcomm-im-sdk-workflow-ubuntu

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> 前提条件

确保您的开发套件已安装最新的软件并满足所有要求。

https://docs.qualcomm.com/doc/80-70022-51SC/topic/install-sdk.html#prerequisites-ubuntu

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> 设置环境

安装 GStreamer 工具、QIM SDK 以及 C/C++ 和 Python 示例应用程序。

https://docs.qualcomm.com/doc/80-70022-51SC/topic/install-sdk.html#setup-environment-ubuntu

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> 探索示例应用程序

Qualcomm IM SDK 示例应用程序展示了如何使用 SDK 以及如何开发端到端的边缘分析用例。

https://docs.qualcomm.com/doc/80-70022-51SC/topic/install-sdk.html#explore-sample-applications-ubuntu

## 使用 Qualcomm IM SDK 编译多媒体应用程序

使用交叉编译器、库和头文件将您的应用程序编译成可安装包。

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> 使用 Qualcomm IM SDK 创建示例应用程序

安装所需的工具链和依赖包后，您可以直接在基于 Ubuntu 的开发套件上开发应用程序。

https://docs.qualcomm.com/doc/80-70022-51SC/topic/content-develop-your-first-application.html#develop-first-application-ubuntu

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> 使用 Qualcomm IM SDK 自定义现有示例应用程序

在 Qualcomm 开发套件上下载 Qualcomm IM SDK 和参考应用程序源代码，并使用 CMake 等标准开发工具进行编译。

https://docs.qualcomm.com/doc/80-70022-51SC/topic/customize-sample-applications.html#customize-sample-application-ubuntu

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> 编译和安装 Qualcomm IM SDK 插件

在 Ubuntu 上编译和安装 Qualcomm IM SDK 插件用于多媒体和 AI 加速。

https://docs.qualcomm.com/doc/80-70022-51SC/topic/compile-install-imsdk-plugins.html#compile-install-imsdk-plugins

Last Published: Dec 22, 2025

[Next Topic
Qualcomm IM SDK 概述](https://docs.qualcomm.com/bundle/publicresource/80-70022-51SC/topics/introduction.md)