# delta **Repository Path**: sunplus-group/delta ## Basic Information - **Project Name**: delta - **Description**: delta demo - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2025-02-07 - **Last Updated**: 2025-02-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Delta: YOLO图像识别及自动抓取 #### 介绍 snnf https://sunplus.atlassian.net/wiki/spaces/C3/pages/2288123905/V1.0.0+of+SNNF snnf的编译与部署请参见 https://gitee.com/playepic/snnf/ YOLO https://docs.ultralytics.com/zh https://docs.ultralytics.com/tasks/detect/ #### 编译与运行 环境: C3V开发板(ubuntu 24.04) + Delta平台 加载 snnf环境设置脚本 ``` cd ~/snnf source snnf_env.sh ``` 建立 python虚拟环境 ``` cd ~ python -m venv py source ~/py/bin/activate ``` 编译安装ocr库 ``` cd ~/snnf git clone --depth 1 https://gitee.com/sunplus-group/snnf_ocr_demo cd snnf_ocr_demo mkdir build && cd build sudo apt install ccache cmake libopencv-dev swig cmake .. make -j4 mkdir ~/py/lib/python3.12/site-packages/ocr cp ocr.py ~/py/lib/python3.12/site-packages/ocr/__init__.py cp _ocr.so ~/py/lib/python3.12/site-packages/ocr ``` 编译安装vnn库 ``` cd ~ git clone --depth 1 https://gitee.com/sunplus-group/age.git cd age make -j4 ``` 安装ultralytics_vnn(支持vnn后端的YOLO版本) ``` cd ~ git clone --depth 1 -b vnn https://gitee.com/sunplus-group/ultralytics.git cd ultralytics pip install . ``` 安装并运行delta demo ``` cd ~ git clone --depth 1 https://gitee.com/sunplus-group/delta.git cd delta pip install -r requirements.txt python main.py ```