Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

read formated matrix from text file

Hello

I know OpenCV allow to format matrix using different representation of the data thanks to the function: format e.g.:

std::cout<<cv::format(my_matrix, cv::Formatter::FMT_NUMPY)<<std::endl;

I would like to know if there is an already existing function that can read the formatted data from a text file.

Thanks in advance.

read formated matrix from text file

Hello

I know OpenCV allow to format matrix using different representation of the data thanks to the function: format e.g.:

std::cout<<cv::format(my_matrix, cv::Formatter::FMT_NUMPY)<<std::endl;

I would like to know if there is an already existing function that can read the formatted data from a text file.

Thanks in advance.