By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

 waste.html

View raw Download
text/html • 9.56 kiB
HTML document, Unicode text, UTF-8 text
        
            
1
<!DOCTYPE html>
2
<html lang="en">
3
<head>
4
<meta charset="UTF-8">
5
<title>
6
Waste detection
7
</title>
8
<link rel="stylesheet" href="/static/style.css">
9
<meta name="viewport" content="width=device-width, initial-scale=1.0">
10
</head>
11
<body>
12
<header>
13
<a href="#main" id="skip-link">Skip navigation</a>
14
<nav>
15
<ul>
16
<li><a href="/">Home</a></li>
17
<li><a href="/projects">Projects</a></li>
18
<li><a href="/index">Index</a></li>
19
<li><a href="/about">About</a></li>
20
<li><a href="https://roundabout-host.com/roundabout">Roundabout-host</a></li>
21
</ul>
22
<ul>
23
<li><a href="mailto:root@roundabout-host.com" id="mail-link">root@roundabout-host.com</a></li>
24
</ul>
25
</nav>
26
</header>
27
<main id="main">
28
29
<div class="project-title">
30
<h1>
31
Waste detection
32
</h1>
33
<a href="https://roundabout-host.com/roundabout/waste-detection" class="repository-button">Go to repository</a>
34
</div>
35
<p class="tags">
36
37
<a href="/index/ai.html" class="tag">ai</a>
38
39
<a href="/index/machine learning.html" class="tag">machine learning</a>
40
41
<a href="/index/computer vision.html" class="tag">computer vision</a>
42
43
<a href="/index/environment.html" class="tag">environment</a>
44
45
<a href="/index/waste.html" class="tag">waste</a>
46
47
<a href="/index/data.html" class="tag">data</a>
48
49
<a href="/index/yolo.html" class="tag">yolo</a>
50
51
<a href="/index/keras.html" class="tag">keras</a>
52
53
<a href="/index/python.html" class="tag">python</a>
54
55
<a href="/index/agpl.html" class="tag">agpl</a>
56
57
<a href="/index/cc-by-sa.html" class="tag">cc-by-sa</a>
58
59
<a href="/index/cc-by-nc.html" class="tag">cc-by-nc</a>
60
61
<a href="/index/waste detection.html" class="tag">waste detection</a>
62
63
<a href="/index/creative commons.html" class="tag">creative commons</a>
64
65
<a href="/index/crowdsourcing.html" class="tag">crowdsourcing</a>
66
67
</p>
68
<article class="content-area">
69
<p>An YOLO model specifically trained to detect waste in images. We collected a custom dataset of waste,
70
classified and annotated it, and trained the model using YOLOv8 on Keras. The model is able to detect
71
the position and class of waste in images. It can separate the following classes of waste:
72
</p><ul><li><p>Plastic
73
</p></li><li><p>Metal
74
</p></li><li><p>Paper
75
</p></li><li><p>Glass
76
</p></li><li><p>Organic
77
</p></li><li><p>Wood
78
</p></li><li><p>Textile
79
</p></li><li><p>Medical
80
</p></li><li><p>Electronic
81
</p></li><li><p>Other
82
</p></li></ul><p>There are actually over 90 classes, but they are grouped into these ones because there is only
83
a small amount (in the 1-2 digits) of samples for each class. The model is able to detect multiple
84
classes in the same image, or acknowledge that there is no waste in the image.
85
</p><p>YOLO is used pretrained on the COCO dataset, and then fine-tuned on our dataset. This is until
86
there are enough samples for each class to train the model from scratch.
87
</p><p>Contributions are welcome. If you have a dataset of waste, please share it with us. We will
88
annotate it (if it's not already) and train the model on it.
89
</p><p>You don't need technical knowledge to contribute. If you can take photos with a phone and make
90
a ZIP of them, you can contribute. If you can draw rectangles around objects with the mouse,
91
you can contribute. If you can drop photos into folders corresponding to their class, you can
92
contribute.
93
</p><p>Of course, if you do have technical knowledge, you can help with the model training, testing, and
94
optimisation. You can also improve the training code and better process the dataset.
95
</p><h2>Licence</h2><p>Unless otherwise stated, the software (source code) in this repository is licenced under the GNU Affero General Public License,
96
with an additional permission in section 7 - basically an LAGPL.
97
A copy of the licence is located in the file <code>LICENCE-GNU-AGPL.md</code> in this directory.
98
</p><blockquote><p>This program is free software, you can redistribute it and/or modify
99
it under the terms of GNU Affero General Public License
100
as published by the Free Software Foundation, either version 3
101
of the License, or (at your option) any later version.
102
</p><p>This program is distributed in the hope that it will be useful,
103
but WITHOUT ANY WARRANTY; without even the implied warranty of
104
or FITNESS FOR A PARTICULAR PURPOSE. See the
105
General Public License for more details.
106
</p><p>You should have received a copy of the the GNU Affero
107
General Public License, along with this program. If not, see
108
<a href="https://www.gnu.org/licenses/">https://www.gnu.org/licenses/</a>.
109
</p><h5>Additional permission under the GNU Affero GPL version 3 section 7:</h5><p>If you modify this program, or any covered work, by linking or
110
combining it with other code, such other code is not for that reason
111
alone subject to any of the requirements of the GNU Affero GPL
112
version 3.
113
</p></blockquote><p>Unless otherwise stated, the annotations in this repository are dual-licensed under either of these licences:
114
</p><ul><li><p><a href="https://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution Share-Alike 4.0</a>.
115
To view a copy of this license, read the <code>LICENCE-CC-BY-SA.md</code> file, visit http://creativecommons.org/licenses/by-sa/4.0/
116
or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
117
</p></li><li><p><a href="https://creativecommons.org/licenses/by-nc/4.0/">Creative Commons Attribution Non-Commercial 4.0</a>.
118
To view a copy of this license, read the <code>LICENCE-CC-BY-NC.md</code> file, visit http://creativecommons.org/licenses/by-nc/4.0/
119
or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
120
</p></li></ul><p>You do not have to comply with the terms of both licences. Choose one and comply only with it.
121
</p><p>The images in the repository are licensed depending on their source:
122
</p><ul><li><p>If the file name has the <code>original</code> prefix (or no prefix at all), the images are licenced under the same terms as the annotations (see above).
123
</p></li><li><p>If the file name has the <code>trash-detection</code> prefix, it comes from https://universe.roboflow.com/nora-slimani/trash-detection-otdmj and is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0</a>.
124
</p></li><li><p>If the file name has the <code>ffml</code> prefix, it comes from https://www.kaggle.com/datasets/cristeaioan/ffml-dataset and is licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution Share-Alike 4.0</a>.
125
</p></li><li><p>If the file name has the <code>dwc</code> prefix, it comes from https://www.kaggle.com/datasets/arkadiyhacks/drinking-waste-classification and is public domain.
126
</p></li><li><p>If the file name has the <code>hitl</code> prefix, it comes from https://www.kaggle.com/datasets/humansintheloop/recycling-dataset and is public domain.
127
</p></li></ul><p>I hope I didn't infringe on any licences or miss any sources. If you think there is a problem,
128
please send me an email at <a href="mailto:root&amp;#64;roundabout-host.com">root&amp;#64;roundabout-host.com</a> and I'll remove the infringing files.
129
</p><p>The VIA application shipped in this repository (located at the <code>/via</code> path) is licensed under the BSD licence.
130
</p><blockquote><p>Copyright (c) 2016-2021, Abhishek Dutta, Visual Geometry Group, Oxford University and VIA Contributors.
131
All rights reserved.
132
Redistribution and use in source and binary forms, with or without
133
modification, are permitted provided that the following conditions are met:
134
</p><p>Redistributions of source code must retain the above copyright notice, this
135
list of conditions and the following disclaimer.
136
</p><p>Redistributions in binary form must reproduce the above copyright notice,
137
this list of conditions and the following disclaimer in the documentation
138
and/or other materials provided with the distribution.
139
</p><p>THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
140
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
141
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
142
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
143
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
144
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
145
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
146
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
147
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
148
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
149
POSSIBILITY OF SUCH DAMAGE.
150
</p></blockquote>
151
</article>
152
153
</main>
154
<footer>
155
<p>Page generated on Sunday, 4 May 2025 at 15:06:42</p>
156
<p xmlns:cc="http://creativecommons.org/ns#" >This work is marked with <a href="https://creativecommons.org/publicdomain/zero/1.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">CC0 1.0 Universal</a> (🄍). No rights reserved.</p>
157
<p>Hosted at <a href="https://roundabout-host.com/roundabout">Roundabout-host</a> using the static site service, and generated with <a href="/projects/ampoule.html">Ampoule</a>.</p>
158
<a href="#">Back to top</a>
159
</footer>
160
</body>
161
</html>