Coder Social home page Coder Social logo

sabertracker's Introduction

sabertracker

A computer vision project to detect lightsabers in video

Why?

During my PhD, I learned alot about computer vision and how to apply image processing techniques to microscopy data. Now I want to apply this knowledge to other areas.

I've been practising LudoSport here in Ireland since early 2020 and since one of our practitioners records our sparring sessions to help us identify weaknesses and mistakes to improve our teqchnique, I started thinking that I could get a computer to automatically analyse these data and give us more information.

One critique has been that we too often fall back to guard stance, which has a very stationary position that is amenable to detection by monitoring the movement of the blade. This is the current aim of this tracker, but it may become more sophisticated in time

What?

This repo documents my process from inception to fully-fledged lightsaber tracker. I'm trying to stay away from AI methods like Yolo models, which perform really well and fast if you can take the time to annotate lots of data and have a decent GPU. However, they are not very fast on regular CPUs and I intend to host the app on something free e.g. Streamlit Cloud, so it's important that this program runs fast on a regular CPU. For reference, I am developing on a laptop with 8GB RAM, an Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz CPU, and integrated GPU.

Currently, I've nearly finished optimizing the centroid detection algorithm to a satisfactory FPS. Next I will implement a centroid tracker to follow lightsabers in the videos.

TODO

  • Implement centroid tracker
  • Extract metrics from tracked sabers
  • Create and deploy web app

sabertracker's People

Contributors

kynnemall avatar

Watchers

 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.