# -*- coding: utf-8 -*-
from VideoCapture import Device
interval = 2
cam = Device()
cam.saveSnapshot('./image.jpg')
Python3.4 .python2.7 均可使用
# -*- coding: utf-8 -*-
from VideoCapture import Device
interval = 2
cam = Device()
cam.saveSnapshot('./image.jpg')
Python3.4 .python2.7 均可使用