Skip to content

Files

Latest commit

Mar 1, 2021
64a15d4 · Mar 1, 2021

History

History
executable file
·
37 lines (27 loc) · 886 Bytes

File metadata and controls

executable file
·
37 lines (27 loc) · 886 Bytes

Code for How to use OpenCV DNN Module with NVIDIA GPUs

This repository contains the code for How to use OpenCV DNN Module with NVIDIA GPUs

Models

Download models from

COCO : https://www.dropbox.com/s/2h2bv29a130sgrk/pose_iter_440000.caffemodel?dl=0

MPI : https://www.dropbox.com/s/drumc6dzllfed16/pose_iter_160000.caffemodel?dl=0

Run Code:

C++

mkdir build
cd build
cmake ..
make
cd ..
./build/OpenPoseVideo <input_file> <gpu/cpu>

Python

python OpenPoseVideo.py --device=<cpu/gpu> 

AI Courses by OpenCV

Want to become an expert in AI? AI Courses by OpenCV is a great place to start.