File size: 5,015 Bytes
8174ad2
39f0221
 
8174ad2
269105c
 
 
 
39f0221
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8174ad2
269105c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
---
language:
- en
license: cc-by-nc-nd-4.0
task_categories:
- image-segmentation
tags:
- code
dataset_info:
- config_name: video_01
  features:
  - name: id
    dtype: int32
  - name: name
    dtype: string
  - name: image
    dtype: image
  - name: mask
    dtype: image
  - name: shapes
    sequence:
    - name: track_id
      dtype: uint32
    - name: label
      dtype:
        class_label:
          names:
            '0': referee
            '1': background
            '2': wrestling
            '3': human
    - name: type
      dtype: string
    - name: points
      sequence:
        sequence: float32
    - name: rotation
      dtype: float32
    - name: occluded
      dtype: uint8
    - name: z_order
      dtype: uint16
    - name: attributes
      sequence:
      - name: name
        dtype: string
      - name: text
        dtype: string
  splits:
  - name: train
    num_bytes: 3674
    num_examples: 10
  download_size: 16130882
  dataset_size: 3674
- config_name: video_02
  features:
  - name: id
    dtype: int32
  - name: name
    dtype: string
  - name: image
    dtype: image
  - name: mask
    dtype: image
  - name: shapes
    sequence:
    - name: track_id
      dtype: uint32
    - name: label
      dtype:
        class_label:
          names:
            '0': referee
            '1': background
            '2': wrestling
            '3': human
    - name: type
      dtype: string
    - name: points
      sequence:
        sequence: float32
    - name: rotation
      dtype: float32
    - name: occluded
      dtype: uint8
    - name: z_order
      dtype: uint16
    - name: attributes
      sequence:
      - name: name
        dtype: string
      - name: text
        dtype: string
  splits:
  - name: train
    num_bytes: 3674
    num_examples: 10
  download_size: 14339322
  dataset_size: 3674
- config_name: video_03
  features:
  - name: id
    dtype: int32
  - name: name
    dtype: string
  - name: image
    dtype: image
  - name: mask
    dtype: image
  - name: shapes
    sequence:
    - name: track_id
      dtype: uint32
    - name: label
      dtype:
        class_label:
          names:
            '0': referee
            '1': background
            '2': wrestling
            '3': human
    - name: type
      dtype: string
    - name: points
      sequence:
        sequence: float32
    - name: rotation
      dtype: float32
    - name: occluded
      dtype: uint8
    - name: z_order
      dtype: uint16
    - name: attributes
      sequence:
      - name: name
        dtype: string
      - name: text
        dtype: string
  splits:
  - name: train
    num_bytes: 3674
    num_examples: 10
  download_size: 15264704
  dataset_size: 3674
---

# Fights Segmentation Dataset
The dataset consists of a collection of photos extracted from **videos of fights**. It includes **segmentation masks** for **fighters, referees, mats, and the background**. 

The dataset offers a resource for *object detection, instance segmentation, action recognition, or pose estimation*.  
It could be useful for **sport community** in identification and detection of the violations, dispute resolution and general optimisation of referee's work using computer vision.

![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F12421376%2F528c5d5de741e46d8754a5a67ff476fc%2FFrame%2024.png?generation=1695968589650484&alt=media)

# Get the dataset

### This is just an example of the data

Leave a request on [**https://trainingdata.pro/data-market**](https://trainingdata.pro/data-market?utm_source=huggingface&utm_medium=cpc&utm_campaign=fights-segmentation) to discuss your requirements, learn about the price and buy the dataset.

# Dataset structure
- **images** - contains of original images extracted from the videos of fights
- **masks** - includes segmentation masks created for the original images
-  **annotations.xml** -  contains coordinates of the polygons and labels, created for the original photo

# Data Format

Each image from `images` folder is accompanied by an XML-annotation in the `annotations.xml` file indicating the coordinates of the polygons and labels. For each point, the x and y coordinates are provided.

### Сlasses:
- **human**: fighter or fighters,
- **referee**: referee,
- **wrestling**: mat's area,
- **background**: area above the mat

# Example of XML file structure

![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F12421376%2F538310907b1e8b4c6f07f456331fe091%2Fcarbon.png?generation=1695969032771522&alt=media)

# Fights Segmentation might be made in accordance with your requirements.

## [**TrainingData**](https://trainingdata.pro/data-market?utm_source=huggingface&utm_medium=cpc&utm_campaign=fights-segmentation) provides high-quality data annotation tailored to your needs

More datasets in TrainingData's Kaggle account: **https://www.kaggle.com/trainingdatapro/datasets**

TrainingData's GitHub: **https://github.com/Trainingdata-datamarket/TrainingData_All_datasets**