Giter Club home page Giter Club logo

foosball-dataset's Introduction

Foosball Dataset

This repository contains labeled images of various foosball tables.

Tables (so far):

  • leonhart
  • vector

Data Organization

This dataset is organized by manufacturer. Every manufacturer has its own set of figures and color-scheme.

The source of the data must be provided.

.
├── leonhart # the table manufacturer
│   └── black-green # flavor of table (e.g. color-scheme or specific model)
│       └── 01 # dataset number for this manufacturer/table combination
│           ├── pictures # contains the sourced pictures
│           └── out # contains the label information
│               └── YOLO_darknet
├── vector # table
├── vector #
...

Development

Prerequisites

  • install opencv
  • have a GPU
  • install cuda
  • python3

Run the following command to setup the project on your machine:

$ make setup

Labeling

To start labeling images run the following command. It is recommended to split the datasets into smaller chunks (~300-400 images each). This helps with your motivation labeling the dataset aswell as the performance of the labeling program.

$ make label TABLE=leonhart KIND=black-green DS=01

Sourcing data

  1. Fetch a video file from youtube or wherever e.g. using youtube-dl
  2. Split the video file into frames
$ youtube-dl "https://www.youtube.com/watch?v=aAXxONJDB0A"
# ... writes a file to ./path/to/video-file

# now extract every nth frame from the video
# writing it to the pictures dir: ./leonhart/black-green/83/pictures
$ make split TABLE=leonhart KIND=black-green DS=83 INPUT=./path/to/video-file

# now, proceed with labeling
$ make label TABLE=leonhart KIND=black-green DS=83

Training the Dataset

# transform source dataset into darknet-readable format
$ make export

$ make train-docker

# ...or train without docker
$ make train

foosball-dataset's People

Contributors

moolen avatar

Stargazers

 avatar

Watchers

 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.