> ## Documentation Index
> Fetch the complete documentation index at: https://dragonwingdocs-staging.qualcomm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 概述

## **计算机视觉**

计算机视觉 (CV) 是让设备变得智能的关键技术。

计算机视觉技术应用于不同的领域和用例，例如智能手机、机器人、物联网、汽车等。

一些用例（包括但不限于）如下：

* 图像处理
* 图像变换
* 运动和对象跟踪
* 对象检测
* 特征检测
* 颜色转换

## **OpenCV**

* OpenCV（开源计算机视觉库：[http://opencv.org](http://opencv.org)）是世界上最大的计算机视觉库。
* 它是开源的，包含超过 2500 种算法，由非营利组织 Open Source Vision Foundation 运营。
* 它易于构建、公开可用，并且易于在任何平台上集成。
* OpenCV 作为面向开发者的 API，允许开发者无缝利用现有的基于 OpenCV 的应用程序并将其移植到 Qualcomm Snapdragon 平台。

<Card>
  <b style={{fontSize: "1.1rem", display: "block", textAlign: "center"}}>支持的 OpenCV 版本</b>

  <table>
    <thead>
      <tr>
        <th style={{color: "white", fontWeight: "bold"}}>QLI 版本</th>
        <th style={{color: "white", fontWeight: "bold"}}>支持的 OpenCV 版本</th>
        <th style={{color: "white", fontWeight: "bold"}}>当前实现</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>QLI 2.0.rc3</td>
        <td>OpenCV 4.13</td>
        <td>CPU 和 FastCV</td>
      </tr>
    </tbody>
  </table>
</Card>

## **FastCV**

* FastCV 库是 Qualcomm 专有的，与其他 CV 库相比，可在各种硬件上提供更快的 CV 算法实现。
* 这些 API 允许用户在硬件上加速 FastCV 函数。
* 它为计算机视觉应用程序开发者提供两大主要功能：
  * 一个经过优化、可在 Qualcomm 硬件上高效运行的 CV 函数库。
  * 一个简洁、与处理器无关的硬件加速 API

## **使用 FastCV 加速 OpenCV**

* 以 FastCV 作为后端为 OpenCV API 提供加速，从而提供更好的性能。
* OpenCV 功能通过基于 FastCV 的扩展 API 得到增强，这些 API 在仅包含默认 OpenCV 库的早期版本中并不存在。
* eSDK 提供了一种使用 OpenCV API 和自动工具构建 CV 应用程序的简便方法。
* 可以使用默认的 OpenCV API 开发 CV 应用程序。OpenCV 库调用 FastCV HAL API，后者再调用 FastCV 算法。
* 请参阅[支持的 API](https://dragonwingdocs.qualcomm.com/Technologies/Vision/evaluate-fast-cv-acceleration#supported-opencv-apis-and-corresponding-fastcv-apis)

<Frame caption="架构框图">
  <img src="https://mintcdn.com/qualcomm-staging/uWQLnBcS9sxlZhgB/Technologies/Vision/images/cv-block-diagram.svg?fit=max&auto=format&n=uWQLnBcS9sxlZhgB&q=85&s=7d97f4d1f2956aad0cd311dac93c9480" alt="架构框图" width="818" height="199" data-path="Technologies/Vision/images/cv-block-diagram.svg" />
</Frame>
