VPilot icon indicating copy to clipboard operation
VPilot copied to clipboard

Projecting points

Open muaz-git opened this issue 7 years ago • 4 comments

Hi, I have successfully fetched data using DeepGTA and dataset.py. But I am still not sure how the 3D vectors FUR and BLL can be projected on to the corresponding image as shown in this video.

muaz-git avatar Jun 08 '17 16:06 muaz-git

If you look inside https://github.com/ai-tor/DeepGTAV/blob/master/Scenario.h, there's a commented "#define DEBUG 1" line at the top. Further down you can see that, if debug is defined, it will draw the bounding boxes for the visible vehicles and pedestrians. Furthermore, there's also a switch somewhere to return the 2D instead of the 3D bounding boxes if I remember correctly.

dominikandreas avatar Jun 08 '17 17:06 dominikandreas

@dominikandreas thank you for your quick reply. So in that sense it will render these boxes on the image and I cannot have them separately? And also, what's the purpose of FUR and BLL then?

muaz-git avatar Jun 08 '17 17:06 muaz-git

There was a "bbox" flag which allowed you to do that, but apparently that has been removed. Maybe @ai-tor could comment on that

Edit: apparently there's been a bug one of the commits, so the changes that had the "bbox" flag in it got reverted. Take a look at https://github.com/ai-tor/DeepGTAV/commit/4a0cd04f8fb72fa4506a79f5b0837cae36a5010f and search for bbox to see how it was implemented before

dominikandreas avatar Jun 08 '17 18:06 dominikandreas

@dominikandreas That's it, I temporary removed the commit till I have some time to look into the code and see what was originating so many crashes.

aitorzip avatar Jun 08 '17 19:06 aitorzip