Recording an .arv video file (beta)

For a given GVM, you can record at any time, in the video device native flow format, the images currently accessed by the GVM. Let's do it in Python for Telepathe...

# First launch Telepathe and display NaoCam images camProxy = ALProxy("ALVideoDevice", IP, PORT) nameId = "telepathe_videoModule" numberOfImagesToRecord = 100 period = 2 success = camProxy.recordVideo(nameId, "/home/nao/naoqi/myFile", numberOfImagesToRecord, period) # This will record 100 images in myFile.arv at half the framerate of Telepathe. # Stop grabbing camProxy.stopVideo()





Copyright © 2010 Aldebaran-Robotics - All rights reserved