Giter Club home page Giter Club logo

informatics-lab.led-mapper's Introduction

LED Mapper

A browser application which uses the webcam of your device to map LED positions.

The Browser expects to be able to send commands through a websocket to turn on a series of LEDs one at a time. It takes a photo before and after turning the light on using a webcam and compares the two frames to calculate the x & y position within the camera frame.

LED Rhino being mapped

The left hand image shows the camera feed and the right hand image shows the position of the LED marked with a red square.

Installation

Clone the repo

git clone https://github.com/met-office-lab/led-mapper.git

Usage

Run a web server and view the index.html page in a browser.

Dim the lights and point your webcam at the LED matrix you wish to map.

Watch the console output for a json object to be printed on completion.

Pro Tip: To run a simple web server in your current directory run python -m SimpleHTTPServer 8000 and visit http://localhost:8000 in your browser.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

GNU General Public License (GPL) v3

informatics-lab.led-mapper's People

Contributors

jacobtomlinson avatar niallrobinson avatar ryleysill93 avatar rprudden 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.