Ask Your Question

Revision history [back]

The function prototype has changed in OpenCV. The functionality of

format(matrix, "csv")

is achieved with

cv::format(matrix, cv::Formatter::FMT_CSV)

Options available are FMT_DEFAULT, FMT_MATLAB, FMT_CSV, FMT_PYTHON, FMT_NUMPY, and FMT_C.