How can i convert this line into python code
Mat out = Mat::ones(src.rows+maxYOffset, src.cols+maxXOffset, src.type());
i have tried using np.zeros() and np.ones.
1 | initial version |
How can i convert this line into python code
Mat out = Mat::ones(src.rows+maxYOffset, src.cols+maxXOffset, src.type());
i have tried using np.zeros() and np.ones.