Commit 7df9f67b3ba6b27720de75262cd1807f82323bcf
1 parent
f4334277
补充readme
Showing
3 changed files
with
156 additions
and
1 deletions
.vscode/launch.json
0 → 100644
1 | +{ | ||
2 | + // 使用 IntelliSense 了解相关属性。 | ||
3 | + // 悬停以查看现有属性的描述。 | ||
4 | + // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 | ||
5 | + "version": "0.2.0", | ||
6 | + "configurations": [ | ||
7 | + { | ||
8 | + "name": "dvpp", | ||
9 | + "type": "cppdbg", | ||
10 | + "request": "launch", | ||
11 | + "program": "${workspaceFolder}/bin/vpt_proj", | ||
12 | + "args": ["/home/cmhu/data/woyikewangh265.mp4","0", "0", "1"], | ||
13 | + "stopAtEntry": false, | ||
14 | + "cwd": "${workspaceFolder}/bin", | ||
15 | + "environment": [], | ||
16 | + "externalConsole": false, | ||
17 | + "MIMode": "gdb", | ||
18 | + "setupCommands": [ | ||
19 | + { | ||
20 | + "description": "Enable pretty-printing for gdb", | ||
21 | + "text": "-enable-pretty-printing", | ||
22 | + "ignoreFailures": true | ||
23 | + } | ||
24 | + ] | ||
25 | + },{ | ||
26 | + "name": "test", | ||
27 | + "type": "cppdbg", | ||
28 | + "request": "launch", | ||
29 | + "program": "${workspaceFolder}/bin/test", | ||
30 | + "args": ["/home/cmhu/data/woyikewangh265.mp4","0", "0", "0"], | ||
31 | + "stopAtEntry": false, | ||
32 | + "cwd": "${workspaceFolder}/bin", | ||
33 | + "environment": [], | ||
34 | + "externalConsole": false, | ||
35 | + "MIMode": "gdb", | ||
36 | + "setupCommands": [ | ||
37 | + { | ||
38 | + "description": "Enable pretty-printing for gdb", | ||
39 | + "text": "-enable-pretty-printing", | ||
40 | + "ignoreFailures": true | ||
41 | + } | ||
42 | + ] | ||
43 | + } | ||
44 | + ] | ||
45 | +} | ||
0 | \ No newline at end of file | 46 | \ No newline at end of file |
.vscode/settings.json
0 → 100644
1 | +{ | ||
2 | + "files.associations": { | ||
3 | + "iostream": "cpp", | ||
4 | + "array": "cpp", | ||
5 | + "atomic": "cpp", | ||
6 | + "hash_map": "cpp", | ||
7 | + "hash_set": "cpp", | ||
8 | + "bit": "cpp", | ||
9 | + "*.tcc": "cpp", | ||
10 | + "cctype": "cpp", | ||
11 | + "chrono": "cpp", | ||
12 | + "clocale": "cpp", | ||
13 | + "cmath": "cpp", | ||
14 | + "complex": "cpp", | ||
15 | + "condition_variable": "cpp", | ||
16 | + "cstdarg": "cpp", | ||
17 | + "cstddef": "cpp", | ||
18 | + "cstdint": "cpp", | ||
19 | + "cstdio": "cpp", | ||
20 | + "cstdlib": "cpp", | ||
21 | + "cstring": "cpp", | ||
22 | + "ctime": "cpp", | ||
23 | + "cwchar": "cpp", | ||
24 | + "cwctype": "cpp", | ||
25 | + "deque": "cpp", | ||
26 | + "list": "cpp", | ||
27 | + "map": "cpp", | ||
28 | + "set": "cpp", | ||
29 | + "unordered_map": "cpp", | ||
30 | + "unordered_set": "cpp", | ||
31 | + "vector": "cpp", | ||
32 | + "exception": "cpp", | ||
33 | + "algorithm": "cpp", | ||
34 | + "functional": "cpp", | ||
35 | + "iterator": "cpp", | ||
36 | + "memory": "cpp", | ||
37 | + "memory_resource": "cpp", | ||
38 | + "numeric": "cpp", | ||
39 | + "optional": "cpp", | ||
40 | + "random": "cpp", | ||
41 | + "ratio": "cpp", | ||
42 | + "string": "cpp", | ||
43 | + "string_view": "cpp", | ||
44 | + "system_error": "cpp", | ||
45 | + "tuple": "cpp", | ||
46 | + "type_traits": "cpp", | ||
47 | + "utility": "cpp", | ||
48 | + "fstream": "cpp", | ||
49 | + "initializer_list": "cpp", | ||
50 | + "iomanip": "cpp", | ||
51 | + "iosfwd": "cpp", | ||
52 | + "istream": "cpp", | ||
53 | + "limits": "cpp", | ||
54 | + "mutex": "cpp", | ||
55 | + "new": "cpp", | ||
56 | + "ostream": "cpp", | ||
57 | + "sstream": "cpp", | ||
58 | + "stdexcept": "cpp", | ||
59 | + "streambuf": "cpp", | ||
60 | + "thread": "cpp", | ||
61 | + "cinttypes": "cpp", | ||
62 | + "typeinfo": "cpp", | ||
63 | + "bitset": "cpp", | ||
64 | + "regex": "cpp", | ||
65 | + "shared_mutex": "cpp", | ||
66 | + "variant": "cpp", | ||
67 | + "future": "cpp", | ||
68 | + "typeindex": "cpp", | ||
69 | + "codecvt": "cpp", | ||
70 | + "*.cpp1": "cpp" | ||
71 | + } | ||
72 | +} | ||
0 | \ No newline at end of file | 73 | \ No newline at end of file |
readme.md
1 | -readme | ||
2 | \ No newline at end of file | 1 | \ No newline at end of file |
2 | +人车物检测_x86_310p_v0.0.1.20230316_without_timelimit | ||
3 | + | ||
4 | +支持系统: | ||
5 | + Atlas x86 linux | ||
6 | +文件清单: | ||
7 | + vpt.h: 接口文件 | ||
8 | + libvpt_det.so: 依赖库文件 | ||
9 | + models/vpt0715_310p.om: 模型文件 | ||
10 | + test/: 测试文件 | ||
11 | + test.cpp: 调用示例 | ||
12 | + 0_38863.jpg,datacasia_20160821_003198.jpg:测试数据 | ||
13 | + list.txt: 测试图片列表 | ||
14 | + Atlas人车物检测SDK说明_v0.0.0.pdf: SDK说明文档 | ||
15 | + | ||
16 | +更新内容: | ||
17 | + -2023.03.16 编译ascend310p x86版本 | ||
18 | + | ||
19 | +注意事项说明: | ||
20 | + - 当前版本跟踪前三帧无结果输出 | ||
21 | + | ||
22 | + | ||
23 | +### ffmpeg编译 | ||
24 | +~~~ | ||
25 | +./configure --enable-debug --extra-cflags=-g --extra-ldflags=-g --disable-optimizations --disable-stripping --disable-x86asm --enable-nonfree --disable-vaapi --extra-cflags=-fPIC --enable-shared --enable-pic --enable-ffplay --prefix=./release | ||
26 | +~~~ | ||
27 | +其中以下是用于调试的,编译release可以去掉: | ||
28 | +~~~ | ||
29 | +--enable-debug --extra-cflags=-g --extra-ldflags=-g --disable-optimizations --disable-stripping | ||
30 | +~~~ | ||
31 | +然后 make , make install | ||
32 | + | ||
33 | +### jsoncpp/opencv/spdlog 编译 | ||
34 | +~~~ | ||
35 | +mkdir build | ||
36 | +cd ./build | ||
37 | +cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=../release .. | ||
38 | +make -j100 | ||
39 | +make install | ||
40 | +~~~ | ||
3 | \ No newline at end of file | 41 | \ No newline at end of file |