First time here? Check out the FAQ!
answered 2019-05-06 00:36:41 -0600
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.
cols
rows
cv::Mat
blob.size[0]
blob.size[1]
blob.size[2]