Code Monkey home page Code Monkey logo

trainseg's Introduction

trainseg

Semantic Segmentation for detecting train rails.

image

Description

This Project is aims at autonomizing a small model train. Therefore we need to know if the rails ahead are blocked. If they are blocked the train has to stop automaticly. This is accomplished through the combination of a semantic segmentation model and some other clever algorithms.

Inputs

The only input sensor is the camera at the front of the train, which is a ESP32 CAM module. It outputs a MJPEG video stream of 320x240@25FPS. The video stream gets harnessed by a RaspberryPI with an Edge TPU (Google Coral).

Inference

The Raspberry PI uses the Edge TPU to speed up the Inference of the Machine Learning Modell. In our test we also used an Nvidia Jetson Nano and found out that although the Jetson Nano is more versatile the Edge TPU packs much more power inside of it. We managed to get a x15 improvement in Inference Speed.

Training

Not every Model can be used with the Edge TPU. Specifically the model has to be quantized and there are only so many OPs available that the Edge TPU Compiler can map to the TPU. If you use an unsupported OP-Layer it will be executed on the CPU.

trainseg's People

Contributors

frederikrogalski avatar

Stargazers

Tom Hensel avatar

Watchers

Kostas Georgiou avatar  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.