Overhead and time-space visualizer library for i24 motion.
Key:
- Press [spacebar] to pause/resume animation
run overhead_compare.py
to visualize ground truth, raw and reconciled collection together. GT is plotted in light grey.
parameters = {
"host": "<mongodb-host>",
"port": 27017,
"username": "<mongodb-username>",
"password": "<mongodb-password>"
}
gt = "groundtruth_scene_1"
raw = "sibilant_zebra--RAW_GT1" # collection name is the same in both databases
rec = "sibilant_zebra--RAW_GT1__lionizes"
framerate = 25
x_min = 0
x_max = 1500
offset = 0
duration = None
p = OverheadCompare(parameters,
collections = [gt, raw, rec],
framerate = framerate, x_min = x_min, x_max=x_max, offset = offset, duration=duration)
p.animate(save=False, extra="")
Results: