ops-cv:基于 CANN 的高阶计算机视觉算子库项目

本项目是CANN提供的图像处理、目标检测相关的算子库,实现网络在NPU上加速计算。

Branch17Tags0
FilesLast commitLast update
4 days ago
1 day ago
6 days ago
1 day ago
1 day ago
3 days ago
13 hours ago
1 day ago
1 day ago
7 days ago
4 months ago
2 months ago
7 months ago
1 day ago
2 months ago
27 days ago
1 month ago
26 days ago
28 days ago
1 year ago
2 months ago
2 months ago
28 days ago
1 month ago
28 days ago
8 months ago
7 months ago
17 days ago
15 days ago
1 month ago
7 months ago
2 months ago

ops-cv

English | 简体中文

CANNcommunity repo license contributing SIG Zread


🔥Latest News

  • [2026/01] Added QuickStart, which guides beginners to get started with operator project deployment (Docker environments supported), operator development, and the contribution process from zero.
  • [2025/12] Open-source operators support Ascend 950PR&950DT products and Kirin X90 processor series products. You can develop and debug operators using the NPU Simulator simulation tool. Guide documents were optimized to focus on the Operator Development Guide, clarify the minimum deliverables and key example code, and provide guidance for migrating operators in the Ascend/samples repository to this project. Plugin support for ONNX operators was added.
  • [2025/11] The three_interpolate_backward operator adds the deterministic computation feature. opgen was added to support automatic generation of operator projects.
  • [2025/10] The experimental directory was added, and the Contribution Guide was improved. Developers can debug and contribute custom operators.
  • [2025/09] The ops-cv project was released for the first time. Open-source operators support Atlas A2 products and Atlas A3 products.

🚀Overview

ops-cv is a high-level operator library in the CANN (Compute Architecture for Neural Networks) operator library. It provides image processing, object detection, and other capabilities. It includes image and objdetect operators and covers common image processing operations. The position of the sub-library in the architecture is shown below.

Architecture diagram

📌Version Compatibility

The source code of this project is released with CANN software versions. For the mapping between CANN software versions and the tags of this project, refer to the corresponding version description in the release repository. Note that to ensure smooth custom development based on the source code, select the compatible CANN version and the Gitcode tag source code. Using the master branch may cause version mismatch risks.

🛠️Environment Preparation

Environment deployment is the prerequisite for experiencing the capabilities of this project. Complete the installation of the NPU driver, CANN package, and so on first to ensure that the environment is normal.

⬇️Source Code Download

After the environment is ready, download the source code of the branch compatible with the CANN version. The command is as follows. Replace ${tag_version} with the branch tag name.

Note: If the source code of the compatible branch already exists in the environment, you can skip this step. For example, CANNLab provides the source code corresponding to the latest CANN version by default.

# General command: git clone -b ${tag_version} https://gitcode.com/cann/ops-cv.git
git clone -b ${tag_version} https://gitcode.com/cann/ops-cv.git

📖Tutorials

  • Quick Start: Quickly experience the core basic capabilities of the project from zero, covering source code compilation, operator invocation, development, and debugging.
  • Advanced Tutorials: For more information about project compilation and deployment, operator invocation, development, debugging, and tuning, refer to the documentation center for detailed guidance.

PS: The features and documentation of this project are continuously updated and improved. Stay tuned for the latest version.

  • Issue feedback: Submit issues through GitCode Issues.
  • Community interaction: Join discussions through GitCode Discussions.
  • Technical column: Get technical articles through GitCode Wiki.

Introduction

本项目是CANN提供的图像处理、目标检测相关的算子库,实现网络在NPU上加速计算。

Customize your domain