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

# 概述

## **计算机视觉**

计算机视觉（CV）是让万物变得智能的关键技术。

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

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

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

## **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)

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

<Frame caption="架构框图" />
