Ask Your Question

stmo's profile - activity

2016-02-03 01:30:16 -0600 received badge  Student (source)
2014-02-07 08:02:56 -0600 commented question Read a code (numbers and letters) from a xml file - c++

I will try in this way! Thanks again!

2014-02-07 07:51:39 -0600 commented question Read a code (numbers and letters) from a xml file - c++

I understand...and from a csv file could I read and put in variables the informations I need? if I have more products and more codes too?

2014-02-07 07:14:00 -0600 commented question Read a code (numbers and letters) from a xml file - c++

Thanks berak! with "" around the string this problem is solved. Yes, I'm reading just now the documentation about keys because I will need more than one product tag. In origin this xml was not created using FileStorage, I've adapted it (not very well indeed)...do you know another way to extract informations from a xml file using openCV?

2014-02-07 06:01:59 -0600 commented question Read a code (numbers and letters) from a xml file - c++

<?xml version="1.0" encoding="UTF-8"?>

<opencv_storage>

<Product>

<Code> 9HJC031024P1 </Code>

</Product>

</opencv_storage>

--This is what I've done:

FileStorage fs2;

fs2.open("my_file.xml", FileStorage::READ);

FileNode Product = Device["Product"];

--Now I've to read the code and put it in a variable, but which type?

2014-02-07 04:23:55 -0600 asked a question Read a code (numbers and letters) from a xml file - c++

Hi! I have to read a code (numbers and letters) from a xml file. 9HJC031024P1 How can I do it with FileStorage class?? I can't use a String type because show me this error: there should be space between literals in icvXMLParseValue...

Thanks!

2014-01-22 08:08:13 -0600 asked a question Matching a photo with a scheme

Hi everyone! I have to detect an electric panel matching a photo of the panel with its relative scheme. The scheme has white lines on a black background. Do you think it's possible? Which algorithm of feature detection and matching should I use?