Domanda

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

È stato utile?

Soluzione

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

The question is already answered here.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top