Switch `rows` and `cols` in call to Mat.zeros
The correct order is rows then cols: https://docs.opencv.org/4.x/d3/d63/classcv_1_1Mat.html#a56daa006391a670e9cb0cd08e3168c99
Showing
想要评论请 注册 或 登录
The correct order is rows then cols: https://docs.opencv.org/4.x/d3/d63/classcv_1_1Mat.html#a56daa006391a670e9cb0cd08e3168c99