Coder Social home page Coder Social logo

prabinrath / carlalidardatageneration Goto Github PK

View Code? Open in Web Editor NEW

This project forked from egage2/carlalidardatageneration

0.0 0.0 0.0 31 KB

Repo for running carla sim, and generating training data for Lidar perception models.

Python 49.88% Jupyter Notebook 50.12%

carlalidardatageneration's Introduction

CarlaLidarDataGeneration

Repo for running carla sim, and generating training data for Lidar perception models.

CarlaScenarioRunner()

Main class file for generating data from Carla Simulator
SEE RunCarlaScenarioRunner.py for example

Initialize with Constructor:

newClass = CarlaScenarioRunner(data_path = "file/path", intersection = "Intersection1")
data_path: path to data output folder
Valid Intersections: "Intersection1","Intersection2","Intersection3","Intersection4"

Spawn Sensors and Entities with:

spawn_lidar(model)
spawn_camera()
spawn_vehicles(num_vehicles)
spawn_pedestrian(num_pedestrians)

Run simulation with:

gather_simulation_data(sim_seconds)

ScenarioAnnotationVisualizer()

Visualization Class to display Lidar Pointclouds with drawn bounding boxes
SEE End of file for run example

drawBoundingPolygons.py

Additional code which takes in instance segmentized Camera images, draws bounding polygons around vehicles and pedestrians, saves all annotated images as single video file

Synchronous_mode.ipynb

Jupter Notebook used during code development, contains useful methods for testing the framework with Carla

carlalidardatageneration's People

Contributors

egage2 avatar

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.