Git Product home page Git Product logo

deepsort_tensorrt's Introduction

DeepSort_TensorRT

TensorRT真是太快啦,基于大佬实现的DeepSort,用TensorRT来做特征提取的部分。[慢更]

Install

[REQUIRE] TensorRT 7

[REQUIRE] OpenCV

下载本库和deepsort的pytorch库

git clone [email protected]:ZQPei/deep_sort_pytorch.git
git clone https://github.com/GesilaA/deepsort_tensorrt.git

配置好大佬的pytorch工程后,将exportOnnx.py复制到pytorch工程的项目目录下运行,将会生成deepsort.onnx。

把deepsort.onnx移到本工程的resources目录下。然后回到工程的根目录

mkdir build
cd build
cmake ..
make
./onnx2engine ../resources/deepsort.onnx ../resources/deepsort.engine

然后就可以运行demo测试了

./demo ../resources/deepsort.engine ../resources/track.txt

然后就可以把自己TensorRT的目标检测工程进行对接。附上大佬TensorRT目标检测的工程

git clone https://github.com/wang-xinyu/tensorrtx.git

注:视频文件太大了,所以只把检测结果保存成txt进行测试,因为图片全是黑的,所以demo只是demo,以实际使用为准哈。

deepsort_tensorrt's People

Contributors

gesilaa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.