Created
May 21, 2012 08:47
-
-
Save romichi/2761247 to your computer and use it in GitHub Desktop.
openCVで画像を表示する
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding:utf-8 -*- | |
import cv2 | |
img = cv2.imread('test.png') #画像の読み込み | |
cv2.namedWindow('test') #windowの生成 | |
cv2.imshow('test', img) #画像の表示 | |
cv2.waitKey(0) #待機 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment