Maxscha commited on
Commit
6110639
·
verified ·
1 Parent(s): 71d230a

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +118 -137
README.md CHANGED
@@ -1,154 +1,135 @@
1
  ---
2
- dataset_info:
3
- - config_name: body_only
4
- features:
5
- - name: date
6
- dtype: string
7
- - name: time
8
- dtype: string
9
- - name: class
10
- dtype: string
11
- - name: video
12
- dtype: string
13
- - name: frame_number
14
- dtype: int32
15
- - name: camera
16
- dtype: string
17
- - name: body_image
18
- dtype: image
19
- splits:
20
- - name: test
21
- num_bytes: 248277019
22
- num_examples: 2705
23
- download_size: 314141272
24
- dataset_size: 248277019
25
- - config_name: body_tracklets
26
- features:
27
- - name: class
28
- dtype: string
29
- - name: video
30
- dtype: string
31
- - name: camera
32
- dtype: string
33
- - name: frame_numbers
34
- list: int32
35
- - name: body_images
36
- list: image
37
- splits:
38
- - name: test
39
- num_bytes: 314187819
40
- num_examples: 2
41
- download_size: 314200391
42
- dataset_size: 314187819
43
- - config_name: face_and_body
44
- features:
45
- - name: date
46
- dtype: string
47
- - name: time
48
- dtype: string
49
- - name: class
50
- dtype: string
51
- - name: video
52
- dtype: string
53
- - name: frame_number
54
- dtype: int32
55
- - name: camera
56
- dtype: string
57
- - name: face_image
58
- dtype: image
59
- - name: body_image
60
- dtype: image
61
- splits:
62
- - name: test
63
- num_bytes: 115893610
64
- num_examples: 1192
65
- download_size: 121577700
66
- dataset_size: 115893610
67
- - config_name: face_tracklets
68
- features:
69
- - name: class
70
- dtype: string
71
- - name: video
72
- dtype: string
73
- - name: camera
74
- dtype: string
75
- - name: frame_numbers
76
- list: int32
77
- - name: face_images
78
- list: image
79
- splits:
80
- - name: test
81
- num_bytes: 8140141
82
- num_examples: 1
83
- download_size: 7768182
84
- dataset_size: 8140141
85
- - config_name: original_with_body_bbox
86
- features:
87
- - name: date
88
- dtype: string
89
- - name: time
90
- dtype: string
91
- - name: class
92
- dtype: string
93
- - name: video
94
- dtype: string
95
- - name: frame_number
96
- dtype: int32
97
- - name: camera
98
- dtype: string
99
- - name: image
100
- dtype: image
101
- splits:
102
- - name: test
103
- num_bytes: 248277019
104
- num_examples: 2705
105
- download_size: 314141224
106
- dataset_size: 248277019
107
- - config_name: original_with_face_body_bbox
108
- features:
109
- - name: date
110
- dtype: string
111
- - name: time
112
- dtype: string
113
- - name: class
114
- dtype: string
115
- - name: video
116
- dtype: string
117
- - name: frame_number
118
- dtype: int32
119
- - name: camera
120
- dtype: string
121
- - name: image
122
- dtype: image
123
- splits:
124
- - name: test
125
- num_bytes: 248277019
126
- num_examples: 2705
127
- download_size: 314141224
128
- dataset_size: 248277019
129
  configs:
 
 
 
 
130
  - config_name: body_only
131
  data_files:
132
  - split: test
133
  path: body_only/test-*
134
- - config_name: body_tracklets
135
  data_files:
136
  - split: test
137
- path: body_tracklets/test-*
138
- - config_name: face_and_body
139
  data_files:
140
  - split: test
141
- path: face_and_body/test-*
142
  - config_name: face_tracklets
143
  data_files:
144
  - split: test
145
  path: face_tracklets/test-*
146
- - config_name: original_with_body_bbox
147
- data_files:
148
- - split: test
149
- path: original_with_body_bbox/test-*
150
- - config_name: original_with_face_body_bbox
151
  data_files:
152
  - split: test
153
- path: original_with_face_body_bbox/test-*
154
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: mit
3
+ task_categories:
4
+ - object-detection
5
+ - image-classification
6
+ tags:
7
+ - animal-detection
8
+ - animal-reidentification
9
+ - bounding-box
10
+ - face-detection
11
+ - body-detection
12
+ - tracklets
13
+ - re-identification
14
+ size_categories:
15
+ - 1K<n<10K
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  configs:
17
+ - config_name: face_and_body
18
+ data_files:
19
+ - split: test
20
+ path: face_and_body/test-*
21
  - config_name: body_only
22
  data_files:
23
  - split: test
24
  path: body_only/test-*
25
+ - config_name: original_with_face_body_bbox
26
  data_files:
27
  - split: test
28
+ path: original_with_face_body_bbox/test-*
29
+ - config_name: original_with_body_bbox
30
  data_files:
31
  - split: test
32
+ path: original_with_body_bbox/test-*
33
  - config_name: face_tracklets
34
  data_files:
35
  - split: test
36
  path: face_tracklets/test-*
37
+ - config_name: body_tracklets
 
 
 
 
38
  data_files:
39
  - split: test
40
+ path: body_tracklets/test-*
41
  ---
42
+
43
+ # Zoo Animal Re-Identification Dataset
44
+
45
+ A dataset for animal re-identification with **2,705 body images**, **1,192 face crops**, and **6 configurations**.
46
+
47
+ ## Configurations
48
+
49
+ ### 1. `face_and_body`
50
+ Individual frames with both face and body crops.
51
+
52
+ **Features:**
53
+ - `date`: Date of capture (YYYY-MM-DD)
54
+ - `time`: Time of capture (HH:MM:SS)
55
+ - `class`: Animal name
56
+ - `video`: Source video filename
57
+ - `frame_number`: Frame number in video
58
+ - `camera`: Camera ID
59
+ - `face_image`: Cropped face image
60
+ - `body_image`: Cropped body/full image
61
+
62
+ ### 2. `body_only`
63
+ Individual frames with body crops only.
64
+
65
+ **Features:**
66
+ - `date`, `time`, `class`, `video`, `frame_number`, `camera`: Same as above
67
+ - `body_image`: Cropped body image
68
+
69
+ ### 3. `original_with_face_body_bbox`
70
+ Full original frames.
71
+
72
+ **Features:**
73
+ - `date`, `time`, `class`, `video`, `frame_number`, `camera`: Same as above
74
+ - `image`: Original full image
75
+
76
+ ### 4. `original_with_body_bbox`
77
+ Full original frames.
78
+
79
+ **Features:**
80
+ - `date`, `time`, `class`, `video`, `frame_number`, `camera`: Same as above
81
+ - `image`: Original full image
82
+
83
+ ### 5. `face_tracklets`
84
+ **Face images grouped by tracklet (animal + video)**. Each row contains all face crops from one animal in one video, ordered by frame number.
85
+
86
+ **Features:**
87
+ - `class`: Animal name
88
+ - `video`: Source video filename
89
+ - `camera`: Camera ID
90
+ - `frame_numbers`: List of frame numbers (ordered)
91
+ - `face_images`: Sequence of face images (ordered by frame)
92
+
93
+ ### 6. `body_tracklets`
94
+ **Body images grouped by tracklet (animal + video)**. Each row contains all body crops from one animal in one video, ordered by frame number.
95
+
96
+ **Features:**
97
+ - `class`: Animal name
98
+ - `video`: Source video filename
99
+ - `camera`: Camera ID
100
+ - `frame_numbers`: List of frame numbers (ordered)
101
+ - `body_images`: Sequence of body images (ordered by frame)
102
+
103
+ ## Usage
104
+
105
+ ```python
106
+ from datasets import load_dataset
107
+
108
+ # Load individual frames with face and body
109
+ ds = load_dataset("Maxscha/test", "face_and_body", split="test")
110
+ print(ds[0]["face_image"]) # PIL Image
111
+ print(ds[0]["class"]) # Animal name
112
+
113
+ # Load face tracklets
114
+ ds = load_dataset("Maxscha/test", "face_tracklets", split="test")
115
+ print(len(ds[0]["face_images"])) # Number of faces in this tracklet
116
+ print(ds[0]["class"]) # Animal name for this tracklet
117
+
118
+ # Load body tracklets
119
+ ds = load_dataset("Maxscha/test", "body_tracklets", split="test")
120
+ for img in ds[0]["body_images"]:
121
+ print(img) # Each PIL Image in the tracklet sequence
122
+ ```
123
+
124
+ ## Animals
125
+
126
+ The dataset contains images of 5 animals:
127
+ - Sango
128
+ - Tilla
129
+ - M'Penzi
130
+ - Bibi
131
+ - Djambala
132
+
133
+ ## License
134
+
135
+ MIT