# coding: utf8import numpy as npimport cv2# Load an color image in grayscaleimg = cv2.imread('sc.bmp',0)cv2.imshow('image',img)cv2.waitKey(0) # ждем нажатии кнопки