摘要:
import cv2# 截取图像img = cv2.imread("sqh.png")img = img[100:200, 400:1000] #100-200为高 400-1000为长cv2.imshow("cut", img)cv2.waitKey(0)cv2.destroyAllWindows 阅读全文
posted @ 2021-08-17 15:21
柯西SAMA
阅读(77)
评论(0)
推荐(0)
摘要:
import cv2# 读取图像img = cv2.imread("sqh.png")print(img) #打印图片的信息# 图像显示cv2.imshow("display of photo", img)cv2.waitKey(0) # 等待时间, 单位为毫秒, 0 表示任意键终止cv2.dest 阅读全文
posted @ 2021-08-17 15:04
柯西SAMA
阅读(39)
评论(0)
推荐(0)
浙公网安备 33010602011771号