2018-03-04から1日間の記事一覧

Interface2017年05月号新画像処理101を読む

4-7 鏡に映したように変換する「左右反転映像」 img_src = cv2.imread("data/img_4-1.bmp") img_dst = cv2.flip(img_src,1) #描画する cv2.imshow("img_src",img_src) cv2.imshow("img_dst",img_dst) cv2.waitKey(0) cv2.destroyAllWindows()