Open CV xml file to matlab

2 ビュー (過去 30 日間)
Tobin
Tobin 2012 年 8 月 8 日
回答済み: ComputerVision Enthusiast 2020 年 10 月 13 日
Hi everybody,
I need to import xml file generated in OpenCv by CVfileStorage. OpenCV doesn't enable any data visualization. So I'm trying to do this in matlab, but the xml import is the problem.
I've tried xmltoolbox from file exchange, xml2struct function and both of them failed. I've been trying to tune the code to work properly. After two days effort I'm giving up and asking for help.
I need to get the never ending numbers from cell <<data>> <</data>> to vector in matlab.
Thank to all

回答 (1 件)

ComputerVision Enthusiast
ComputerVision Enthusiast 2020 年 10 月 13 日
1) Use xmlread and process the tree yourself, https://www.mathworks.com/help/matlab/ref/xmlread.html
2) If tyou are using simulink and looking for a workflow to integrate simulink and openCV try https://www.mathworks.com/help/vision/opencv-interface-support-for-simulink.html

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by