Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There is no cols and rows for cv::Mat with number of dimensions >2 (source). Check blob.size[0], blob.size[1] and blob.size[2] instead.