microsoft / MeshGraphormer

Research code of ICCV 2021 paper "Mesh Graphormer"
https://arxiv.org/abs/2104.00272
390 stars 54 forks source link

how to crop images when using detection human result? #12

Open lucasjinreal opened 2 years ago

lucasjinreal commented 2 years ago

Hi, when using detection human result for E2E mesh regression on videos. How to resize the detected human box to target 224x244 input? if a human detected box is rectangle, how to resize it? How to determine the padding values on horizontal and vertical?

kevinlin311tw commented 2 years ago

I think GraphCMR gives a good tutorial on how to do it. Please refer to their code: https://github.com/nkolot/GraphCMR/blob/master/demo.py