opencv-error-vector subscript out of range

在遍历一张图片的轮廓点集时,出现了如下错误。 最后排查之后,发现是在for循环这里出错。 for (size_t i = 0; i < contours.size(); i++) { boundRect[i] = boundingRect(Mat(contours[i])); //rectangle(ThreadholdImageRIO, boundRect[i].tl(), boundRect
相关文章
相关标签/搜索