示例#1
0
from zoo import Zoo
from time import sleep
import json

z = Zoo()


with open('./data/04_rgb_vertical_lines.json') as data_file:
  data = json.load(data_file)

while True:
  for frame in data['data']:
    z.set_frame(frame)
    z.send_frame()
示例#2
0
from zoo import Zoo
from time import sleep
import json

z = Zoo()

with open('./data/04_rgb_vertical_lines.json') as data_file:
    data = json.load(data_file)

while True:
    for frame in data['data']:
        z.set_frame(frame)
        z.send_frame()