waitKey()中的參數單位是毫秒,代表每一張圖片所停留的時間,一般設定為25 if cv.waitKey(25) & 0xFF == ord('q'): break else: break return image_path , video_path.
確定! 回上一頁