代码拉取完成,页面将自动刷新
res = tr.run(img.copy().convert("L"), flag=tr.FLAG_ROTATED_RECT) 在执行res这句时,出现了后面的错 terminate called after throwing an instance of 'cv::Exception' what(): OpenCV(4.3.0) /home/hgzn/share/opencv-4.3.0/modules/core/src/matrix.cpp:466: error: (-215:Assertion failed) 0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows in function 'Mat'