From 7df9f67b3ba6b27720de75262cd1807f82323bcf Mon Sep 17 00:00:00 2001 From: fiss <2657262686@qq.com> Date: Mon, 15 May 2023 14:57:50 +0800 Subject: [PATCH] 补充readme --- .vscode/launch.json | 45 +++++++++++++++++++++++++++++++++++++++++++++ .vscode/settings.json | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ readme.md | 40 +++++++++++++++++++++++++++++++++++++++- 3 files changed, 156 insertions(+), 1 deletion(-) create mode 100644 .vscode/launch.json create mode 100644 .vscode/settings.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..b55a2c7 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,45 @@ +{ + // 使用 IntelliSense 了解相关属性。 + // 悬停以查看现有属性的描述。 + // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "dvpp", + "type": "cppdbg", + "request": "launch", + "program": "${workspaceFolder}/bin/vpt_proj", + "args": ["/home/cmhu/data/woyikewangh265.mp4","0", "0", "1"], + "stopAtEntry": false, + "cwd": "${workspaceFolder}/bin", + "environment": [], + "externalConsole": false, + "MIMode": "gdb", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + } + ] + },{ + "name": "test", + "type": "cppdbg", + "request": "launch", + "program": "${workspaceFolder}/bin/test", + "args": ["/home/cmhu/data/woyikewangh265.mp4","0", "0", "0"], + "stopAtEntry": false, + "cwd": "${workspaceFolder}/bin", + "environment": [], + "externalConsole": false, + "MIMode": "gdb", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + } + ] + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..ec90891 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,72 @@ +{ + "files.associations": { + "iostream": "cpp", + "array": "cpp", + "atomic": "cpp", + "hash_map": "cpp", + "hash_set": "cpp", + "bit": "cpp", + "*.tcc": "cpp", + "cctype": "cpp", + "chrono": "cpp", + "clocale": "cpp", + "cmath": "cpp", + "complex": "cpp", + "condition_variable": "cpp", + "cstdarg": "cpp", + "cstddef": "cpp", + "cstdint": "cpp", + "cstdio": "cpp", + "cstdlib": "cpp", + "cstring": "cpp", + "ctime": "cpp", + "cwchar": "cpp", + "cwctype": "cpp", + "deque": "cpp", + "list": "cpp", + "map": "cpp", + "set": "cpp", + "unordered_map": "cpp", + "unordered_set": "cpp", + "vector": "cpp", + "exception": "cpp", + "algorithm": "cpp", + "functional": "cpp", + "iterator": "cpp", + "memory": "cpp", + "memory_resource": "cpp", + "numeric": "cpp", + "optional": "cpp", + "random": "cpp", + "ratio": "cpp", + "string": "cpp", + "string_view": "cpp", + "system_error": "cpp", + "tuple": "cpp", + "type_traits": "cpp", + "utility": "cpp", + "fstream": "cpp", + "initializer_list": "cpp", + "iomanip": "cpp", + "iosfwd": "cpp", + "istream": "cpp", + "limits": "cpp", + "mutex": "cpp", + "new": "cpp", + "ostream": "cpp", + "sstream": "cpp", + "stdexcept": "cpp", + "streambuf": "cpp", + "thread": "cpp", + "cinttypes": "cpp", + "typeinfo": "cpp", + "bitset": "cpp", + "regex": "cpp", + "shared_mutex": "cpp", + "variant": "cpp", + "future": "cpp", + "typeindex": "cpp", + "codecvt": "cpp", + "*.cpp1": "cpp" + } +} \ No newline at end of file diff --git a/readme.md b/readme.md index ea786ff..2a3fa4e 100644 --- a/readme.md +++ b/readme.md @@ -1 +1,39 @@ -readme \ No newline at end of file +人车物检测_x86_310p_v0.0.1.20230316_without_timelimit + +支持系统: + Atlas x86 linux +文件清单: + vpt.h: 接口文件 + libvpt_det.so: 依赖库文件 + models/vpt0715_310p.om: 模型文件 + test/: 测试文件 + test.cpp: 调用示例 + 0_38863.jpg,datacasia_20160821_003198.jpg:测试数据 + list.txt: 测试图片列表 + Atlas人车物检测SDK说明_v0.0.0.pdf: SDK说明文档 + +更新内容: + -2023.03.16 编译ascend310p x86版本 + +注意事项说明: + - 当前版本跟踪前三帧无结果输出 + + +### ffmpeg编译 +~~~ +./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 +~~~ +其中以下是用于调试的,编译release可以去掉: +~~~ +--enable-debug --extra-cflags=-g --extra-ldflags=-g --disable-optimizations --disable-stripping +~~~ +然后 make , make install + +### jsoncpp/opencv/spdlog 编译 +~~~ +mkdir build +cd ./build +cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=../release .. +make -j100 +make install +~~~ \ No newline at end of file -- libgit2 0.21.4