Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
# AgriField3D: A Curated 3D Point Cloud Dataset of Field-Grown Plants From A Maize Diversity Panel
|
3 |
+
|
4 |
+
## Dataset Structure
|
5 |
+
|
6 |
+
The dataset consists of two compressed `.zip` files, which contain the 3D point cloud data:
|
7 |
+
|
8 |
+
```
|
9 |
+
AgriField3D/
|
10 |
+
├── FielGrwon_ZeaMays_RawPCD_100k.zip
|
11 |
+
│ └── Contains 1045 high-resolution (100K points) `.ply` files representing full plant point clouds.
|
12 |
+
│ ├── 0001.ply
|
13 |
+
│ ├── 0002.ply
|
14 |
+
│ ├── ...
|
15 |
+
│ └── 1045.ply
|
16 |
+
├── FielGrwon_ZeaMays_SegmentedPCD_100k.zip
|
17 |
+
│ └── Contains 520 high-resolution (100K points) `.ply` files of segmented plant models.
|
18 |
+
│ ├── 0001.ply
|
19 |
+
│ ├── 0002.ply
|
20 |
+
│ ├── ...
|
21 |
+
│ └── 0520.ply
|
22 |
+
```
|
23 |
+
|
24 |
+
### Contents of the `.zip` Files
|
25 |
+
- **`FielGrwon_ZeaMays_RawPCD_100k.zip`**:
|
26 |
+
- Contains 1045 `.ply` files. Each file is a high-resolution 3D point cloud representing an entire maize plant.
|
27 |
+
|
28 |
+
- **`FielGrwon_ZeaMays_SegmentedPCD_100k.zip`**:
|
29 |
+
- Contains 520 `.ply` files. Each file represents a segmented model focusing on specific plant parts.
|
30 |
+
|
31 |
+
### How to Access
|
32 |
+
1. **Download the `.zip` files**:
|
33 |
+
- [FielGrwon_ZeaMays_RawPCD_100k.zip](https://huggingface.co/datasets/BGLab/AgriField3D/resolve/main/FielGrwon_ZeaMays_RawPCD_100k.zip)
|
34 |
+
- [FielGrwon_ZeaMays_SegmentedPCD_100k.zip](https://huggingface.co/datasets/BGLab/AgriField3D/resolve/main/FielGrwon_ZeaMays_SegmentedPCD_100k.zip)
|
35 |
+
|
36 |
+
2. **Extract the files**:
|
37 |
+
```bash
|
38 |
+
unzip FielGrwon_ZeaMays_RawPCD_100k.zip
|
39 |
+
unzip FielGrwon_ZeaMays_SegmentedPCD_100k.zip
|
40 |
+
```
|
41 |
+
|
42 |
+
3. Use the extracted `.ply` files in tools like:
|
43 |
+
- MeshLab
|
44 |
+
- CloudCompare
|
45 |
+
- Python libraries such as `open3d` or `trimesh`.
|
46 |
+
|
47 |
+
### Example Code to Visualize the `.ply` Files in Python
|
48 |
+
```python
|
49 |
+
import open3d as o3d
|
50 |
+
|
51 |
+
# Load and visualize a PLY file from the dataset
|
52 |
+
pcd = o3d.io.read_point_cloud("FielGrwon_ZeaMays_RawPCD_100k/0001.ply")
|
53 |
+
o3d.visualization.draw_geometries([pcd])
|
54 |
+
```
|