3D-Deepbox icon indicating copy to clipboard operation
3D-Deepbox copied to clipboard

why do the "line[-1] = angle_offset +np.arctan(float(line[11]) / float(line[13]))" ??

Open SeoJaeMin opened this issue 6 years ago • 3 comments

I don't know why you using the kitti GT annotation during inference?? That term "line[11], line[13]" are from kitti GT annotation.

SeoJaeMin avatar Dec 10 '18 05:12 SeoJaeMin

i have the same question, and i wonder: we caculate translation T through yaw angle. But we obtain yaw through local_yaw (by network) + arctan(Tx/Tz). i am confused about that. or am i wrong?

yingsen1 avatar Dec 12 '18 02:12 yingsen1

In the test function of main.py, the predicted value is not used for evaluation. So, the result is confused and doubted.

marshallixp avatar Apr 13 '19 08:04 marshallixp

Maybe the original paper is the best answer. The paper shows that "theta = theta_ray + theta_l".theta is the yaw of the vehicle, theta_ray is arctan(X_camera_coordinate / Z_camera_coordinate),theta_l is the local orientation. So the angle_offset in the code refers to the theta_l, which is the result of CNN.

LC041336 avatar Sep 16 '19 03:09 LC041336