how to save image using cv2 in gui code example Example: cv show image python cv2.imshow('image',img) cv2.waitKey(0)