# Qualcomm IM SDK 快速入门文档

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

## 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-70020-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-70020-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> 支持的组件版本

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

https://docs.qualcomm.com/doc/80-70020-51SC/topic/introduction.html#section-xsk-zrn-tcc

## 开始使用 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-70020-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-70020-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 探索示例应用程序

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

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

<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-70020-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-70020-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 Visual Studio Code、独立 Makefile 或 Yocto devtool 工具创建您的第一个应用程序。

https://docs.qualcomm.com/doc/80-70020-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> 定制已有示例应用程序

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

https://docs.qualcomm.com/doc/80-70020-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 插件

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

https://docs.qualcomm.com/doc/80-70020-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 中。

https://docs.qualcomm.com/doc/80-70020-51SC/topic/create-your-imsdk-plugin.html#create-qimsdk-plugin

<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> 常见故障处理

确保您在主机上具有 sudo 访问权限并处理任何 devtool 错误，以解决常见问题。

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

## 进阶操作

定制 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 层编译平台镜像

使用 Qualcomm^®^ Software Center (QSC) 编译 Qualcomm IM SDK 或使用 Yocto 编译版本以创建可刷写平台镜像。

https://docs.qualcomm.com/doc/80-70020-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-70020-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-70020-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-70020-51SC/topic/upgrade-individual-sdks.html#upgrade-individual-sdks

Last Published: Feb 06, 2026

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