cv2.error: OpenCV(4.2.0) :opencv-pythonerror:right >= ms() <= 2 in function ‘cv::copyMakeBorder‘
参考大佬博客中的评论https://ask.csdn.net/questions/1057478#answer_1310863报错信息:img=cv2.copyMakeBorder(img,top,bottom,left,right,cv2.BORDER_CONSTANT,value=color)#addbordercv2.error:OpenCV(4.2.0)C:\projects\opencv