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

I COME BACK, hahaha

Open Patickk opened this issue 6 years ago • 10 comments

sorry ...come again, ..can you give the explain: how to get T ? if we don't get location T(tx, ty, tz), we can't get the rotation_y. Help me ...

Patickk avatar Aug 09 '18 09:08 Patickk

I just saw it now haha. What do you mean? The orientation our model predict can be directly converted to rotation_y. So we will use it to solve T.

fuenwang avatar Aug 17 '18 07:08 fuenwang

@fuenwang How to convert predict to rotation_y?

lucasjinreal avatar Oct 31 '18 06:10 lucasjinreal

@jinfagang https://github.com/fuenwang/3D-BoundingBox/blob/master/Eval.py#L70 This line is the rotation_y the model predict.

fuenwang avatar Oct 31 '18 07:10 fuenwang

@fuenwang The model predict is actually the local angle of object? Then How do I get the angle what I need to draw a 3d bounding box?

lucasjinreal avatar Oct 31 '18 07:10 lucasjinreal

image The theta in that link is the theta(red) in this figure, so it's already the global rotation of object, not local angle and it is the angle you need to plot 3D box.

fuenwang avatar Oct 31 '18 07:10 fuenwang

@fuenwang This is global angle, then the camera see object angle is local angle? I am so confused about thoese angles.

In the label file, what alpha stands for? it's the camera see angle? How to convert the label alpha for training label which predicts as the red angle?

lucasjinreal avatar Oct 31 '18 07:10 lucasjinreal

  1. Yes, camera sees local angle.

  2. Actually I'm not familiar with alpha either haha, but as far as I know, we can also infer local angle by it. The tensorflow implementation https://github.com/smallcorgi/3D-Deepbox/blob/master/data_processing.py seems using alpha to infer local angle, but I'm not sure how is this working. Maybe you can go through his code if you are interested in it.

fuenwang avatar Oct 31 '18 07:10 fuenwang

@fuenwang This project I have already tried, it doesn't work at all, the whole network doesn't converge and the ouput result is far away from precise. All the output seems the same and the alpha value can not be used.

Did your code can get precise dimensions and global angle?

lucasjinreal avatar Oct 31 '18 08:10 lucasjinreal

But his code got much more stars than mine haha.

My code can converge, you can check this closed issue https://github.com/fuenwang/3D-BoundingBox/issues/4 My final angle and dimension error is also in it, I think the error is reasonable.

fuenwang avatar Oct 31 '18 08:10 fuenwang

@fuenwang So you are actually using rotation_y in label as training labels rather than using alpha and convert it into a global angle?

Then your predict value is actually already the rotation_y, why still using centers to add a arctan of x and z coordinates?

lucasjinreal avatar Oct 31 '18 08:10 lucasjinreal