Achieve relative code about caffe pose estimation model by c++
- class initiation(caffe model load)
- image read
- pose estimation
- preprocess
- model inference
- postprecess
- pose render
- image display
- video display
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
make
./pose_estimation model_file.prototxt trained_model.caffemodel /path/to/img.png
- model inference time: 10ms
- total time: 18ms(include preprocess and postprecess)
Caffe_DIR="/ssd2/xyliu/projects/caffe/build/install/share/Caffe"
export LD_LIBRARY_PATH="/ssd2/xyliu/projects/caffe/build/install/lib/":$LD_LIBRARY_PATH
doc/caffe_depthconv.md