Ask Your Question

Revision history [back]

You do not need openCV for this but string based C or C++ operations. Basicly you create a stringstream, apply a split on that string based on a known seperator, and continue doing to until you reach each element that has to come in a Matrix element of a row (1 row for 1 descriptor).

Once you have splitted enough based on known seperator, use int integervalue = atoi(stringvalue); to convert the values towards the correct format.