Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 920 Bytes

README.md

File metadata and controls

40 lines (25 loc) · 920 Bytes

CodeFactor

PoseCamera(cpp)

Realtime Humanpose Estimation in C++

This is a realtime humanpose estimation using libtorch. This project can runs realtime (16fps) on CPU and about 50fps on GPU.

Install

use trace_model.py file to trace your pytorch model for libtorch c++

In order to run this demo, you have to follow these steps:

  1. Install thor which provide visualization utils.

    # Download libtorch
    # install thor
    git clone http://github.com/jinfagang/thor
    cd thor
    mkdir build && cd build
    cmake ..
    make -j8
    sudo make install
    
  2. make executable file

    mkdir build
    cd build
    cmake .. && make -j4
    

And that is all! make sure you have copied libtorch to your home folder.