def main(): from optparse import OptionParser p = OptionParser() # p.add_option() p.set_defaults(guid=None) o, a = p.parse_args() cam = Camera(guid=o.guid) cam.power(True) setup(cam, mode=2, gain=0, bright=0, shutter=0.01) capture(cam, 10) cam.power(False)
def main(): from optparse import OptionParser p = OptionParser() # p.add_option() p.set_defaults(uid=None) o,a = p.parse_args() cam = Camera(o.uid) cam.power(True) info(cam) print() emva1288(cam, r=1000e3/20e-3) cam.power(False)
def main(): from optparse import OptionParser p = OptionParser() # p.add_option() p.set_defaults(uid=None) o, a = p.parse_args() cam = Camera(o.uid) cam.power(True) info(cam) print() emva1288(cam, r=1000e3 / 20e-3) cam.power(False)