Example #1
0
def trackingLoop(sender):
    #Input of the PCB stuff
    while(1):
        if not noTracking:
            a = trackingObject.getFrame()
            if a is not None:
                sender.emit("tracking_frame",json.dumps(a))
Example #2
0
def trackingLoop(sender):
    #Input of the PCB stuff
    while (1):
        if not noTracking:
            a = trackingObject.getFrame()
            if a is not None:
                sender.emit("tracking_frame", json.dumps(a))
Example #3
0
def trackingLoop(sender):
    if demoFrame is  None:
        trackingObject.connect()
    while(1):
        if demoFrame is not None:
            sender.emit("tracking_frame",json.dumps(demoFrame))
        else:
            a = trackingObject.getFrame()
            sender.emit("tracking_frame",json.dumps(a))