Esempio n. 1
0
 def __init__(self, frames, filename, **kwargs):
     super(Recorder, self).__init__(**kwargs)
     self.frames = frames
     self.recorded = 0
     self.writer = open(filename, 'wb')
     self.oid = uuid.uuid1()
     self.kinect = KinectFactory.create_kinect()
Esempio n. 2
0
 def __init__(self, frames, filename, **kwargs):
     super(Recorder, self).__init__(**kwargs)
     self.frames = frames
     self.recorded = 0
     self.writer = open(filename, 'wb')
     self.oid = uuid.uuid1()
     self.kinect = KinectFactory.create_kinect()
Esempio n. 3
0
 def handleConnected(self):
     print self.address, 'connected'
     self.kinect = KinectFactory.create_kinect()
     self.oid = uuid.uuid1()
     self.kinect.add_observer(self.oid, self.send_depth)
Esempio n. 4
0
 def close_sig_handler(signum, frame):
     server.close()
     KinectFactory.kill()
     sys.exit()
Esempio n. 5
0
 def close_sig_handler(signum, frame):
     server.close()
     KinectFactory.kill()
     sys.exit()
Esempio n. 6
0
 def handleConnected(self):
     print self.address, 'connected'
     self.kinect = KinectFactory.create_kinect()
     self.oid = uuid.uuid1()
     self.kinect.add_observer(self.oid, self.send_depth)