生成一个文本文件的cv :: Mat [英] generate cv::Mat out of a text file
本文介绍了生成一个文本文件的cv :: Mat的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用这段代码在一个文本文件中写入描述符,但我不知道如何在cv :: Mat中再次使用它们,相反的功能是什么!
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 !!
推荐答案
您可以使用OpenCV类Filestorage提供的XML / YAML文件存储。
You can use the XML/YAML file storages provided by the OpenCV class Filestorage.
问题已经回答了此处。
这篇关于生成一个文本文件的cv :: Mat的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文