JimmySuen / integral-human-pose

Integral Human Pose Regression
MIT License
471 stars 76 forks source link

Inference code #11

Closed GraphicsHunter closed 5 years ago

GraphicsHunter commented 5 years ago

Hi, could you please add code where inference is done on image/video/webcam? what is the output rate or this model?

MetaDev commented 5 years ago

I am also trying inference, but I can't unrar the downloaded models. any help there?

lck1201 commented 5 years ago

@tianfanzhu @MetaDev You can simply modify test.py and net_modules.py to do inference, there isn't anything new.

lck1201 commented 5 years ago

Now close this issue, I would re-open it if new questions come out.

MetaDev commented 5 years ago

I can get output from the model but now I am looking to postprocess the output into 3D joints. Where could I find the code for that. I would like to make visualisation like in the top of the readme (image->3D in matplotlib). Thanks!

MetaDev commented 5 years ago

I figured it out. I had to use the "result_func" and "debug_vis_patch", the code is pretty clear.

lck1201 commented 5 years ago

Good to know you have solve it!

wangm-word commented 3 years ago

I figured it out. I had to use the "result_func" and "debug_vis_patch", the code is pretty clear.

can you tell me how to inference a img?>