generate cv::Mat out of a text file

为君一笑 提交于 2019-12-12 04:59:01

问题


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


回答1:


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

The question is already answered here.



来源:https://stackoverflow.com/questions/23151295/generate-cvmat-out-of-a-text-file

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!