def cv_show(name, img):
import cv2
cv2.imshow(name, img)
key = cv2.waitKey(0)
if key & 0xFF == ord('q'):
cv2.destroyAllWindows()
def cv_show(name, img):
import cv2
cv2.imshow(name, img)
key = cv2.waitKey(0)
if key & 0xFF == ord('q'):
cv2.destroyAllWindows()