First time here? Check out the FAQ!
answered 2016-01-18 19:08:38 -0600
got it, all I had to do was add the lines
if (mat.rows < 500) mat.push_back(Mat::zeros((500 - mat.rows),32,mat.type()));