记录一个视频文件

# We'll save a 5 second video record in /home/nao/naoqi/share/naoqi/vision visionToolboxProxy.startVideoRecord("test.avi") print "Video record started." time.sleep(5) videoInfo = visionToolboxProxy.stopVideoRecord() print "Video was saved on the robot: ", videoInfo[1] print "Num frames: ", videoInfo[0]





Copyright © 2010 Aldebaran-Robotics - 版权所有