Code Monkey home page Code Monkey logo

carla-training-data's Introduction

Carla Training Data

Generating training data from the Carla driving simulator in the KITTI dataset format

Screenshot_3

KITTI dataset format

An example of KITTI dataset format

Screenshot_4

  • Raw (unsynced+unrectified) and processed (synced+rectified) grayscale stereo sequences (0.5 Megapixels, stored in png format)
  • Raw (unsynced+unrectified) and processed (synced+rectified) color stereo sequences (0.5 Megapixels, stored in png format)
  • 3D Velodyne point clouds (100k points per frame, stored as binary float matrix)
  • 3D GPS/IMU data (location, speed, acceleration, meta information, stored as text file)
  • Calibration (Camera, Camera-to-GPS/IMU, Camera-to-Velodyne, stored as text file)
  • 3D object tracklet labels (cars, trucks, trams, pedestrians, cyclists, stored as xml file)

Getting started and Setup

This project expects the carla folder to be inside this project i.e PythonClient/carla-training-data/carla

Running the client after running the Carla Server

## Running the client after running the Carla Server

$ python3 datageneration.py

References:

carla-training-data's People

Contributors

enginbozkurt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

carla-training-data's Issues

Issue with the object location coordinate transformation from CARLA to kitti

Hi,
I really appreciate the work you have done to put this together. So, I am trying to reproduce this with latest CARLA version and I know the API has changed a bit that's what I am trying to understand.

self.location = " ".join(map(str, [-x, -y, z]))

From what I understood from the docstring section of [this method is that the transformation from CARLA to kitti for the object location should rather be:

self.location = " ".join(map(str, [y, -z, x]))
           Converts the 3D object location from CARLA coordinates and saves them as KITTI coordinates in the object
            In Unreal, the coordinate system of the engine is defined as, which is the same as the lidar points
            z
            ▲   ▲ x
            |  /
            | /
            |/____> y
            This is a left-handed coordinate system, with x being forward, y to the right and z up 
            See also https://github.com/carla-simulator/carla/issues/498
            However, the camera coordinate system for KITTI is defined as
                ▲ z
               /
              /
             /____> x
            |
            |
            |
            ▼
            y 
            This is a right-handed coordinate system with z being forward, x to the right and y down
            Therefore, we have to make the following changes from Carla to Kitti
            Carla: X   Y   Z
            KITTI:-X  -Y   Z 

So, instead of KITTI: -X, -Y, Z it should be Y, -Z, X

@enginBozkurt let me know what you think.

Documentation

Please provide better documentation about this repository. I don't know how to use it or what's the purpose of this repository.

Stereo

Does your framework support stereo? The kitti dataset has stereo data too (aka image_2 and image_3), but i only see image_2 in your result

Add the .label files of the semantic segmentation provided by Carla's lidar

Hi, thank you very much for your work, it will be very useful to me. I would like to ask you if it was possible to also add automatic creation of .label files (as in the SemanticKitty dataset) created using the '' perfect '' segmentation data provided by carla.SemanticLidarMeasurement (I believe this feature was added since carla 0.9.10 onwards : https://carla.readthedocs.io/en/0.9.10/ref_sensors/#semantic-lidar-sensor )

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.