Is there a direct way to print a Mat on one line ?
I want to print it on one line in a file, because this is the format of the training files of the ANN I am using. Instead of two loops, is there some prebuilt function for that ?
add a comment