摘要: 1.rot_mat = cv2.getRotationMatrix2D(center, -5, 1) 参数说明:center表示中间点的位置,-5表示逆时针旋转5度,1表示进行等比列的缩放 2. cv2.warpAffine(img, rot_mat, (img.shape[1], img.shap 阅读全文
posted @ 2019-06-01 14:49 python我的最爱 阅读(16724) 评论(0) 推荐(0) 编辑