Coder Social home page Coder Social logo

fpv-race-timer's Introduction

fpv-race-timer

Race timer tool that measures lap times from video recordings

Getting Started

Follow these instructions to setup your machine with the necessary dependencies for using this tool.

Prerequisites - TODO

Installing - TODO

How to Run

There are 2 parts to using this tool:

  1. Annotating a test lap by to mark lap and segment locations
  2. Processing DVR lap recordings to automatically extract timestamps using the annotations from (1)

Annotating a Test Lap Pick video recording that contains a test run of the lap you want to annotate. The run through doesn't need to be perfect, but the more representative it is of your ideal lap the better.

python3 scripts/gate-annotator.py -i /path/to/test-lap-video

Use the annotation tool to mark frames. When you are complete, hit save - the script will process the annotated frames and save a file (gates.yaml) containing some important metadata.

Processing Subsequent Laps

Process your DVR recordings of your laps using the gates.yaml file generated from the annotation step.

python3 scripts/lightglue-mvp.py -i /path/to/laps-video -g /path/to/gates.yaml

This will print out each frame that has been detected that best matches the annotated frames. You can take these frame ids, and multiply them by the frame rate to determine the time between each frame detection (i.e. lap and segment times).

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

fpv-race-timer's People

Contributors

vrajur 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.