MvSMPLfitting
MvSMPLfitting copied to clipboard
how to generalize to single camera situation?
Hey bro, your repo is REALLY cool! I wanna use datasets by single camera, but I find it can't run correctly. Could you help me with this problem?
Thank you for your interest. You can try to remove the view<2 in code/main.py Line50.
Thanks for your help! There is still one problem. I don't know if the camera parameters do crutial to the results. It's hard for me to understand the numbers in the camera parameters files. I keep the camera parameters provided in the original codes, and get bad results for my own test images. If I would change the camera parameters, how can I do?
If you don't have calibrated camera parameters, you can set the principle to h/2, w/2. The focal for intrinsic matrix could be 2000. The extrinsic parameter for a single-camera should be a 4*4 identity matrix. The camera parameter file can be rewritten as: 0 2000 0 h/2 0 2000 w/2 0 0 1 0 0 1 0 0 0 0 1 0 0 0 0 1 0
Thanks for your advice! Now the code seems good, thank you again!