how to filter an image opencv python code example Example: opencv load image python img = cv2.imread('filename.jpg',1)