torinriley commited on
Commit
99967e7
1 Parent(s): 3dcc6ba

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +80 -3
README.md CHANGED
@@ -1,3 +1,80 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ task_categories:
4
+ - object-detection
5
+ ---
6
+
7
+ # FTC Vision: 2024-2025 Dataset for Object Detection
8
+
9
+ This is the official dataset for FTC (FIRST Tech Challenge) object detection for the 2024-2025 season. Designed specifically for training object detection models using TensorFlow, this dataset is also provided in a **RAW format** for use in other frameworks or custom applications.
10
+
11
+ ---
12
+
13
+ ## **Dataset Overview**
14
+ The dataset is structured to facilitate seamless integration into TensorFlow pipelines while maintaining flexibility for other use cases. It contains **images** and **annotations** in the following structure:
15
+
16
+ ### **Annotations**
17
+ - Annotations are provided in **XML VOC format**, with bounding boxes drawn around each object of interest. Specifically, the dataset focuses on **different-colored game pieces** for the 2024-2025 season.
18
+ - The annotations are further divided into **train** and **val** subsets to enable training and validation processes.
19
+ - For TensorFlow users, the dataset includes:
20
+ - **Train and Val TFRecord files** for easy ingestion by TensorFlow pipelines.
21
+ - A **label_map.pbtxt** file to map class indices to human-readable class names (e.g., "red," "blue," "yellow").
22
+
23
+ ---
24
+
25
+ ### **Images**
26
+ - Images are split into **train** and **val** subsets, matching the corresponding annotations.
27
+ - Each subset contains subdirectories named after their respective classes (e.g., `red/`, `blue/`, `yellow/`).
28
+ - Example directory structure:
29
+ ```
30
+ dataset/
31
+ Images/
32
+ train/
33
+ red/
34
+ img1.jpg
35
+ img2.jpg
36
+ blue/
37
+ img3.jpg
38
+ yellow/
39
+ img4.jpg
40
+ val/
41
+ red/
42
+ img5.jpg
43
+ blue/
44
+ img6.jpg
45
+ yellow/
46
+ img7.jpg
47
+ ```
48
+ - This structure ensures compatibility with TensorFlow's `image_dataset_from_directory()` and allows for quick model training.
49
+
50
+ ---
51
+
52
+ ## **Key Features**
53
+ - **TensorFlow-Optimized Dataset**: Includes TFRecord files and a label map for quick integration.
54
+ - **Raw XML VOC Annotations**: Flexible format for users preferring other frameworks like PyTorch or custom data pipelines.
55
+ - **Class-Based Subdirectory Organization**: Simplifies image classification and model evaluation workflows.
56
+ - **Bounding Boxes**: Precisely annotated around **game pieces of different colors**, ensuring high-quality data for training object detection models.
57
+
58
+ ---
59
+
60
+ ## **Usage**
61
+ 1. **TensorFlow**:
62
+ - Use the provided TFRecord files (`train.tfrecord` and `val.tfrecord`) for model training.
63
+ - Load the dataset with TensorFlow's data pipelines and the provided `label_map.pbtxt` file.
64
+
65
+ 2. **Custom Frameworks**:
66
+ - Use the raw XML annotations and class-organized image directories for model training in PyTorch or other frameworks.
67
+
68
+ 3. **Data Splits**:
69
+ - The dataset is divided into training (80%) and validation (20%) sets to standardize evaluation.
70
+
71
+ ---
72
+
73
+ ## **Notes**
74
+ - **Compatibility**: The dataset is designed to be compatible with major machine learning frameworks.
75
+ - **Expandable**: You can add additional game pieces, classes, or annotations to expand the dataset for future challenges.
76
+ - **Standardized Input Size**: Images are resized to a consistent shape of `(640, 640)` for TensorFlow models but can be used at their original resolution in the RAW version.
77
+
78
+ ---
79
+
80
+ This dataset is the ultimate resource for developing and training object detection models tailored to FTC's 2024-2025 game requirements. Let us know if you have any issues or questions!