Mercurial > hg > nsaunier > traffic-intelligence
comparison trafficintelligence/storage.py @ 1257:e59a0a475a0a
removed bug with unnecessary data
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Wed, 03 Apr 2024 16:39:41 -0400 |
| parents | 56d0195d043e |
| children | 3d6ee243d5c0 158eee1aeb21 |
comparison
equal
deleted
inserted
replaced
| 1256:56d0195d043e | 1257:e59a0a475a0a |
|---|---|
| 1434 | 1434 |
| 1435 homImuCorners = cartesian2Homogeneous(imuCorners) | 1435 homImuCorners = cartesian2Homogeneous(imuCorners) |
| 1436 worldCorners = dot(Tr_imu_to_world, homImuCorners.T).T # 8x3 | 1436 worldCorners = dot(Tr_imu_to_world, homImuCorners.T).T # 8x3 |
| 1437 else: #LUMPI format | 1437 else: #LUMPI format |
| 1438 anno_list_temp = {} | 1438 anno_list_temp = {} |
| 1439 anno_list_temp['x_2d'] = r.xmin | 1439 #anno_list_temp['x_2d'] = r.xmin |
| 1440 anno_list_temp['y_2d'] = r.ymin | 1440 #anno_list_temp['y_2d'] = r.ymin |
| 1441 anno_list_temp['l_3d'] = r.l | 1441 anno_list_temp['l_3d'] = r.l |
| 1442 anno_list_temp['w_3d'] = r.w | 1442 anno_list_temp['w_3d'] = r.w |
| 1443 anno_list_temp['h_3d'] = r.h | 1443 anno_list_temp['h_3d'] = r.h |
| 1444 anno_list_temp['x_3d'] = r.x | 1444 anno_list_temp['x_3d'] = r.x |
| 1445 anno_list_temp['y_3d'] = r.y | 1445 anno_list_temp['y_3d'] = r.y |
