You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for releasing this awesome Boreas Dataset.
I have recently attempted visualization using the code provided below. The attached video demonstrates the output result. I am puzzled by the persistent shaking of the radar image. It seems that I may have overlooked some crucial details, but I am uncertain about what they could be. I would greatly appreciate your assistance in addressing this issue. Thank you very much.
importmatplotlib.pyplotaspltimportmatplotlib.transformsasmtfimportnumpyasnpimportcv2frompyboreasimportBoreasDatasetfrompyboreas.data.splitsimportobj_train, obj_test, obj_samplefrompyboreas.utils.utilsimportget_inverse_tfbd=BoreasDataset('/data/Boreas/', split=obj_train)
seq=bd.sequences[10] ## ** Try different sequences!seq.filter_frames_gt()
#seq.synchronize_frames('lidar')#print(seq.radar_frames)bounds= [-75, 75, -75, 75, -5, 10]
index=4## ** Try different indices in the sequence!forindexinrange(len(seq.radar_frames)):
rad=seq.get_radar(index)
radar_cart=rad.polar_to_cart(0.25, 1000) # from polar to cartesian radar_cart=cv2.addWeighted(radar_cart, 1, radar_cart, 1, 0) # use to enhance the brightnesscv2.imshow("radar", radar_cart)
cv2.waitKey(10)
2023-07-12.12-25-31.mp4
The text was updated successfully, but these errors were encountered:
Hmm, I think the issue is that the polar_to_cart function is trying to work with the azimuth values stored in the polar image files. However, I remember that these were slightly corrupted during the boreas-objects-v1 sequence due to the images being compressed using a lossy compression. I have since replaced the lossy compression with a lossless image format.
For all the sequences other than boreas-objects-v1, this shouldn't be a problem.
For a better fix, you could try and fit a linear slope to the azimuth value vs. row index and then use the corrected azimuth values in the polar_to_cart function.
I have some code for correcting timestamps that you may find useful:
Thank you for your reply. I will give it a try, and if I come across any new findings, I will report them here. Many thanks!
(I have tested the other sequences, and they appear to be functioning well. The results are consistent and correct, as you mentioned previously. )
For all the sequences other than boreas-objects-v1, this shouldn't be a problem.
Hi, thanks for releasing this awesome Boreas Dataset.
I have recently attempted visualization using the code provided below. The attached video demonstrates the output result. I am puzzled by the persistent shaking of the radar image. It seems that I may have overlooked some crucial details, but I am uncertain about what they could be. I would greatly appreciate your assistance in addressing this issue. Thank you very much.
2023-07-12.12-25-31.mp4
The text was updated successfully, but these errors were encountered: