Coder Social home page Coder Social logo

judo-score's Introduction

Goal

The objective is to write a script to decide on the score of a judo throw. Some of the milestones of this project include 1. collecting a large video dataset of games labeled with the referee decisions, 2. finding cool features and 3. training a deep neural network on the data.

Here is an example of a feature that could be used to train the model.

TODO

Joris

  • Refactor web scraper

  • Fix web scraper

    • Use "judoka" page rather than "ranking"
    • Identify ippon by Hansoku-Make rather than throw
  • Characteristics

    • Judoka
      • Family name
      • Given name
      • Country
      • Number of ippons
      • Number of waza
      • Weight category
      • Age
        ...etc
    • Fight
      • is_ippon
      • number waza
      • correct fights with 2 ippons
    • Start organising with Pandas, move to databases later.
    • Multi-threading ?
  • See if metadata can be used to store athlete name (mkv)

Yann

Ideas

  • Features

    • Impact velocity
    • Facing the ground? (Head facing)
  • Sequence of images to determine score with number of frames laid_down vs not laid_down

1. Videos

Data management

  • Remove folder organization per athlete (all videos in one folder)
  • Video title
    • Keep original title for now
    • Use hash (ID) to identify video
    • Parse (=extract info from video title)

2. Image segmentation (CNN)

Ideas

Model Zoo

  • Unet* (human shape segmentation)
  • Bodypix* TensorFlow.js (human segmentation + body part identification)
  • DeepSkeleton (multiple CNN kernels for medial axis detection)
  • Holistically-Nested Edge Detection (powerful edge detector ~oriented gradients)

*: pre-trained models available!

Algorithm pipeline

    1. Segmentation box
    1. Segmentation silhouette (edge detection)
  • keras_segmentation

    1. Skeletonization
  • Apply "grassfire transform" as feature extraction algorithm?

  • DeepSkeleton (the source is closed :/)

    1. Color cue
  • "Attention" algorithm

Techniques

  • Transfer learning (with fine tuning on our task)
  • GPU

3. is_laid_down?

  • Difference in Y's between feet and hands.

4. Score detection

I. Score vs not score

II. Waza-ari vs ippon

judo-score's People

Contributors

jorislimonier avatar yann21 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

lancew

judo-score's Issues

Fix iteration over videos of one fighter.

Scrolling works, clicking works but scrolling and clicking don't work.

Current problem

Right now it scrolls down both scroll bars and clicks at the beginning then only scrolls, without clicking.

Possible fixes:

  • Reducing scroll height
    • Simply lower value
    • Use try and except to scroll small amounts and scroll more only error (but there's no error now)

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.