[Bug] python之OpenCV:(-215:Assertion failed) !_img.empty() in function ‘imwrite‘
1.问题描述:已知bbox,裁剪图像并保存2.代码细节:...forbbox_idx,bboxinenumerate(bbox_list):img_clip=img[bbox[1]:bbox[3],bbox[0]:bbox[2],:]cv2.imwrite('./{}.png'.format(bbox_idx),img_clip)...3.报错:运行成功几张图片后报错cv2.error:OpenC