Skip to content

Commit

Permalink
add image for showing
Browse files Browse the repository at this point in the history
  • Loading branch information
Hironsan committed Sep 13, 2016
1 parent 8ea7d0e commit b649e70
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion image_show.py
Expand Up @@ -2,7 +2,7 @@
import cv2


def show_image(image_path=''):
def show_image(image_path='pycharm.png'):
# 画像の読み込み
RGB = 1
img = cv2.imread(image_path, RGB)
Expand All @@ -16,3 +16,7 @@ def show_image(image_path=''):

# 作成したウィンドウを全て破棄
cv2.destroyAllWindows()


if __name__ == '__main__':
show_image()
Binary file added pycharm.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b649e70

Please sign in to comment.