zoukankan      html  css  js  c++  java
  • 简单的遍历xml

    #include <opencv2opencv.hpp>
    
    #include <opencv2highguihighgui.hpp>
    
    #include <opencv2features2dfeatures2d.hpp>
    
    #include <opencv2corecore.hpp>
    
    using namespace std;
    
    using namespace cv;
    
    int main()
    
    {
    
    
    	//========遍历节点(读数据)========= 
    
    	FileStorage fsread("C:\Users\Administrator\Desktop\002339.xml", FileStorage::READ);
    
    	Mat dst;
    
    	fsread["src1"] >> dst;
    
    	cout << dst << endl;
    
    	fsread.release();
    
    	cout << "Read Finished" << endl;
    
    	getchar();
    
    	return 0;
    
    }
    

      

  • 相关阅读:
    getfacl语法2
    getfacl
    setfacl语法2
    setfacl语法
    特殊权限语法2
    特殊权限语法
    vim语法
    locate语法
    find语法
    dos语法
  • 原文地址:https://www.cnblogs.com/intruder/p/12072666.html
Copyright © 2011-2022 走看看