Coder Social home page Coder Social logo

fvilmos / road_segmentation Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 19.29 MB

A small and fast CNN-based segmentation network is used to segment road / vehicles+pedestrians / other objects from the scene. The data collector uses CARLA simulator.

License: GNU General Public License v3.0

Python 1.15% Jupyter Notebook 98.85%
carla-simulator cnn-segmentation road-segmentation semantic-segmentation

road_segmentation's Introduction

Road segmentation with CNN

This work aims to develop a computationally small but efficient segmentation CNN to segment the road and traffic participants (vehicles + pedestrians) from the rest of the objects on the scene. The CARLA simulator [1] was used to collect the ground truth data, conisting from 3 classes. The network architecture is similar to FCN16 / 8 - architecture [2], using two skip connections.

Data collection & traning

To create a segmentation database, follow the CARLA installation guide [2]. Start the CARLA server, then the collection script data_collector.py. With the script, the data can be collected automatically (autopilot drives) or manually (use: asdwq keys). To start the recording using the r - key. The data will be placed in subfolders holding the *.rec files with the metadata. For full configuration options, take a look in recorder_config.py file, put the path to the carla .egg file in the configiguration file.

After the data was collected, use the road_segmentation.ipynb notebook, to start the network traning. To test the trained network use the test_segmentation.py file.

References
  1. CARLA simulator, www.arla.org
  2. Fully Convolutional Networks for Semantic Segmentation, Long et all, https://arxiv.org/pdf/1411.4038.pdf

/Enjoy.

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.