Hi to all the community.
I'm beginner in this fantastic world about OpenCV. I'm making a simple app to estimate the pose of object 3D inside a scene. Reading all the extra modules, I realized "surface matching" module just make this function. Reviewing the code, i have the next doubt: I'm realizing when I'm running th this sample script: (https://github.com/opencv/opencv_contrib/blob/master/modules/surface_matching/samples/ppf_load_match.cpp), the model is trained but none "file" (as XML, DAT or anyway extension) is saved for next poses detection of the model inside the scene. Threre several properties and mats which is saved inside a object called "detection" apart of the of hash_table and I'm not able to save whole mandatory information in any kind of file in disk. Every execution, I need to train the model to obtain the result, so my question is simple. Is there any option to serialize the trained model on disk to use it then for poses detection?
I'm using latest version of OpenCV -> 3.4.3 compiled against VS2017 using Windows 10
Thanks in advance.