How to collect dataΒΆ

Pylot also provides a script for collecting CARLA data such as: RGB images, segmented images, obstacle 2D bounding boxes, depth frames, point clouds, traffic lights, obstacle trajectories, and data in Chauffeur format.

Run the following command to see what data you can collect, and which flags you must set:

python3 data_gatherer.py --help

Alternatively, you can inspect data_gatherer.conf for an example of a data collection setup.