README.md 1.45 KB
Newer Older
lijian6's avatar
lijian6 committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Video_Ort

## 目录
- [目录结构](#目录结构)
- [项目介绍](#项目介绍)
- [环境配置](#环境配置)
- [编译运行](#编译运行)
- [参考文档](#参考文档)
- [历史版本](#历史版本)

## 目录结构
```
├── CMakeLists.txt
├── include
├── lib
│   ├── libdecode.so
│   └── libQueue.so
├── README.md
├── Resource
│   ├── Images
│   └── Models
└── src
    ├── CommonUtils.cpp
    ├── DetectorYOLOV3.cpp
    ├── DetectorYOLOV5.cpp
    ├── DetectorYOLOV7.cpp
    ├── main.cpp
    ├── yolov3-tiny.cpp
    ├── yolov5s.cpp
    └── yolov7-tiny.cpp
```

## 项目介绍

基于CPU解码,onnxruntime框架推理的视频推理范例

## 环境配置

推荐使用docker方式运行,提供[光源](https://www.sourcefind.cn/#/service-list)拉取的docker镜像

```
docker pull image.sourcefind.cn:5000/dcu/admin/base/custom:tvm0.10_ort1.14.0_migraphx3.0.0-dtk23.04
```

## 编译运行

### 编译
```
lijian6's avatar
lijian6 committed
49
git clone https://developer.hpccube.com/codes/modelzoo/video_ort.git
lijian6's avatar
lijian6 committed
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
cd video_ort
mkdir build
cd build
cmake ../
make
```

### 运行
```
./Video_Ort
```
根据提示选择要运行的示例程序,比如执行:
```
./Video_Ort 0
```
运行CPU解码并运行YOLOV3推理示例程序


## 参考文档

文档参考Doc目录下说明文档.

## 源码仓库及问题反馈

lijian6's avatar
lijian6 committed
74
https://developer.hpccube.com/codes/modelzoo/video_ort.git
lijian6's avatar
lijian6 committed
75