1 Star 0 Fork 0

Di / tensorrt_retinaface_with_python

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

tensorrt_retinaface_with_python

just add python bindings for tensorrt_retinaface detect frame works (support onnx to tensorRT modules)

tensorrt_retinaface_with_python

just add python bindings for tensorrt_retinaface detect frame works (support onnx to tensorRT modules)

TensorRT ONNX with python bindings

clone from https://github.com/wuchaodzxx/tensorrt_retinaface

I add python bindings for python3 support for tensortRT ONNX (+ opencv4)

how to run:

1 ./build_all.sh

2 cp build/libtensorrt_engine_lib.so /usr/local/lib/

3 cd python && python3 setup.py install

you must have cuda , tensorRT , opencv4.x , python-boost installed

4 convert onnx models to tensorRT

onnx2trt models/retinaface_mbv2_sim.onnx -o models/retinaface.trt

5 test

cd python && python3 test.py

details:

tensorRT wrapper : tensorrt_engine_wrap.cc python Modules : python/trt_engine_retinaface_module.cpp python/setup.py

python Modules :

references : https://github.com/PierreFritsch/OpenCV-Python-C-Module-for-Image-Processing/ https://github.com/Algomorph/pyboostcvconverter

OpenCV-Python-C-Module-for-Image-Processing project is simple but does not work for my opencv4 env . pyboostcvconverter is a little complicated.

i extract pyboost_cv4_converter.cpp from pyboostcvconverter , and combine it to OpenCV-Python-C-Module-for-Image-Processing

空文件

简介

取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/tulipdi/tensorrt_retinaface_with_python.git
git@gitee.com:tulipdi/tensorrt_retinaface_with_python.git
tulipdi
tensorrt_retinaface_with_python
tensorrt_retinaface_with_python
main

搜索帮助