Daniil-Osokin / gccpm-look-into-person-cvpr19.pytorch

Fast and accurate single-person pose estimation, ranked 10th at CVPR'19 LIP challenge. Contains implementation of "Global Context for Convolutional Pose Machines" paper.
Apache License 2.0
168 stars 28 forks source link

Single image inference example? #14

Closed antithing closed 4 years ago

antithing commented 4 years ago

Hi, and thank you for making this code available. What do i need to do to run inference (using the pre-trained model) on my own random image as cv::Mat?

Do I also need to provide a bounding box?

Thank you.

Daniil-Osokin commented 4 years ago

Hi! It needs general steps for this group of methods: to find the pose, person need to be centered inside the image, and only the pose of this one person will be found. There is OpenVINO demo that automates step: runs person detector and for each found person runs pose estimation, however it requires to use models in internal format. If you want to do it by hands, I suggest to do the following:

Daniil-Osokin commented 4 years ago

Hope, it is clear now.