mltk.datasets.image.rock_paper_scissors_v2

Rock, Paper, Scissors v2

Contains grayscale images of the hand gestures:

  • rock

  • paper

  • scissors

  • _unknown_

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 v2

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

Public download URL

VERIFY_SHA1 = '77ED1793BE7871DCAA79D935B39BA4D23A28E2C3'

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', '_unknown_')

Dataset class labels

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

Load the Rock, Paper, Scissors Dataset v2

Contains 96x96x1 images of the hand gestures:

  • rock

  • paper

  • scissors

  • _unknown_

Parameters:
  • dest_dir (str) –

  • logger (Logger) –