Python的Opencv初學部分知識點(三)

ROI(Region of Interest)區域範圍獲取,可以通過numpy來指定寬高獲取ROI位置 src = cv.imread('timg.jpg') #cv.namedWindow("src_demo",cv.WINDOW_AUTOSIZE) cv.imshow("src_demo",src) #通過numpy來獲取制定高度寬度得ROI區域範圍 face = src[10:600,500
相關文章
相關標籤/搜索