cpoisson commited on
Commit
5dac741
·
verified ·
1 Parent(s): 676cdeb

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +85 -0
README.md ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - image-classification
5
+ language:
6
+ - en
7
+ tags:
8
+ - waste
9
+ - recycling
10
+ - trash
11
+ - garbage
12
+ - environment
13
+ pretty_name: Trash Optimizer Dataset
14
+ size_categories:
15
+ - 1K<n<10K
16
+ ---
17
+
18
+ # Trash Optimizer Dataset
19
+
20
+ Assembled waste classification dataset covering **18 categories**, used to train the
21
+ [cpoisson/trash-optimizer-models](https://huggingface.co/cpoisson/trash-optimizer-models) series.
22
+
23
+ Built with a custom pipeline that normalises, filters and balances images from three sources:
24
+
25
+ | Source | Categories contributed | License |
26
+ |---|---|---|
27
+ | [RealWaste](https://archive.ics.uci.edu/dataset/908/realwaste) (UCI / Kaggle) | cardboard, food_organics, glass, metal, miscellaneous_trash, paper, plastic, textile_trash, vegetation | CC BY 4.0 |
28
+ | [RHWC](https://www.kaggle.com/datasets/alistairking/recyclable-and-household-waste-classification) (Kaggle) | cardboard, food_organics, glass, metal, paper, plastic, textile_trash | CC BY-SA 4.0 |
29
+ | Custom (web-scraped) | battery, car_battery, light_bulb, mirror, neon, pharmacy, printer_cartridge, tire, wood | ⚠️ Mixed — images sourced from the public web, licenses vary |
30
+
31
+ > **Note**: The custom category images were collected from publicly accessible web sources.
32
+ > Their individual licenses may vary. Use for research and non-commercial purposes.
33
+
34
+ ## Structure
35
+
36
+ ```
37
+ dataset/
38
+ battery/ 277 images
39
+ car_battery/ 260 images
40
+ cardboard/ 500 images
41
+ food_organics/ 500 images
42
+ glass/ 500 images
43
+ light_bulb/ 157 images
44
+ metal/ 500 images
45
+ mirror/ 194 images
46
+ miscellaneous_trash/ 500 images
47
+ neon/ 190 images
48
+ paper/ 500 images
49
+ pharmacy/ 257 images
50
+ plastic/ 500 images
51
+ printer_cartridge/ 357 images
52
+ textile_trash/ 500 images
53
+ tire/ 353 images
54
+ vegetation/ 436 images
55
+ wood/ 245 images
56
+ ```
57
+
58
+ **Total: 6,229 images across 18 categories**
59
+
60
+ Images are JPEG/PNG, minimum size 150×150px, maximum 500 images per category.
61
+ Filename prefix indicates source: `realwaste_*`, `rhwc_*`, `customdataset_*`.
62
+
63
+ ## Dataset builder
64
+
65
+ The assembly pipeline is available in the
66
+ [trash-optimizer](https://github.com/cpoisson/trash-optimizer) repository
67
+ under `dataset/datasetbuilder.py`, configured via `trash-optimizer-datasetbuilder.toml`.
68
+
69
+ ## Model trained on this dataset
70
+
71
+ → [cpoisson/trash-optimizer-models](https://huggingface.co/cpoisson/trash-optimizer-models)
72
+ — EfficientNet-B0, 95.07% test accuracy across 18 categories.
73
+
74
+ ## Citation
75
+
76
+ If you use the RealWaste portion, please cite:
77
+ ```bibtex
78
+ @misc{realwaste,
79
+ author = {Majchrowska, Sylwia and others},
80
+ title = {RealWaste},
81
+ year = {2023},
82
+ publisher = {UCI Machine Learning Repository},
83
+ doi = {10.24432/C5SS4S}
84
+ }
85
+ ```