Plotting camera axis


Has anyone tried to plot the camera axis on a 3D world w.r.t ego vehicle like the image shown below? Can anyone suggest any approaches for the same from given extrinsic and intrinsic parameters?


Hi. Unfortunately we at Motional have not tried this, but it should be relatively easy using the extrinsics of the respective camera.