Skip to content

RandomPrototypes/MoveNet_ONNXRUNTIME_CPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MoveNet_ONNXRUNTIME_CPP

Sample code using MoveNet with onnxruntime and openCV in cpp

Based on PINTO_model_zoo
onnxruntime official repository

How to build

First, install onnxruntime.
Then, run

mkdir build
cd build
cmake ..
make

You may have to set the variables ONNX_RUNTIME_SESSION_INCLUDE_DIRS and ONNX_RUNTIME_LIB if onnxruntime is not detected by cmake.

How to download the onnx models

Use the scripts from PINTO_model_zoo

Command-line options

To change the model file, use --model followed by the model path
To change the dnn input size, use --input_size followed by the input size (one number)
To change the keypoint score threshold, use --keypoint_score followed by the score threshold (between 0 and 1)
To run onnxruntime with cuda, use --cuda
To change the device id of the camera, use --device_id followed by the camera id (one number)

About

C++ implementation of MoveNet inference with ONNXRUNTIME

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published