introduced openCV and numpy to some extent import cv2 as cv import numpy as np imread example: img = cv.imread('reflections.jpg') imwrite example: cv.imwrite('outfile.jpg, img) # display an image and wait for a key to be pressed cv.imshow('Input img', img) cv.waitKey(0) cv.destroyAllWindows() cv.filter2D examples: mask1 = np.array([[.1,.1,.1],[.1,.2,.1],[.1,.1,.1]]) filteredimg = cv.filter2D(img, -1, mask1) blurimg3 = cv.GaussianBlur(img, [11,11], 4) OR: smoothmask2 = cv.getGaussianKernel(11,4) smoothmask2 = smoothmask2.transpose() * smoothmask2 imgblurred = cv.filter2D(img, -1, smoothmask2) showed numpy stuff: img.shape img.dtype img.size img[:100,:100] = 255 # makes each pixel in top left corner 10000 pixels all 255,255,255 img[:100,:100] = np.array([20,30,60]) 2 dtypes: float64, uint8