AmitMY / piano-hands

This dataset contains object tagging of right and left hands on a piano background.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Piano Hands

This dataset contains object tagging of right and left hands on a piano background.

Its purpose is to detect hands from videos of piano playing.

Using the dataset

The directory versions includes all of the available versions for this dataset. They can also be found under the releases tab on GitHub.

Object Detection Model

We fine-tuned a "Faster RCNN Inception v2 COCO" model from the tensorflow official repository. Note our model does not include any tracking. Every video frame is processed independently.

Easy Video - Alan Walker - Faded

Detection Results (You might need to open this GIF in a new tab)

Harder Video - Liszt - La Campanella

Detection Results (You might need to open this GIF in a new tab)

We include the training script, checkpoint, and a simple python file for example of use. PRO TIP: If you train a model, make sure there is no "horizontal flip" augmentation. If you know there are a maximum of 2 hands in a frame, you can heuristically fix mistakes of tagging both hands as left or right.

Manually tagging the dataset

  • From videos execute download.sh which downloads 200+ youtube videos.
  • From videos execute extract_frames.py which creates a top level frames directory with random frames from the videos.
  • Using labelImg tag the directory frames to annotations.
  • From versions execute generate_version.py, after changing the version number.

About

This dataset contains object tagging of right and left hands on a piano background.


Languages

Language:Python 76.4%Language:Shell 23.6%