File size: 2,589 Bytes
65ed915
 
664b039
fca8906
 
 
 
 
 
 
 
 
 
 
 
a59e942
 
 
 
 
51a4484
a59e942
 
fca8906
 
 
 
 
65ed915
 
10bf456
8bf838b
bd385a7
65ed915
 
 
 
bd385a7
65ed915
80d78fe
65ed915
80d78fe
722810f
b259d8b
 
10bf456
 
 
1c078c2
 
722810f
9aacc1f
1c078c2
10bf456
faa1339
1c078c2
78f69de
676b233
78f69de
 
 
1c078c2
960c609
1c078c2
722810f
 
676b233
722810f
4818e1b
722810f
 
78f69de
faa1339
78f69de
10bf456
faa1339
78f69de
 
676b233
78f69de
bdc850d
78f69de
722810f
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
---
license: cc-by-nc-sa-4.0
viewer: false
annotations_creators:
- expert-generated
language: []
language_creators:
- expert-generated
multilinguality: []
pretty_name: mmcows
size_categories:
- n>1T
source_datasets:
- original
tags:
- cattle
- cows
- animals
- multimodal
- visual localization
- sensor fusion
- UWB localization
- precision livestock farming
task_categories:
- image-classification
- object-detection
task_ids:
- multi-class-image-classification
---

# MmCows: A Multimodal Dataset for Dairy Cattle Monitoring

<!-- MmCows is a large-scale multimodal dataset for behavior monitoring, health management, and dietary management of dairy cattle.

The dataset consists of data from 16 dairy cows collected during a 14-day real-world deployment, divided into two modality groups. The primary group includes 3D UWB location, cows' neck IMMU acceleration, air pressure, cows' CBT, ankle acceleration, multi-view RGB images, indoor THI, outdoor weather, and milk yield. The secondary group contains measured UWB distances, cows' head direction, lying behavior, and health records.

MmCows also contains 20,000 isometric-view images from multiple camera views in one day that are annotated with cows' ID and their behavior as the ground truth. The annotated cow IDs from multi-views are used to derive their 3D body location ground truth.
 -->

Details of the dataset and benchmarks are available [here](https://github.com/neis-lab/mmcows).

For a quick overview of the dataset, please check this [video](https://www.youtube.com/watch?v=YBDvz-HoLWg).

<br />

# Instruction for downloading

### 1. Install requirements
```bash
pip install huggingface_hub
```
See the file structure [here](https://huggingface.co/datasets/neis-lab/mmcows/tree/main) for the next step.

### 2. Download a file individually
To download ```visual_data.zip``` to your ```local-dir```, use command line:
```bash
huggingface-cli download \
  neis-lab/mmcows \
    visual_data.zip \
  --repo-type dataset \
  --local-dir ./
```
Using a Python script:
```python
from huggingface_hub import hf_hub_download
hf_hub_download(
    repo_id="neis-lab/mmcows",
    repo_type="dataset",
    local_dir="./",
    filename="visual_data.zip"
)
```
To download other files, replace ```visual_data.zip``` with the file you want to download.

### 3. Download all files inside a folder
To download all files in ```1s_interval_images_3hr``` to your ```local-dir```, use command line:
```bash
huggingface-cli download \
  neis-lab/mmcows \
  --repo-type dataset \
  --include "1s_interval_images_3hr/*" \
  --local-dir ./
```