I'm working on an AR application where the marker is a 3d object with a complex shape, so I'm trying to make a cad-based recognition system as a first step.
as far as I found the main steps for building a 3d model from a set of images is: 1-to loop through the images and extract their features. 2-perform a pairwise matching 3-compute the 3d points, and their corresponding descriptors and camera parameters for each image.
now my first question is how should I determine the descriptor for each 3d point, as we know the 3d point is extracted from a set of similar 2d features, meaning that there are many similar descriptors each of which corresponds to a 2d point, so which of those descriptors should we choose? they are not exactly the same instead slightly differ from each others.
my other question is: based on this tutorial Real Time pose estimation of a textured object provided by OpenCV, it's required that the model is in .yaml format and the mesh in .ply format. I need to know how to store my 3d structure into these types of files? is there any steps or tools that can help doing so?
thanks in advance