HaozheQi / P2B

P2B: Point-to-Box Network for 3D Object Tracking in Point Clouds
189 stars 36 forks source link

point cloud and boxes visualization #10

Closed WangZhouTao closed 4 years ago

WangZhouTao commented 4 years ago

Hi, thank you for your good work. I try to visualize the model output of PCB. I employ mayavi to visualize candidate_PCs and BBs[I] in test_tracking.pyhttps://github.com/HaozheQi/P2B/blob/ccac70ffad40a1f9b21c617223bfd0c04e2d4359/test_tracking.py. But there were some problems with the results, the box didn't align with the point cloud. Is there any transformation involved? image I look forward to your reply.

HaozheQi commented 4 years ago

Hi, @WangZhouTao .

I think you got this problem because the points were normalized while the box was the initial one. When you normalize the point cloud, the box should be changed accrodingly. The code there may give you a reference.

Hope this can sovle your problem.

WangZhouTao commented 4 years ago

Thank you for your advice. I have solved the problem.