I used this piece of code to write descriptors in a text file , but I dont know how to laod them back in a cv::Mat again, what is the function that does the opposite !!

How to crete a SIFT's descriptors database

有帮助吗?

解决方案

You can use the XML/YAML file storages provided by the OpenCV class Filestorage.

The question is already answered here.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top