-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbackend_testing.py
More file actions
134 lines (104 loc) · 51 KB
/
backend_testing.py
File metadata and controls
134 lines (104 loc) · 51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
import json
import matplotlib.pyplot as plt
class DataUtils:
def __init__(self, jsonString, ref_list): #ref_list contains info for SCALING (coordinate1, coordinate2, physical distance betweent the two corrdinates)
self.time = []
self.ref_constant = self.getScaleConstant(ref_list[0], ref_list[1], ref_list[2])
self.coordinates = []
self.total_distance = []
self.distance_per_frame = []
self.displacement = []
self.velocity = []
self.acceleration = []
self.jsonData = self.getJSON(jsonString) #jsonData shoild be an array of dictionarys
self.normalized_velocity = []
self.normalized_acce = []
self.findDataPoints()
self.findDistance()
self.findVelocity()
self.findAcceleration()
self.findMovingAverageVelocity()
#self.findMovingAverageAcce()
def getJSON(self, jsonString):
dict = json.loads(json.dumps(jsonString))
return dict
def findDataPoints(self):
for frame in self.jsonData.get("frames"):
self.time.append(frame.get("time"))
x = (frame.get("right") + frame.get("left"))/2
y = (frame.get("bottom") + frame.get("top"))/2
self.coordinates.append([x, y])
def getScaleConstant(self, ref_one, ref_two, ref_dist):
return ref_dist / self.getCoordinateScale(ref_one, ref_two)
def getCoordinateScale(self, coordinate_one,coordinate_two):
return pow(pow((coordinate_one[0] - coordinate_two[0]), 2) + pow((coordinate_one[1] - coordinate_two[1]), 2), 0.5)
def findDistance(self): #WARNING: run findDistance 1 time only
for i in range(len(self.coordinates)):
if i == 0:
self.distance_per_frame.append(0)
self.total_distance.append(0)
else:
#EDITED HERE
frame_distance = self.ref_constant * self.getCoordinateScale(self.coordinates[i - 1], self.coordinates[i])
#distance_per_frame.append(frame_distance)
# if self.coordinates[i][1] < self.coordinates[i-1][1]:
# print("true")
# frame_distance = -1 * self.ref_constant * self.getCoordinateScale(self.coordinates[i - 1], self.coordinates[i])
# else:
#frame_distance = self.ref_constant * self.getCoordinateScale(self.coordinates[i - 1], self.coordinates[i])
self.distance_per_frame.append(frame_distance)
self.total_distance.append(frame_distance + self.total_distance[i - 1])
def findVelocity(self):
for i in range(len(self.distance_per_frame)):
if i == 0:
self.velocity.append(0) #Velocity might not be zero at the start
else:
self.velocity.append(self.distance_per_frame[i] / (self.time[i] - self.time[i - 1]))
def findAcceleration(self):
for i in range(len(self.distance_per_frame)):
if i == 0:
self.acceleration.append(0) #Velocity might not be zero at the start
else:
self.acceleration.append((self.velocity[i] - self.velocity[i - 1]) / pow((self.time[i] - self.time[i - 1]), 2))
def findMovingAverageVelocity(self):
x = 100
# for i in range(x + 1):
# athena = sum(self.vel)
# self.normalized_velocity.append(self.velocity[i])
# for i in range(x + 1, len(self.velocity) - x):
# anjali = sum([self.velocity[val] for val in range(i-x, i+x+1)]) / (2 * x + 1)
# print(anjali)
# self.normalized_velocity.append(anjali)
# for i in range(len(self.velocity) - x, len(self.velocity)):
# self.normalized_velocity.append(self.velocity[i])
self.normalized_velocity.append(self.velocity[0])
for i in range(1 , len(self.velocity)):
front = min(x, i)
back = min(x, len(self.velocity) - (i + 1))
anjali = sum([self.velocity[val] for val in range(i - front, i + back + 1)]) / (front + back + 1)
self.normalized_velocity.append(anjali)
def findMovingAverageAcce(self):
x = 10
# for i in range(x + 1):
# athena = sum(self.vel)
# self.normalized_velocity.append(self.velocity[i])
# for i in range(x + 1, len(self.velocity) - x):
# anjali = sum([self.velocity[val] for val in range(i-x, i+x+1)]) / (2 * x + 1)
# print(anjali)
# self.normalized_velocity.append(anjali)
# for i in range(len(self.velocity) - x, len(self.velocity)):
# self.normalized_velocity.append(self.velocity[i])
self.normalized_acce.append(self.acceleration[0])
for i in range(1 , len(self.acceleration)):
front = min(x, i)
back = min(x, len(self.acceleration) - (i + 1))
anjali = sum([self.acceleration[val] for val in range(i - front, i + back + 1)]) / (front + back + 1)
self.normalized_acce.append(anjali)
json_string = {"frames": [{"time": 0.10016, "left": 0.07517604529857635, "top": 0.24851511418819427, "right": 0.16755200922489166, "bottom": 0.3813386559486389}, {"time": 0.20032, "left": 0.07500027120113373, "top": 0.2486109733581543, "right": 0.16718807816505432, "bottom": 0.3819435238838196}, {"time": 0.30048, "left": 0.0749996080994606, "top": 0.2512838542461395, "right": 0.16718712449073792, "bottom": 0.3846171498298645}, {"time": 0.400641, "left": 0.07564438134431839, "top": 0.24838101863861084, "right": 0.1678318828344345, "bottom": 0.3817143440246582}, {"time": 0.500801, "left": 0.07957633584737778, "top": 0.24879993498325348, "right": 0.16594302654266357, "bottom": 0.38020312786102295}, {"time": 0.600961, "left": 0.07934197038412094, "top": 0.24718686938285828, "right": 0.16689977049827576, "bottom": 0.38113927841186523}, {"time": 0.701121, "left": 0.0825645923614502, "top": 0.2530876696109772, "right": 0.16693183779716492, "bottom": 0.37887251377105713}, {"time": 0.801282, "left": 0.08310423791408539, "top": 0.25295761227607727, "right": 0.16747860610485077, "bottom": 0.3792969584465027}, {"time": 0.901442, "left": 0.0831555426120758, "top": 0.2503523826599121, "right": 0.16822518408298492, "bottom": 0.38157278299331665}, {"time": 2.203525, "left": 0.08544894307851791, "top": 0.2520214915275574, "right": 0.1682526171207428, "bottom": 0.38059985637664795}, {"time": 2.3036849999999998, "left": 0.08593674749135971, "top": 0.2500031292438507, "right": 0.16874924302101135, "bottom": 0.37916886806488037}, {"time": 2.403846, "left": 0.08395379781723022, "top": 0.24867364764213562, "right": 0.17220768332481384, "bottom": 0.38131821155548096}, {"time": 2.504006, "left": 0.08620204031467438, "top": 0.251728892326355, "right": 0.16894489526748657, "bottom": 0.3795938789844513}, {"time": 2.604166, "left": 0.08702925592660904, "top": 0.25088971853256226, "right": 0.1702955812215805, "bottom": 0.37938934564590454}, {"time": 2.704326, "left": 0.08729182928800583, "top": 0.25288698077201843, "right": 0.17080959677696228, "bottom": 0.3794786334037781}, {"time": 2.804487, "left": 0.08598368614912033, "top": 0.2515745162963867, "right": 0.17044925689697266, "bottom": 0.38042500615119934}, {"time": 2.9046469999999998, "left": 0.08625893294811249, "top": 0.2531938850879669, "right": 0.16991037130355835, "bottom": 0.3795040249824524}, {"time": 3.004807, "left": 0.0863458439707756, "top": 0.25270000100135803, "right": 0.17051082849502563, "bottom": 0.38125666975975037}, {"time": 3.104967, "left": 0.08684378862380981, "top": 0.2526077330112457, "right": 0.171042799949646, "bottom": 0.38157975673675537}, {"time": 3.205128, "left": 0.08690735697746277, "top": 0.2515999972820282, "right": 0.17160633206367493, "bottom": 0.38145554065704346}, {"time": 3.305288, "left": 0.08741581439971924, "top": 0.2515943646430969, "right": 0.17181801795959473, "bottom": 0.3808189034461975}, {"time": 3.405448, "left": 0.08717922866344452, "top": 0.2521844804286957, "right": 0.1715565323829651, "bottom": 0.38135603070259094}, {"time": 3.505608, "left": 0.08901103585958481, "top": 0.2530297338962555, "right": 0.17239029705524445, "bottom": 0.3808436393737793}, {"time": 3.605769, "left": 0.0892549678683281, "top": 0.2545047402381897, "right": 0.17283082008361816, "bottom": 0.38228553533554077}, {"time": 3.7059290000000003, "left": 0.0885695070028305, "top": 0.2546638250350952, "right": 0.17309841513633728, "bottom": 0.38074707984924316}, {"time": 3.806089, "left": 0.08853233605623245, "top": 0.25439053773880005, "right": 0.17292018234729767, "bottom": 0.38075393438339233}, {"time": 3.90625, "left": 0.09184083342552185, "top": 0.25359606742858887, "right": 0.17328044772148132, "bottom": 0.3801161050796509}, {"time": 4.00641, "left": 0.09070006757974625, "top": 0.25026243925094604, "right": 0.17633116245269775, "bottom": 0.3809398412704468}, {"time": 4.10657, "left": 0.09166015684604645, "top": 0.25012800097465515, "right": 0.17790615558624268, "bottom": 0.3815564513206482}, {"time": 4.20673, "left": 0.09101957082748413, "top": 0.2472386509180069, "right": 0.17892909049987793, "bottom": 0.38152772188186646}, {"time": 4.306891, "left": 0.09266068041324615, "top": 0.2483825385570526, "right": 0.17838898301124573, "bottom": 0.3802880644798279}, {"time": 4.407051, "left": 0.09297290444374084, "top": 0.24866005778312683, "right": 0.17842069268226624, "bottom": 0.37994369864463806}, {"time": 4.507211, "left": 0.09282038360834122, "top": 0.24610412120819092, "right": 0.17928558588027954, "bottom": 0.3811412453651428}, {"time": 4.607371, "left": 0.09557358175516129, "top": 0.2514799237251282, "right": 0.17756223678588867, "bottom": 0.37865883111953735}, {"time": 4.7075320000000005, "left": 0.09672532230615616, "top": 0.2527655065059662, "right": 0.17678743600845337, "bottom": 0.3793879449367523}, {"time": 4.807692, "left": 0.09591103345155716, "top": 0.2505999803543091, "right": 0.17994636297225952, "bottom": 0.38168367743492126}, {"time": 4.907852, "left": 0.09316574782133102, "top": 0.24942097067832947, "right": 0.18061023950576782, "bottom": 0.3805353343486786}, {"time": 5.008012, "left": 0.09558052569627762, "top": 0.25001081824302673, "right": 0.17972305417060852, "bottom": 0.3795675039291382}, {"time": 5.108173, "left": 0.09680704772472382, "top": 0.25005096197128296, "right": 0.18055017292499542, "bottom": 0.38079994916915894}, {"time": 5.208333, "left": 0.09756205230951309, "top": 0.24859672784805298, "right": 0.1811683475971222, "bottom": 0.3791685402393341}, {"time": 5.308493, "left": 0.09828975051641464, "top": 0.24851426482200623, "right": 0.18318939208984375, "bottom": 0.37975481152534485}, {"time": 5.408653, "left": 0.10064178705215454, "top": 0.23717151582241058, "right": 0.18183280527591705, "bottom": 0.3842790126800537}, {"time": 5.508814, "left": 0.10117293894290924, "top": 0.24678030610084534, "right": 0.18326064944267273, "bottom": 0.3777272403240204}, {"time": 5.608974, "left": 0.10217945277690887, "top": 0.2423742711544037, "right": 0.18310990929603577, "bottom": 0.38237231969833374}, {"time": 5.709134, "left": 0.1029377281665802, "top": 0.24188925325870514, "right": 0.18416036665439606, "bottom": 0.3821430802345276}, {"time": 5.8092939999999995, "left": 0.10409650951623917, "top": 0.23791082203388214, "right": 0.18276748061180115, "bottom": 0.38395053148269653}, {"time": 5.909455, "left": 0.10456224530935287, "top": 0.23601266741752625, "right": 0.18344853818416595, "bottom": 0.3818635046482086}, {"time": 6.009615, "left": 0.10267750173807144, "top": 0.24253958463668823, "right": 0.1863049566745758, "bottom": 0.38089650869369507}, {"time": 6.109775, "left": 0.1036975160241127, "top": 0.22127988934516907, "right": 0.18574999272823334, "bottom": 0.38756585121154785}, {"time": 6.209935, "left": 0.10386043787002563, "top": 0.23619453608989716, "right": 0.18790534138679504, "bottom": 0.3789134621620178}, {"time": 6.310096, "left": 0.10496214032173157, "top": 0.2415456771850586, "right": 0.18798524141311646, "bottom": 0.38095492124557495}, {"time": 6.410256, "left": 0.1055678278207779, "top": 0.24144016206264496, "right": 0.18839788436889648, "bottom": 0.38037243485450745}, {"time": 6.510416, "left": 0.10519110411405563, "top": 0.2445676475763321, "right": 0.18887555599212646, "bottom": 0.383327454328537}, {"time": 6.610576, "left": 0.10596708953380585, "top": 0.24363264441490173, "right": 0.189568430185318, "bottom": 0.3825107216835022}, {"time": 6.710737, "left": 0.1071493923664093, "top": 0.24415162205696106, "right": 0.18954133987426758, "bottom": 0.38714951276779175}, {"time": 6.810897, "left": 0.107825368642807, "top": 0.2449398636817932, "right": 0.189887136220932, "bottom": 0.3879905343055725}, {"time": 6.911057, "left": 0.10849074274301529, "top": 0.2452000379562378, "right": 0.19052456319332123, "bottom": 0.38825517892837524}, {"time": 7.011217, "left": 0.1094837337732315, "top": 0.24694466590881348, "right": 0.19017323851585388, "bottom": 0.387478232383728}, {"time": 7.111378, "left": 0.10967379808425903, "top": 0.2466723769903183, "right": 0.19016093015670776, "bottom": 0.38697147369384766}, {"time": 7.211538, "left": 0.1092381402850151, "top": 0.24684607982635498, "right": 0.192428857088089, "bottom": 0.38830065727233887}, {"time": 7.311698, "left": 0.11006151884794235, "top": 0.24646078050136566, "right": 0.19290579855442047, "bottom": 0.38810962438583374}, {"time": 7.411858, "left": 0.10877200216054916, "top": 0.24913497269153595, "right": 0.1963234841823578, "bottom": 0.38618797063827515}, {"time": 7.5120190000000004, "left": 0.11300557851791382, "top": 0.25242942571640015, "right": 0.196305513381958, "bottom": 0.38515251874923706}, {"time": 7.612179, "left": 0.11434995383024216, "top": 0.2533676028251648, "right": 0.1984754502773285, "bottom": 0.38483723998069763}, {"time": 7.712339, "left": 0.11318804323673248, "top": 0.2526419758796692, "right": 0.20159181952476501, "bottom": 0.3858230710029602}, {"time": 7.8125, "left": 0.11707983911037445, "top": 0.25557488203048706, "right": 0.20031067728996277, "bottom": 0.3844814896583557}, {"time": 7.91266, "left": 0.11546976864337921, "top": 0.2550281286239624, "right": 0.2028551995754242, "bottom": 0.3854767382144928}, {"time": 8.01282, "left": 0.11539021134376526, "top": 0.2554999589920044, "right": 0.20366865396499634, "bottom": 0.38504165410995483}, {"time": 8.11298, "left": 0.11541654914617538, "top": 0.2545943260192871, "right": 0.20452117919921875, "bottom": 0.38561588525772095}, {"time": 8.213141, "left": 0.11604519188404083, "top": 0.25557103753089905, "right": 0.20670664310455322, "bottom": 0.3842763900756836}, {"time": 8.313301, "left": 0.1205543726682663, "top": 0.2576625943183899, "right": 0.20604854822158813, "bottom": 0.3830868601799011}, {"time": 8.413461, "left": 0.1175074428319931, "top": 0.25527486205101013, "right": 0.20850959420204163, "bottom": 0.38509702682495117}, {"time": 8.513621, "left": 0.1169065460562706, "top": 0.25500166416168213, "right": 0.2112870216369629, "bottom": 0.38472625613212585}, {"time": 8.613782, "left": 0.12006216496229172, "top": 0.255820631980896, "right": 0.2101556360721588, "bottom": 0.385185182094574}, {"time": 8.713942, "left": 0.11933086067438126, "top": 0.2559955418109894, "right": 0.2128497213125229, "bottom": 0.3874102830886841}, {"time": 8.814102, "left": 0.12291377782821655, "top": 0.2577008306980133, "right": 0.21208374202251434, "bottom": 0.3869403302669525}, {"time": 8.914262, "left": 0.12448513507843018, "top": 0.2583317458629608, "right": 0.21391651034355164, "bottom": 0.3878943920135498}, {"time": 9.014423, "left": 0.12628275156021118, "top": 0.25656768679618835, "right": 0.2162468582391739, "bottom": 0.3874353766441345}, {"time": 9.114583, "left": 0.13026994466781616, "top": 0.25868287682533264, "right": 0.2166319042444229, "bottom": 0.3860868811607361}, {"time": 9.214743, "left": 0.12806475162506104, "top": 0.2565246820449829, "right": 0.21912921965122223, "bottom": 0.38720187544822693}, {"time": 9.314903, "left": 0.13093657791614532, "top": 0.2572944760322571, "right": 0.21914713084697723, "bottom": 0.3864515721797943}, {"time": 9.415064, "left": 0.13034118711948395, "top": 0.2564575672149658, "right": 0.22174417972564697, "bottom": 0.3870003819465637}, {"time": 9.515224, "left": 0.1325998604297638, "top": 0.2573719322681427, "right": 0.2227734923362732, "bottom": 0.38582438230514526}, {"time": 9.615384, "left": 0.13776974380016327, "top": 0.25904953479766846, "right": 0.2222459316253662, "bottom": 0.3877990245819092}, {"time": 9.715544, "left": 0.13755683600902557, "top": 0.2588496506214142, "right": 0.22368627786636353, "bottom": 0.3881768584251404}, {"time": 9.815705, "left": 0.13885192573070526, "top": 0.258088618516922, "right": 0.22517243027687073, "bottom": 0.3881972134113312}, {"time": 9.915865, "left": 0.13963022828102112, "top": 0.2569410502910614, "right": 0.22529800236225128, "bottom": 0.3891126215457916}, {"time": 10.016025, "left": 0.13852936029434204, "top": 0.25308266282081604, "right": 0.22677573561668396, "bottom": 0.3909915089607239}, {"time": 10.116185, "left": 0.1415628343820572, "top": 0.2543133795261383, "right": 0.22680914402008057, "bottom": 0.3891400694847107}, {"time": 10.216346, "left": 0.14119520783424377, "top": 0.25341734290122986, "right": 0.2276236116886139, "bottom": 0.38985970616340637}, {"time": 10.316506, "left": 0.1464851349592209, "top": 0.25897037982940674, "right": 0.2274802029132843, "bottom": 0.3892788290977478}, {"time": 10.416666, "left": 0.1457931250333786, "top": 0.25437626242637634, "right": 0.23089072108268738, "bottom": 0.3910660743713379}, {"time": 10.516826, "left": 0.15132766962051392, "top": 0.25904014706611633, "right": 0.22987081110477448, "bottom": 0.38998526334762573}, {"time": 10.616987, "left": 0.1526651829481125, "top": 0.2598690688610077, "right": 0.2333119958639145, "bottom": 0.3921810984611511}, {"time": 10.717147, "left": 0.15453308820724487, "top": 0.26141947507858276, "right": 0.2350180745124817, "bottom": 0.39240044355392456}, {"time": 10.817307, "left": 0.15431204438209534, "top": 0.2634138762950897, "right": 0.23774170875549316, "bottom": 0.3933832049369812}, {"time": 10.917467, "left": 0.1552167534828186, "top": 0.26375460624694824, "right": 0.23976477980613708, "bottom": 0.39203131198883057}, {"time": 11.017628, "left": 0.1586414873600006, "top": 0.26516005396842957, "right": 0.23842430114746094, "bottom": 0.39163413643836975}, {"time": 11.117788000000001, "left": 0.15825384855270386, "top": 0.2632606029510498, "right": 0.24091175198554993, "bottom": 0.39312177896499634}, {"time": 11.217948, "left": 0.16091787815093994, "top": 0.2623186707496643, "right": 0.24337084591388702, "bottom": 0.39070916175842285}, {"time": 11.318108, "left": 0.16157390177249908, "top": 0.26100924611091614, "right": 0.24585208296775818, "bottom": 0.39036327600479126}, {"time": 11.418269, "left": 0.1619550883769989, "top": 0.25999128818511963, "right": 0.247048020362854, "bottom": 0.3904227912425995}, {"time": 11.518429, "left": 0.1624554544687271, "top": 0.26054647564888, "right": 0.24864140152931213, "bottom": 0.39052921533584595}, {"time": 11.618589, "left": 0.1605825275182724, "top": 0.2592925429344177, "right": 0.2527405321598053, "bottom": 0.39120376110076904}, {"time": 11.71875, "left": 0.1637537181377411, "top": 0.2610013484954834, "right": 0.25277507305145264, "bottom": 0.3898544907569885}, {"time": 11.81891, "left": 0.1654009073972702, "top": 0.2611490488052368, "right": 0.2538950443267822, "bottom": 0.39236462116241455}, {"time": 11.91907, "left": 0.17001257836818695, "top": 0.2629163861274719, "right": 0.2529326379299164, "bottom": 0.390344500541687}, {"time": 12.01923, "left": 0.17295348644256592, "top": 0.2617282271385193, "right": 0.2575010657310486, "bottom": 0.393851101398468}, {"time": 12.119391, "left": 0.1758391410112381, "top": 0.26128414273262024, "right": 0.26026153564453125, "bottom": 0.3939666152000427}, {"time": 12.219551, "left": 0.17930521070957184, "top": 0.26346051692962646, "right": 0.26157599687576294, "bottom": 0.39407017827033997}, {"time": 12.319711, "left": 0.1795664280653, "top": 0.26283860206604004, "right": 0.2635689675807953, "bottom": 0.3948361873626709}, {"time": 12.419871, "left": 0.18100608885288239, "top": 0.2618236839771271, "right": 0.26572373509407043, "bottom": 0.3951156437397003}, {"time": 12.520032, "left": 0.1817794293165207, "top": 0.26250025629997253, "right": 0.26751771569252014, "bottom": 0.39455777406692505}, {"time": 12.620192, "left": 0.18490548431873322, "top": 0.26375529170036316, "right": 0.26695936918258667, "bottom": 0.393319696187973}, {"time": 12.720352, "left": 0.18641667068004608, "top": 0.26419347524642944, "right": 0.26893848180770874, "bottom": 0.39407259225845337}, {"time": 12.820512, "left": 0.18576133251190186, "top": 0.2636210024356842, "right": 0.27318453788757324, "bottom": 0.3938286304473877}, {"time": 12.920673, "left": 0.18798403441905975, "top": 0.26492151618003845, "right": 0.27364638447761536, "bottom": 0.3932263255119324}, {"time": 13.020833, "left": 0.18941572308540344, "top": 0.26577943563461304, "right": 0.27545925974845886, "bottom": 0.39313793182373047}, {"time": 13.120993, "left": 0.19046983122825623, "top": 0.2629084587097168, "right": 0.2774020731449127, "bottom": 0.3951682448387146}, {"time": 13.221153, "left": 0.1928246170282364, "top": 0.26288145780563354, "right": 0.277858167886734, "bottom": 0.3966279923915863}, {"time": 13.321314, "left": 0.19269388914108276, "top": 0.26134559512138367, "right": 0.2819884419441223, "bottom": 0.39735811948776245}, {"time": 13.421474, "left": 0.19807466864585876, "top": 0.26184335350990295, "right": 0.2802865505218506, "bottom": 0.3984059989452362}, {"time": 13.521634, "left": 0.19748030602931976, "top": 0.26332879066467285, "right": 0.2839421033859253, "bottom": 0.39815595746040344}, {"time": 13.621794, "left": 0.2003447264432907, "top": 0.26310616731643677, "right": 0.28504708409309387, "bottom": 0.400600790977478}, {"time": 13.721955, "left": 0.20189745724201202, "top": 0.2640801966190338, "right": 0.2857794165611267, "bottom": 0.4005054831504822}, {"time": 13.822115, "left": 0.20464284718036652, "top": 0.26523709297180176, "right": 0.29012370109558105, "bottom": 0.39438068866729736}, {"time": 13.922274999999999, "left": 0.2076086550951004, "top": 0.26529598236083984, "right": 0.29088038206100464, "bottom": 0.3939076066017151}, {"time": 14.022435, "left": 0.20893555879592896, "top": 0.26509612798690796, "right": 0.2950470447540283, "bottom": 0.39456284046173096}, {"time": 14.122596, "left": 0.21070753037929535, "top": 0.26593032479286194, "right": 0.2966596484184265, "bottom": 0.3951221704483032}, {"time": 14.222756, "left": 0.21023136377334595, "top": 0.265609472990036, "right": 0.29920756816864014, "bottom": 0.39835044741630554}, {"time": 14.322916, "left": 0.21564170718193054, "top": 0.2665369510650635, "right": 0.29774290323257446, "bottom": 0.40141358971595764}, {"time": 14.423076, "left": 0.21329161524772644, "top": 0.2684957683086395, "right": 0.30286648869514465, "bottom": 0.4018327593803406}, {"time": 14.523237, "left": 0.21710391342639923, "top": 0.26837190985679626, "right": 0.30226778984069824, "bottom": 0.4033786356449127}, {"time": 14.623397, "left": 0.21928448975086212, "top": 0.26988059282302856, "right": 0.30409494042396545, "bottom": 0.4029756784439087}, {"time": 14.723557, "left": 0.22096818685531616, "top": 0.27059251070022583, "right": 0.3046433925628662, "bottom": 0.4037399888038635}, {"time": 14.823717, "left": 0.22037748992443085, "top": 0.2691691219806671, "right": 0.3076223134994507, "bottom": 0.40453535318374634}, {"time": 14.923878, "left": 0.2222849726676941, "top": 0.26929378509521484, "right": 0.3104466199874878, "bottom": 0.4030032753944397}, {"time": 15.024038, "left": 0.2242979109287262, "top": 0.27106961607933044, "right": 0.3124551475048065, "bottom": 0.4023047089576721}, {"time": 15.124198, "left": 0.22724249958992004, "top": 0.2717687785625458, "right": 0.31528550386428833, "bottom": 0.4026343822479248}, {"time": 15.224358, "left": 0.22665266692638397, "top": 0.2727351188659668, "right": 0.3199474811553955, "bottom": 0.40179869532585144}, {"time": 15.324519, "left": 0.2312326580286026, "top": 0.27361568808555603, "right": 0.31961947679519653, "bottom": 0.40236568450927734}, {"time": 15.424679, "left": 0.23352529108524323, "top": 0.27339571714401245, "right": 0.3209678828716278, "bottom": 0.40365374088287354}, {"time": 15.524839, "left": 0.237179696559906, "top": 0.27175986766815186, "right": 0.32240691781044006, "bottom": 0.4051690101623535}, {"time": 15.625, "left": 0.23659652471542358, "top": 0.2726854681968689, "right": 0.32505935430526733, "bottom": 0.4032667875289917}, {"time": 15.72516, "left": 0.23754705488681793, "top": 0.27282679080963135, "right": 0.32823801040649414, "bottom": 0.4038103520870209}, {"time": 15.82532, "left": 0.24397878348827362, "top": 0.27295440435409546, "right": 0.3283716142177582, "bottom": 0.40508121252059937}, {"time": 15.92548, "left": 0.24733346700668335, "top": 0.27230358123779297, "right": 0.33044445514678955, "bottom": 0.4054292142391205}, {"time": 16.025641, "left": 0.24907957017421722, "top": 0.2744731903076172, "right": 0.3337787091732025, "bottom": 0.4048795998096466}, {"time": 16.125801, "left": 0.2518525719642639, "top": 0.2740488648414612, "right": 0.33686593174934387, "bottom": 0.40571099519729614}, {"time": 16.225961, "left": 0.254831463098526, "top": 0.2733439803123474, "right": 0.3384076952934265, "bottom": 0.40613916516304016}, {"time": 16.326121, "left": 0.2563612461090088, "top": 0.2742363214492798, "right": 0.34050285816192627, "bottom": 0.40682363510131836}, {"time": 16.426282, "left": 0.2574404180049896, "top": 0.2758671045303345, "right": 0.3435811698436737, "bottom": 0.4055730402469635}, {"time": 16.526442, "left": 0.26136764883995056, "top": 0.2766552269458771, "right": 0.34558168053627014, "bottom": 0.4061545431613922}, {"time": 16.626602, "left": 0.26305121183395386, "top": 0.27699458599090576, "right": 0.3476947546005249, "bottom": 0.4054962396621704}, {"time": 16.726762, "left": 0.26685383915901184, "top": 0.27754783630371094, "right": 0.3484109342098236, "bottom": 0.40712153911590576}, {"time": 16.826923, "left": 0.26602524518966675, "top": 0.27643612027168274, "right": 0.3528974652290344, "bottom": 0.40752077102661133}, {"time": 16.927083, "left": 0.2671661972999573, "top": 0.2772229313850403, "right": 0.35713374614715576, "bottom": 0.40649279952049255}, {"time": 17.027243, "left": 0.2714444696903229, "top": 0.27779024839401245, "right": 0.3571971654891968, "bottom": 0.40738236904144287}, {"time": 17.127403, "left": 0.2737427353858948, "top": 0.27735382318496704, "right": 0.3590424656867981, "bottom": 0.4078028202056885}, {"time": 17.227564, "left": 0.2759106755256653, "top": 0.27714213728904724, "right": 0.3622545003890991, "bottom": 0.40795159339904785}, {"time": 17.327724, "left": 0.2783704996109009, "top": 0.2782105505466461, "right": 0.3637031316757202, "bottom": 0.4075138568878174}, {"time": 17.427884, "left": 0.28099358081817627, "top": 0.27927878499031067, "right": 0.36429154872894287, "bottom": 0.40857452154159546}, {"time": 17.528044, "left": 0.28439560532569885, "top": 0.27884629368782043, "right": 0.3656068444252014, "bottom": 0.4106665849685669}, {"time": 17.628205, "left": 0.2865314483642578, "top": 0.27977192401885986, "right": 0.36858704686164856, "bottom": 0.4101002514362335}, {"time": 17.728365, "left": 0.2902970314025879, "top": 0.28033891320228577, "right": 0.3693481683731079, "bottom": 0.4096974730491638}, {"time": 17.828525, "left": 0.29153063893318176, "top": 0.27926525473594666, "right": 0.3743264675140381, "bottom": 0.40973544120788574}, {"time": 17.928685, "left": 0.2945480942726135, "top": 0.2793819308280945, "right": 0.37627923488616943, "bottom": 0.40957725048065186}, {"time": 18.028846, "left": 0.29777368903160095, "top": 0.2772935926914215, "right": 0.37752148509025574, "bottom": 0.4116330146789551}, {"time": 18.129006, "left": 0.29808735847473145, "top": 0.2762344479560852, "right": 0.38171708583831787, "bottom": 0.41246819496154785}, {"time": 18.229166, "left": 0.3003683388233185, "top": 0.2778201103210449, "right": 0.3852938413619995, "bottom": 0.41130274534225464}, {"time": 18.329326000000002, "left": 0.30422163009643555, "top": 0.279496967792511, "right": 0.38570642471313477, "bottom": 0.41204869747161865}, {"time": 18.429487, "left": 0.3068788945674896, "top": 0.2811962962150574, "right": 0.3884640336036682, "bottom": 0.4117961525917053}, {"time": 18.529647, "left": 0.30574461817741394, "top": 0.27974629402160645, "right": 0.39475318789482117, "bottom": 0.4131288528442383}, {"time": 18.629807, "left": 0.3076465129852295, "top": 0.28036990761756897, "right": 0.3988964855670929, "bottom": 0.4130384922027588}, {"time": 18.729967, "left": 0.31025317311286926, "top": 0.28036585450172424, "right": 0.4008907675743103, "bottom": 0.41220808029174805}, {"time": 18.830128, "left": 0.3118291199207306, "top": 0.2792942225933075, "right": 0.4049457311630249, "bottom": 0.41393858194351196}, {"time": 18.930288, "left": 0.31802162528038025, "top": 0.2796287536621094, "right": 0.4025483727455139, "bottom": 0.4127962589263916}, {"time": 19.030448, "left": 0.32011616230010986, "top": 0.2814033329486847, "right": 0.40466439723968506, "bottom": 0.41306743025779724}, {"time": 19.130608, "left": 0.32361888885498047, "top": 0.281087726354599, "right": 0.4077624976634979, "bottom": 0.4158066511154175}, {"time": 19.230769, "left": 0.3255482316017151, "top": 0.28336259722709656, "right": 0.40990370512008667, "bottom": 0.4180845320224762}, {"time": 19.330929, "left": 0.3271988034248352, "top": 0.2831837236881256, "right": 0.4115721583366394, "bottom": 0.41790592670440674}, {"time": 19.431089, "left": 0.3321037292480469, "top": 0.28511616587638855, "right": 0.4128844738006592, "bottom": 0.41777732968330383}, {"time": 19.53125, "left": 0.334535151720047, "top": 0.2851282060146332, "right": 0.415029913187027, "bottom": 0.41840553283691406}, {"time": 19.63141, "left": 0.3366481065750122, "top": 0.2865469753742218, "right": 0.4184701442718506, "bottom": 0.4201323688030243}, {"time": 19.73157, "left": 0.3371880352497101, "top": 0.2895168662071228, "right": 0.42400360107421875, "bottom": 0.41954708099365234}, {"time": 19.83173, "left": 0.3394605219364166, "top": 0.2879742383956909, "right": 0.42618733644485474, "bottom": 0.4184861481189728}, {"time": 19.931891, "left": 0.34071090817451477, "top": 0.28967174887657166, "right": 0.4301692843437195, "bottom": 0.4171289801597595}, {"time": 20.032051, "left": 0.3448707163333893, "top": 0.2875003516674042, "right": 0.43157488107681274, "bottom": 0.42217546701431274}, {"time": 20.132211, "left": 0.3437930643558502, "top": 0.28831741213798523, "right": 0.43615928292274475, "bottom": 0.42105546593666077}, {"time": 20.232371, "left": 0.34630152583122253, "top": 0.28896549344062805, "right": 0.4394610524177551, "bottom": 0.42046794295310974}, {"time": 20.332532, "left": 0.35120460391044617, "top": 0.2898532450199127, "right": 0.43877822160720825, "bottom": 0.4200851321220398}, {"time": 20.432692, "left": 0.3563306927680969, "top": 0.2898769974708557, "right": 0.4409063458442688, "bottom": 0.42073506116867065}, {"time": 20.532852, "left": 0.3592759966850281, "top": 0.29012158513069153, "right": 0.4427798390388489, "bottom": 0.42143622040748596}, {"time": 20.633012, "left": 0.3646801710128784, "top": 0.29058313369750977, "right": 0.4430617392063141, "bottom": 0.4225694239139557}, {"time": 20.733173, "left": 0.3673431873321533, "top": 0.29066213965415955, "right": 0.4454897344112396, "bottom": 0.4226101040840149}, {"time": 20.833333, "left": 0.3726026713848114, "top": 0.29181039333343506, "right": 0.44902995228767395, "bottom": 0.422787070274353}, {"time": 20.933493, "left": 0.3751043975353241, "top": 0.28944721817970276, "right": 0.4546396732330322, "bottom": 0.4251372218132019}, {"time": 21.033653, "left": 0.37880659103393555, "top": 0.2900894582271576, "right": 0.45771118998527527, "bottom": 0.4238623380661011}, {"time": 21.133814, "left": 0.3826484978199005, "top": 0.2909846901893616, "right": 0.46104976534843445, "bottom": 0.4241673946380615}, {"time": 21.233974, "left": 0.38542985916137695, "top": 0.2902754247188568, "right": 0.46692413091659546, "bottom": 0.424845814704895}, {"time": 21.334134, "left": 0.3887614607810974, "top": 0.29111477732658386, "right": 0.4715374708175659, "bottom": 0.4240850806236267}, {"time": 21.434294, "left": 0.3913193941116333, "top": 0.2898907959461212, "right": 0.4749492108821869, "bottom": 0.4264012575149536}, {"time": 21.534455, "left": 0.3952878713607788, "top": 0.29239481687545776, "right": 0.4777996242046356, "bottom": 0.4264882206916809}, {"time": 21.634615, "left": 0.397763192653656, "top": 0.29233378171920776, "right": 0.4804494380950928, "bottom": 0.4270550012588501}, {"time": 21.734775, "left": 0.39607465267181396, "top": 0.2888196110725403, "right": 0.4868786931037903, "bottom": 0.4309954345226288}, {"time": 21.834935, "left": 0.4001862406730652, "top": 0.29212820529937744, "right": 0.4872230887413025, "bottom": 0.42994552850723267}, {"time": 21.935096, "left": 0.4027518033981323, "top": 0.2921391427516937, "right": 0.4891623258590698, "bottom": 0.4296943247318268}, {"time": 22.035256, "left": 0.4068076014518738, "top": 0.2923571765422821, "right": 0.49181121587753296, "bottom": 0.42728739976882935}, {"time": 22.135416, "left": 0.4098576605319977, "top": 0.2919321060180664, "right": 0.4948995113372803, "bottom": 0.42866167426109314}, {"time": 22.235576000000002, "left": 0.41286948323249817, "top": 0.2920381426811218, "right": 0.4980960488319397, "bottom": 0.42862728238105774}, {"time": 22.335737, "left": 0.4129900634288788, "top": 0.2913460433483124, "right": 0.5029056072235107, "bottom": 0.42892986536026}, {"time": 22.435897, "left": 0.41772496700286865, "top": 0.2930326461791992, "right": 0.5023131370544434, "bottom": 0.4269361197948456}, {"time": 22.536057, "left": 0.418941855430603, "top": 0.29418107867240906, "right": 0.5059784054756165, "bottom": 0.4273221492767334}, {"time": 22.636217, "left": 0.4180431663990021, "top": 0.2947652041912079, "right": 0.5121728777885437, "bottom": 0.42897361516952515}, {"time": 22.736378, "left": 0.4254489839076996, "top": 0.2970157563686371, "right": 0.5126898288726807, "bottom": 0.42979133129119873}, {"time": 22.836538, "left": 0.4311237335205078, "top": 0.2954147458076477, "right": 0.5157187581062317, "bottom": 0.432628870010376}, {"time": 22.936698, "left": 0.4341544508934021, "top": 0.29448527097702026, "right": 0.5185480713844299, "bottom": 0.4319610595703125}, {"time": 23.036858, "left": 0.4376230835914612, "top": 0.2978847324848175, "right": 0.5230820775032043, "bottom": 0.4329167604446411}, {"time": 23.137019, "left": 0.440512478351593, "top": 0.298689067363739, "right": 0.527094841003418, "bottom": 0.435066819190979}, {"time": 23.237179, "left": 0.44386035203933716, "top": 0.2992236912250519, "right": 0.5305676460266113, "bottom": 0.4353572130203247}, {"time": 23.337339, "left": 0.4466589391231537, "top": 0.30080774426460266, "right": 0.5333766937255859, "bottom": 0.43692076206207275}, {"time": 23.4375, "left": 0.44908958673477173, "top": 0.30012059211730957, "right": 0.535808265209198, "bottom": 0.4362318515777588}, {"time": 23.53766, "left": 0.45133399963378906, "top": 0.3025355041027069, "right": 0.5380527377128601, "bottom": 0.4386466145515442}, {"time": 23.63782, "left": 0.4539439082145691, "top": 0.30168741941452026, "right": 0.5406626462936401, "bottom": 0.43779852986335754}, {"time": 23.73798, "left": 0.4624970853328705, "top": 0.3003956377506256, "right": 0.5435152053833008, "bottom": 0.4370092749595642}, {"time": 23.838141, "left": 0.4670507311820984, "top": 0.30089786648750305, "right": 0.5484904646873474, "bottom": 0.43935221433639526}, {"time": 23.938301, "left": 0.46980270743370056, "top": 0.30175018310546875, "right": 0.5538089275360107, "bottom": 0.4392823576927185}, {"time": 24.038461, "left": 0.470204621553421, "top": 0.3004343807697296, "right": 0.5591363906860352, "bottom": 0.4398720860481262}, {"time": 24.138621, "left": 0.4743298888206482, "top": 0.30284836888313293, "right": 0.5611074566841125, "bottom": 0.4373428523540497}, {"time": 24.238782, "left": 0.47804880142211914, "top": 0.30335041880607605, "right": 0.56451815366745, "bottom": 0.4386163353919983}, {"time": 24.338942, "left": 0.4819604158401489, "top": 0.30523744225502014, "right": 0.5669453144073486, "bottom": 0.43766939640045166}, {"time": 24.439102, "left": 0.48633792996406555, "top": 0.30464330315589905, "right": 0.5685610771179199, "bottom": 0.4422033131122589}, {"time": 24.539262, "left": 0.48908451199531555, "top": 0.3064841330051422, "right": 0.5711311101913452, "bottom": 0.44210803508758545}, {"time": 24.639423, "left": 0.4883647859096527, "top": 0.30570387840270996, "right": 0.5774421095848083, "bottom": 0.4442596733570099}, {"time": 24.739583, "left": 0.4897257089614868, "top": 0.3063125014305115, "right": 0.5839657783508301, "bottom": 0.44223684072494507}, {"time": 24.839743, "left": 0.4971560537815094, "top": 0.3050934672355652, "right": 0.588366687297821, "bottom": 0.4394412040710449}, {"time": 24.939903, "left": 0.4988471567630768, "top": 0.3041016459465027, "right": 0.5944796204566956, "bottom": 0.4392707049846649}, {"time": 25.040064, "left": 0.5017473101615906, "top": 0.30475547909736633, "right": 0.5974273681640625, "bottom": 0.43947577476501465}, {"time": 25.140224, "left": 0.5073466897010803, "top": 0.30569955706596375, "right": 0.5983447432518005, "bottom": 0.4433023929595947}, {"time": 25.240384, "left": 0.5104765295982361, "top": 0.3071490228176117, "right": 0.6009146571159363, "bottom": 0.443767249584198}, {"time": 25.340544, "left": 0.5113974809646606, "top": 0.3083396852016449, "right": 0.6038570404052734, "bottom": 0.4458187520503998}, {"time": 25.440705, "left": 0.516107439994812, "top": 0.3106253743171692, "right": 0.6047737002372742, "bottom": 0.44314366579055786}, {"time": 25.540865, "left": 0.5192664861679077, "top": 0.31094709038734436, "right": 0.6066279411315918, "bottom": 0.44307905435562134}, {"time": 25.641025, "left": 0.5222272872924805, "top": 0.31079816818237305, "right": 0.6096480488777161, "bottom": 0.443803071975708}, {"time": 25.741185, "left": 0.5247476100921631, "top": 0.3110884428024292, "right": 0.6147243976593018, "bottom": 0.4443810284137726}, {"time": 25.841346, "left": 0.5299062132835388, "top": 0.310764342546463, "right": 0.6186161041259766, "bottom": 0.4463571310043335}, {"time": 25.941506, "left": 0.536293089389801, "top": 0.31297922134399414, "right": 0.6232625246047974, "bottom": 0.44824159145355225}, {"time": 26.041666, "left": 0.5357850790023804, "top": 0.31083109974861145, "right": 0.633049488067627, "bottom": 0.4514247477054596}, {"time": 26.141826000000002, "left": 0.5405576229095459, "top": 0.3145507276058197, "right": 0.6341580152511597, "bottom": 0.4490993618965149}, {"time": 26.241987, "left": 0.5410179495811462, "top": 0.31021246314048767, "right": 0.6436639428138733, "bottom": 0.44934308528900146}, {"time": 26.342147, "left": 0.547832727432251, "top": 0.3154972791671753, "right": 0.6442872285842896, "bottom": 0.4464409351348877}, {"time": 26.442307, "left": 0.5459129214286804, "top": 0.3062765896320343, "right": 0.6519444584846497, "bottom": 0.45361173152923584}, {"time": 26.542467, "left": 0.5522250533103943, "top": 0.3133014142513275, "right": 0.6510412693023682, "bottom": 0.45026087760925293}, {"time": 26.642628, "left": 0.5536369681358337, "top": 0.31618162989616394, "right": 0.653882622718811, "bottom": 0.45021355152130127}, {"time": 26.742788, "left": 0.558598518371582, "top": 0.3189021944999695, "right": 0.6546040177345276, "bottom": 0.45123714208602905}, {"time": 26.842948, "left": 0.5676493048667908, "top": 0.3205130696296692, "right": 0.6526162624359131, "bottom": 0.45237237215042114}, {"time": 26.943108, "left": 0.5724623799324036, "top": 0.3222874402999878, "right": 0.6547233462333679, "bottom": 0.4524133801460266}, {"time": 27.043269, "left": 0.5761030912399292, "top": 0.3229272961616516, "right": 0.6595584154129028, "bottom": 0.45281821489334106}, {"time": 27.143429, "left": 0.5752643942832947, "top": 0.3218761682510376, "right": 0.6667596101760864, "bottom": 0.4535365700721741}, {"time": 27.243589, "left": 0.5806074142456055, "top": 0.3227936625480652, "right": 0.669785737991333, "bottom": 0.45562928915023804}, {"time": 27.34375, "left": 0.5841229557991028, "top": 0.32524916529655457, "right": 0.6747326850891113, "bottom": 0.45576220750808716}, {"time": 27.44391, "left": 0.5894718766212463, "top": 0.324080228805542, "right": 0.6776559352874756, "bottom": 0.4585267901420593}, {"time": 27.54407, "left": 0.5952327847480774, "top": 0.32474443316459656, "right": 0.6800185441970825, "bottom": 0.45743006467819214}, {"time": 27.64423, "left": 0.5978119373321533, "top": 0.32381728291511536, "right": 0.6846987009048462, "bottom": 0.45784416794776917}, {"time": 27.744391, "left": 0.6007381081581116, "top": 0.3212409019470215, "right": 0.6900743246078491, "bottom": 0.4587388038635254}, {"time": 27.844551, "left": 0.6064034700393677, "top": 0.32314449548721313, "right": 0.6904839277267456, "bottom": 0.4574284553527832}, {"time": 27.944711, "left": 0.6105784773826599, "top": 0.3212147653102875, "right": 0.6920876502990723, "bottom": 0.4592926502227783}, {"time": 28.044871, "left": 0.6147564053535461, "top": 0.32074716687202454, "right": 0.6955921053886414, "bottom": 0.459977388381958}, {"time": 28.145032, "left": 0.6176096796989441, "top": 0.32184478640556335, "right": 0.7017433047294617, "bottom": 0.46337586641311646}, {"time": 28.245192, "left": 0.6208249926567078, "top": 0.32168954610824585, "right": 0.7051796913146973, "bottom": 0.4633447825908661}, {"time": 28.345352, "left": 0.6242678165435791, "top": 0.32388222217559814, "right": 0.7111606597900391, "bottom": 0.4618648886680603}, {"time": 28.445512, "left": 0.6285927295684814, "top": 0.3266700208187103, "right": 0.7161391973495483, "bottom": 0.4617447257041931}, {"time": 28.545673, "left": 0.6316958069801331, "top": 0.3290768563747406, "right": 0.7227531671524048, "bottom": 0.4630293846130371}, {"time": 28.645833, "left": 0.6361652612686157, "top": 0.3297622799873352, "right": 0.7287729382514954, "bottom": 0.46330296993255615}, {"time": 28.745993, "left": 0.6417043209075928, "top": 0.32978513836860657, "right": 0.7313740253448486, "bottom": 0.4638287425041199}, {"time": 28.846153, "left": 0.6461375951766968, "top": 0.32978421449661255, "right": 0.735514760017395, "bottom": 0.4649326205253601}, {"time": 28.946314, "left": 0.6514444947242737, "top": 0.33354008197784424, "right": 0.7354103922843933, "bottom": 0.4641883671283722}, {"time": 29.046474, "left": 0.6567963361740112, "top": 0.3337036073207855, "right": 0.7367147207260132, "bottom": 0.4639950096607208}, {"time": 29.146634, "left": 0.6606845259666443, "top": 0.333492249250412, "right": 0.7430050373077393, "bottom": 0.467430055141449}, {"time": 29.246794, "left": 0.6638416647911072, "top": 0.3351137042045593, "right": 0.7485343217849731, "bottom": 0.46717143058776855}, {"time": 29.346955, "left": 0.6656038761138916, "top": 0.3353188931941986, "right": 0.756067156791687, "bottom": 0.4701674282550812}, {"time": 29.447115, "left": 0.6705940961837769, "top": 0.336954802274704, "right": 0.7606210708618164, "bottom": 0.4711722731590271}, {"time": 29.547275, "left": 0.6755625605583191, "top": 0.3379119038581848, "right": 0.7651107311248779, "bottom": 0.47091835737228394}, {"time": 29.647435, "left": 0.6805642247200012, "top": 0.33691227436065674, "right": 0.7673534154891968, "bottom": 0.47155892848968506}, {"time": 29.747596, "left": 0.6829845905303955, "top": 0.3356211185455322, "right": 0.7710247039794922, "bottom": 0.472918301820755}, {"time": 29.847756, "left": 0.6860548853874207, "top": 0.3376966118812561, "right": 0.7733877897262573, "bottom": 0.47190535068511963}, {"time": 29.947916, "left": 0.6894521713256836, "top": 0.3375336527824402, "right": 0.7748995423316956, "bottom": 0.47190868854522705}, {"time": 30.048076, "left": 0.6923638582229614, "top": 0.3390747010707855, "right": 0.7775444984436035, "bottom": 0.47376781702041626}, {"time": 30.148237, "left": 0.6958368420600891, "top": 0.3355881869792938, "right": 0.7832232713699341, "bottom": 0.47582292556762695}, {"time": 30.248397, "left": 0.6988241672515869, "top": 0.33606788516044617, "right": 0.7881057262420654, "bottom": 0.4758737087249756}, {"time": 30.348557, "left": 0.7005325555801392, "top": 0.33584490418434143, "right": 0.7951492071151733, "bottom": 0.4755951166152954}, {"time": 30.448717, "left": 0.7035915851593018, "top": 0.33533716201782227, "right": 0.8009159564971924, "bottom": 0.47854501008987427}, {"time": 30.548878, "left": 0.708378255367279, "top": 0.3394578993320465, "right": 0.8091566562652588, "bottom": 0.4775809347629547}, {"time": 30.649038, "left": 0.7149060964584351, "top": 0.34235021471977234, "right": 0.810357928276062, "bottom": 0.4784959852695465}, {"time": 30.749198, "left": 0.7198225259780884, "top": 0.3431057035923004, "right": 0.815540075302124, "bottom": 0.48118340969085693}, {"time": 30.849358, "left": 0.7234122157096863, "top": 0.34783488512039185, "right": 0.8198388814926147, "bottom": 0.47872689366340637}, {"time": 30.949519, "left": 0.7228798270225525, "top": 0.3465544581413269, "right": 0.8266067504882812, "bottom": 0.4817465543746948}, {"time": 31.049679, "left": 0.7257468700408936, "top": 0.34642505645751953, "right": 0.8292779326438904, "bottom": 0.4830667972564697}, {"time": 31.149839, "left": 0.7284024953842163, "top": 0.3483291268348694, "right": 0.8321399688720703, "bottom": 0.48323073983192444}, {"time": 31.25, "left": 0.7297804951667786, "top": 0.3482552766799927, "right": 0.8378535509109497, "bottom": 0.48425155878067017}, {"time": 31.35016, "left": 0.7330737113952637, "top": 0.3490951955318451, "right": 0.83922278881073, "bottom": 0.48222029209136963}, {"time": 31.45032, "left": 0.7346253991127014, "top": 0.3470708131790161, "right": 0.843451976776123, "bottom": 0.48346060514450073}, {"time": 31.55048, "left": 0.74692302942276, "top": 0.3477172255516052, "right": 0.8449054956436157, "bottom": 0.48596513271331787}, {"time": 31.650641, "left": 0.7505872845649719, "top": 0.3489794135093689, "right": 0.8513643741607666, "bottom": 0.4859287142753601}, {"time": 31.750801, "left": 0.757468044757843, "top": 0.3503304123878479, "right": 0.8553839325904846, "bottom": 0.48551303148269653}, {"time": 31.850961, "left": 0.763883113861084, "top": 0.35215774178504944, "right": 0.859667956829071, "bottom": 0.48679590225219727}, {"time": 31.951121, "left": 0.7685151696205139, "top": 0.35431164503097534, "right": 0.8639678955078125, "bottom": 0.4884456396102905}, {"time": 32.051282, "left": 0.7766521573066711, "top": 0.3543188273906708, "right": 0.8656315207481384, "bottom": 0.48996198177337646}, {"time": 32.151442, "left": 0.7824950814247131, "top": 0.35613295435905457, "right": 0.8674911260604858, "bottom": 0.48868614435195923}, {"time": 32.251602, "left": 0.7879167795181274, "top": 0.35771429538726807, "right": 0.8730948567390442, "bottom": 0.4898444414138794}, {"time": 32.351762, "left": 0.7913640737533569, "top": 0.3570612072944641, "right": 0.8773614168167114, "bottom": 0.4909241497516632}, {"time": 32.451923, "left": 0.7950657606124878, "top": 0.3576115369796753, "right": 0.8801760077476501, "bottom": 0.49186891317367554}, {"time": 32.552083, "left": 0.7961978912353516, "top": 0.35763677954673767, "right": 0.8857176303863525, "bottom": 0.49126744270324707}, {"time": 32.652243, "left": 0.799778401851654, "top": 0.35641545057296753, "right": 0.8917205929756165, "bottom": 0.4915008544921875}, {"time": 32.752403, "left": 0.8068419694900513, "top": 0.359790176153183, "right": 0.8937405943870544, "bottom": 0.4911113977432251}, {"time": 32.852564, "left": 0.8076090812683105, "top": 0.35730189085006714, "right": 0.9001427888870239, "bottom": 0.494140625}, {"time": 32.952724, "left": 0.8099859952926636, "top": 0.35652413964271545, "right": 0.9049228429794312, "bottom": 0.4968538284301758}, {"time": 33.052884, "left": 0.8138843774795532, "top": 0.3570670783519745, "right": 0.9091651439666748, "bottom": 0.49734923243522644}, {"time": 33.153044, "left": 0.8167290091514587, "top": 0.35605451464653015, "right": 0.9137054681777954, "bottom": 0.4996698796749115}, {"time": 33.253205, "left": 0.8261871337890625, "top": 0.3596031963825226, "right": 0.9147858023643494, "bottom": 0.49777743220329285}, {"time": 33.353365, "left": 0.8318004012107849, "top": 0.36046740412712097, "right": 0.9206470847129822, "bottom": 0.4989639222621918}, {"time": 33.453525, "left": 0.8341923952102661, "top": 0.35767224431037903, "right": 0.9262986779212952, "bottom": 0.5019948482513428}, {"time": 33.553685, "left": 0.8391678929328918, "top": 0.36040323972702026, "right": 0.9303086996078491, "bottom": 0.5008639097213745}, {"time": 33.653846, "left": 0.8472573161125183, "top": 0.36103153228759766, "right": 0.9327903985977173, "bottom": 0.5020027160644531}, {"time": 33.754006, "left": 0.8536821007728577, "top": 0.36381763219833374, "right": 0.9362433552742004, "bottom": 0.5013285279273987}, {"time": 33.854166, "left": 0.8544618487358093, "top": 0.3651461899280548, "right": 0.9459074139595032, "bottom": 0.5028900504112244}, {"time": 33.954326, "left": 0.8581295013427734, "top": 0.36421582102775574, "right": 0.949539065361023, "bottom": 0.5017362833023071}, {"time": 34.054487, "left": 0.864385724067688, "top": 0.3647780120372772, "right": 0.9536465406417847, "bottom": 0.5060602426528931}, {"time": 34.154647, "left": 0.8675608038902283, "top": 0.3654189705848694, "right": 0.9593148231506348, "bottom": 0.5093873143196106}, {"time": 34.254807, "left": 0.8733093738555908, "top": 0.36696991324424744, "right": 0.9629847407341003, "bottom": 0.508144736289978}, {"time": 34.354967, "left": 0.8752660751342773, "top": 0.3668353259563446, "right": 0.9692518711090088, "bottom": 0.5083928108215332}, {"time": 34.455128, "left": 0.8807825446128845, "top": 0.368768572807312, "right": 0.9736337065696716, "bottom": 0.5077642798423767}, {"time": 34.555288, "left": 0.8859118819236755, "top": 0.37048429250717163, "right": 0.9789795875549316, "bottom": 0.5072551965713501}, {"time": 34.655448, "left": 0.8898364901542664, "top": 0.3702886700630188, "right": 0.9828134775161743, "bottom": 0.5064548254013062}, {"time": 34.755608, "left": 0.896341860294342, "top": 0.3695167899131775, "right": 0.9866579174995422, "bottom": 0.5108875632286072}, {"time": 34.855769, "left": 0.8983348608016968, "top": 0.3685346841812134, "right": 0.9930412769317627, "bottom": 0.5135278701782227}, {"time": 34.955929, "left": 0.9035754799842834, "top": 0.37026163935661316, "right": 0.9954034686088562, "bottom": 0.5145523548126221}, {"time": 35.056089, "left": 0.9060627222061157, "top": 0.3707977831363678, "right": 0.9988971948623657, "bottom": 0.5159861445426941}, {"time": 35.15625, "left": 0.9138146042823792, "top": 0.3729322850704193, "right": 0.998863160610199, "bottom": 0.5138548612594604}, {"time": 35.25641, "left": 0.9162196516990662, "top": 0.37130263447761536, "right": 1.0005296468734741, "bottom": 0.5151534080505371}, {"time": 35.35657, "left": 0.9187964797019958, "top": 0.37022924423217773, "right": 1.0013010501861572, "bottom": 0.516648530960083}, {"time": 35.45673, "left": 0.9251407384872437, "top": 0.3680594265460968, "right": 1.0001697540283203, "bottom": 0.5203942656517029}, {"time": 35.556891, "left": 0.9285692572593689, "top": 0.36935460567474365, "right": 1.000684142112732, "bottom": 0.522756814956665}]}
ref_list = [[0.121, 0.215], [0.9645, 0.446], 0.60]
test = DataUtils(json_string, ref_list)
#print(len(test.time))
print('time', len(test.time), "velo", len(test.normalized_velocity))
plt.plot(test.time, test.normalized_velocity)
#print(test.velocity)
plt.show()