cv2可刪

青岛programmer發表於2024-04-05

def cv_show(name, img):

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

相關文章