[python] - Image Load&Show
- Language/Python
- 2013. 6. 10.
[주절주절]
- openCV 를 이용하여 영상처리를 하기위한 첫단계~
- cv.LoadImage()
- cv.ShowImage()
- cv.Waitkey()
[Sources Code]
# Date : 2013.06.10 # by vbflash print "test Image Load & Show OpenCV" # import openCV Library import cv2.cv as cv # because python 3.x version using cv2.function() # don't using cv2(maybe), don't you? # image = cv2.imread("test.jpg") # Example image = cv.LoadImage("test.jpg") cv.ShowImage("test", image); cv.WaitKey(0)
[첨부파일]
[실행결과]
'Language > Python' 카테고리의 다른 글
[Python] Python 2.7.5 Windows Install with OpenCV 2.4.3 (0) | 2013.06.09 |
---|