File size: 2,229 Bytes
e52a29a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a649347
 
 
 
 
 
d3b4550
a649347
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19aef1d
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: mit
task_categories:
- image-classification
language:
- en
tags:
- fruit
- vegetable
- quality
pretty_name: Fruit and Vegetable Quality Dataset
size_categories:
- 10K<n<100K
dataset_info:
- config_name: default
  features:
  - name: image
    dtype: image
  - name: quality
    dtype:
      class_label:
        names:
          '0': fresh
          '1': rotten
  - name: category
    dtype:
      class_label:
        names:
          '0': apples
          '1': banana
          '2': cucumber
          '3': okra
          '4': oranges
          '5': potato
          '6': tomato
  splits:
  - name: train
    num_bytes: 3125926
    num_examples: 13355
  - name: validation
    num_bytes: 677903
    num_examples: 2857
  - name: test
    num_bytes: 668998
    num_examples: 2867
  download_size: 2258968777
  dataset_size: 4472827
configs:
- config_name: default
  data_files:
  - split: train
    path: default/train/data-*.arrow
  - split: validation
    path: default/validation/data-*.arrow
  - split: test
    path: default/test/data-*.arrow
---

# Intro
The Fruit and Vegetable Quality Dataset is a multi‑category image dataset designed for quality classification and produce recognition tasks. It contains over 19,000 images across seven fruit and vegetable types (apples, bananas, cucumbers, okra, oranges, potatoes, and tomatoes), each annotated with a binary quality label (fresh or rotten). The dataset is split into training (13,355 samples), validation (2,857), and test (2,867) sets, providing a standardized benchmark for developing and evaluating computer vision models in agricultural quality inspection. With an MIT license and a size range of 10K to 100K samples, the dataset supports academic and industrial research in tasks such as defect detection, quality grading, and species identification.

## Usage
```python
from datasets import load_dataset

ds = load_dataset(
    "RobotIX-Lab/fruit_quality",
    name="default",
    split="train",
    cache_dir="./__pycache__",
)
for i in ds:
    print(i)
```

## Maintenance
```bash
GIT_LFS_SKIP_SMUDGE=1 git clone git@hf.co:datasets/RobotIX-Lab/fruit_quality
cd vtuber_emojis
```

## Mirror
<https://modelscope.cn/datasets/RobotIX/fruit_quality>