[python] - Image Load&Show

Author : 퓨림노 / Date : 2013.06.10 23:01 / Category : before/Develop

[주절주절]

  • 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)





[첨부파일]







[실행결과]






저작자 표시 비영리 동일 조건 변경 허락
신고

Tags : , ,

Blog Information

퓨림노

앞으로 블로그에 markdown+dropbox를 이용하여 포스팅 예정중!!

Search

Statistics

  • Total : 461,709
  • Today : 9
  • Yesterday : 78

Archives

Copyright © http://vbflash.net All Rights Reserved
Designed by CMSFactory.NET