摘要:
只是实现一下,暂不考虑效率 效果 阅读全文
摘要:
1 import cv2 as cv 2 import numpy as np 3 4 # 图片旋转 5 img = cv.imread('../images/face.jpg', flags=1) # flags=1读取为彩色,flags=0读取为灰度 6 h, w = img.shape[:2] 7 mat_rotate = cv.getRotationMatrix2D(c... 阅读全文