mltk.datasets.image.rock_paper_scissors_v1

Rock, Paper, Scissors v1

Contains grayscale images of the hand gestures:

  • rock

  • paper

  • scissors

Variables

DOWNLOAD_URL

Public download URL

VERIFY_SHA1

SHA1 hash of archive file

INPUT_HEIGHT

Sample height

INPUT_WIDTH

Sample width

INPUT_DEPTH

Sample depth

INPUT_SHAPE

Sample shape

CLASSES

Dataset class labels

Functions

load_data([dest_dir, dest_subdir, logger, ...])

Load the Rock, Paper, Scissors Dataset v1

DOWNLOAD_URL = 'https://github.com/SiliconLabs/mltk_assets/raw/master/datasets/rock_paper_scissors.7z'

Public download URL

VERIFY_SHA1 = '1CE48F66F7FF999958550147D75ABA8DA185280C'

SHA1 hash of archive file

INPUT_HEIGHT = 96

Sample height

INPUT_WIDTH = 96

Sample width

INPUT_DEPTH = 1

Sample depth

INPUT_SHAPE = (96, 96, 1)

Sample shape

CLASSES = ('rock', 'paper', 'scissor')

Dataset class labels

load_data(dest_dir=None, dest_subdir='datasets/rock_paper_scissors/v1', logger=None, clean_dest_dir=False)[source]

Load the Rock, Paper, Scissors Dataset v1

Contains 96x96x1 images of the hand gestures:

  • rock

  • paper

  • scissors

Parameters:
  • dest_dir (str) –

  • logger (Logger) –