Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -20,44 +20,49 @@ This dataset contains 100 images of various fruits and vegetables captured under
|
|
20 |
|
21 |
The data consists of RGB images, sparse spectral samples and instance segmentation masks.
|
22 |
|
23 |
-
From the 100 images, we extract >
|
24 |
|
25 |
### Classes
|
26 |
|
27 |
-
The dataset contains
|
28 |
-
-
|
29 |
-
-
|
30 |
-
-
|
31 |
-
-
|
32 |
-
-
|
33 |
-
-
|
34 |
-
-
|
35 |
-
-
|
36 |
-
-
|
37 |
-
-
|
38 |
-
-
|
39 |
-
-
|
40 |
-
-
|
41 |
-
-
|
42 |
-
-
|
|
|
|
|
|
|
|
|
43 |
|
44 |
## Requirements
|
45 |
|
46 |
- [lo-sdk](https://www.livingoptics.com/register-for-download-sdk/)
|
47 |
- [lo-examples](https://github.com/livingoptics/python-examples)
|
|
|
48 |
|
49 |
|
50 |
## Download instructions
|
51 |
|
52 |
### Command line
|
53 |
```commandline
|
54 |
-
huggingface-cli
|
55 |
```
|
56 |
|
57 |
### Python
|
58 |
```python
|
59 |
from huggingface_hub import hf_hub_download
|
60 |
-
dataset_path = hf_hub_download(repo_id="LivingOptics", filename="
|
61 |
```
|
62 |
|
63 |
## Usage
|
|
|
20 |
|
21 |
The data consists of RGB images, sparse spectral samples and instance segmentation masks.
|
22 |
|
23 |
+
From the 100 images, we extract >430,000 spectral samples, of which >85,000 belong to one of the 18 classes in the dataset. The rest of the spectra can be used for negative sampling when training classifiers.
|
24 |
|
25 |
### Classes
|
26 |
|
27 |
+
The dataset contains 18 classes:
|
28 |
+
- lemon - 8275 total samples
|
29 |
+
- melon - 9507 total samples
|
30 |
+
- yellow pepper - 4752 total samples
|
31 |
+
- cucumber - 227 total samples
|
32 |
+
- plastic apple - 6693 total samples
|
33 |
+
- pink lady apple - 17311 total samples
|
34 |
+
- royal gala apple - 21319 total samples
|
35 |
+
- tomato - 3748 total samples
|
36 |
+
- cherry tomato - 360 total samples
|
37 |
+
- plastic tomato - 569 total samples
|
38 |
+
- green pepper - 226 total samples
|
39 |
+
- orange - 4641 total samples
|
40 |
+
- easy peeler orange - 2720 total samples
|
41 |
+
- orange pepper - 552 total samples
|
42 |
+
- jazz apple - 272 total samples
|
43 |
+
- pear - 194 total samples
|
44 |
+
- green grape - 106 total samples
|
45 |
+
- lime - 43 total samples
|
46 |
+
|
47 |
|
48 |
## Requirements
|
49 |
|
50 |
- [lo-sdk](https://www.livingoptics.com/register-for-download-sdk/)
|
51 |
- [lo-examples](https://github.com/livingoptics/python-examples)
|
52 |
+
- [lo-data] TODO
|
53 |
|
54 |
|
55 |
## Download instructions
|
56 |
|
57 |
### Command line
|
58 |
```commandline
|
59 |
+
huggingface-cli download LivingOptics/hyperspectral-fruit --repo-type dataset
|
60 |
```
|
61 |
|
62 |
### Python
|
63 |
```python
|
64 |
from huggingface_hub import hf_hub_download
|
65 |
+
dataset_path = hf_hub_download(repo_id="LivingOptics/hyperspectral-fruit", filename="train", repo_type="dataset")
|
66 |
```
|
67 |
|
68 |
## Usage
|