Datasets:
File size: 3,772 Bytes
e0bf5b9 5dd9145 e0bf5b9 02a0853 90c2091 e0bf5b9 a58e776 90c2091 e0bf5b9 90c2091 02a0853 e0bf5b9 02a0853 e0bf5b9 02a0853 90c2091 02a0853 b259473 90c2091 7314761 90c2091 02a0853 90c2091 02a0853 90c2091 02a0853 90c2091 02a0853 90c2091 e0bf5b9 90c2091 e0bf5b9 90c2091 e0bf5b9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 |
---
license: mit
task_categories:
- video-classification
tags:
- baseball
- sports
- video-classification
- computer-vision
size_categories:
- 10K<n<100K
---
# Dataset Card for Picklebot50k
<!-- Provide a quick summary of the dataset. -->
50 thousand video clips of balls and strikes from MLB games from the 2016 season through the 2022 season.
![Example Clip](example.gif)
## Dataset Details
### Dataset Description
<!-- Provide a longer summary of what this dataset is. -->
The dataset consists of roughly 50 thousand video clips of balls and strikes in .mp4 format, resized to 224x224 resolution.
The calculated standard deviation and mean for the dataset are
std: (0.2104, 0.1986, 0.1829)
mean: (0.3939, 0.3817, 0.3314).
- **Curated by:** Henry Freed
- **License:** MIT
### Dataset Sources [optional]
<!-- Provide the basic links for the dataset. -->
- **Repository:** The original project that this dataset was compiled for can be found here on [github](https://github.com/hbfreed/Picklebot).
- **Demo:** The demo for a neural net trained on this dataset can be found here on [huggingface spaces](https://huggingface.co/spaces/hbfreed/picklebot_demo).
## Uses
<!-- Address questions around how the dataset is intended to be used. -->
The dataset was originally collected to call balls and strikes using neural networks. There are many other potential use cases, but they would almost certainly require relabeling. For more videos and more complete information about each pitch, see [Picklebot-2M](https://huggingface.co/datasets/hbfreed/Picklebot-2M).
## Dataset Structure
<!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
The dataset is structured as .tar files of the train, val, and test splits. The labels are contained in .csv files. The .csvs are structured as follows:
"filename.mp4",label
where the label is 0 for balls and 1 for strikes.
### Source Data
<!-- This section describes the source data (e.g. news text and headlines, social media posts, translated sentences, ...). -->
The source data were scraped from Baseball Savant's [Statcast Search](https://baseballsavant.mlb.com/statcast_search). It's a pretty powerful search page, and a lot of fun to play around with.
#### Data Collection and Processing
<!-- This section describes the data collection and processing process such as data selection criteria, filtering and normalization methods, tools and libraries used, etc. -->
After downloading the videos, they were cropped from 1280x720 at 60fps to the middle 600x600 pixels at 60fps. Finally, they were downsampled to 224x224 resolution at 15 fps (this can all be done using one ffmpeg command). Some of the longer clips where there was a lot of noise (shots of the crowd, instant replays, etc.) were trimmed (mostly by hand) down to a more manageable length.
#### Who are the source data producers?
<!-- This section describes the people or systems who originally created the data. It should also include self-reported demographic or identity information for the source data creators if this information is available. -->
[Baseball Savant](https://baseballsavant.mlb.com/) and MLB/the broadcasters (whoever it is) originally created the videos.
## Bias, Risks, and Limitations
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
It's important to note that only balls and called strikes were collected. No swinging strikes, foul balls, hit by pitches, or anything else are included in the dataset. Additionally, most pitchers and batters are right handed, and nothing was done to try and balance that in this dataset. |