windowsub0406 / KITTI_Tutorial

Tutorial for using Kitti dataset easily
424 stars 107 forks source link

3D tracklet issue (display_groundtruth.ipynb) #9

Closed timothylimyl closed 2 years ago

timothylimyl commented 4 years ago

Hey there,

There's an issue with your ground truth script. It links back to the parsing script, itertools.izip does not work. I changed it to zip (python2 -> python3) but then the main loop fails at:

for i, j in zip(tracklet2d, type_[frame]):
    for k in line_order:    
        cv2.line(image, (int(i[0][k[0]]), int(i[1][k[0]])), (int(i[0][k[1]]), int(i[1][k[1]])), type_c[j], 2)
timothylimyl commented 2 years ago

dead