goldoak / AEPnP

MIT License
7 stars 1 forks source link

Trying on custom objects #1

Open cmakelabs opened 1 month ago

cmakelabs commented 1 month ago

Thanks for the impressive work, I am wondering how can I try it on a custom object that is not present in the dataset. If I have the 3D model of the object in Blender for example, what can I do to test it in practice?

goldoak commented 1 month ago

Hi, thank you for your interest in our work. You can take a look at demo.py to see how to use the AEPnP solver for estimating 6D pose and anisotropic scale factors. You'll need to input a minimum of 4 correspondences. To find these 2D-3D correspondences, you can render an image of your customized Blender object, potentially with some stretching along two dimensions. Please note that you should obtain normalized image coordinates using camera intrinsics.

cmakelabs commented 1 month ago

Thank you for answering, I feel that I did not got it exactly right, May you please provide detailed instructions on what steps shall I follow to make it work. Would be really grateful for your guidence