printing a section of image in cv2 code example Example: how to print image with cv2 cv2.imshow('image',img) cv2.waitKey(0)