Exemple #1
0
    def start_tracker(self):
        print "Starting the pipeline"
        if not hasattr(self, "pipeline"):
            self.pipeline = lightTrackerPipeline().getTrackerPipeline()

        self.pipeline.set_state(gst.STATE_PLAYING)
Exemple #2
0
    def __init__(self, loop, bus_name, object_path="/SomaTracker"):
        dbus.service.Object.__init__(self, bus_name, object_path)
        self.pipeline = lightTrackerPipeline().getTrackerPipeline()

        self.loop = loop