Skip to content

Instantly share code, notes, and snippets.

#用鏡頭訓練模型-拍照採樣 、初始設定P30,31
import cv2
import os
# 設定每人要拍幾張
NUM_IMAGES = 400
# 取得桌面路徑