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 • 8.18 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
<nav>
14
<ul>
15
<li><a href="/">Home</a></li>
16
<li><a href="/projects">Projects</a></li>
17
<li><a href="/index">Index</a></li>
18
<li><a href="/about">About</a></li>
19
<li><a href="https://roundabout-host.com/roundabout">Roundabout-host</a></li>
20
</ul>
21
<ul>
22
<li><a href="mailto:root@roundabout-host.com" id="mail-link">root@roundabout-host.com</a></li>
23
</ul>
24
</nav>
25
</header>
26
<main>
27
28
<h1 class="project-title">
29
<span>Waste detection</span>
30
<a href="https://roundabout-host.com/roundabout/waste-detection">Repository</a>
31
</h1>
32
<article class="content-area">
33
<p>An YOLO model specifically trained to detect waste in images. We collected a custom dataset of waste,
34
classified and annotated it, and trained the model using YOLOv8 on Keras. The model is able to detect
35
the position and class of waste in images. It can separate the following classes of waste:
36
</p><ul><li><p>Plastic
37
</p></li><li><p>Metal
38
</p></li><li><p>Paper
39
</p></li><li><p>Glass
40
</p></li><li><p>Organic
41
</p></li><li><p>Wood
42
</p></li><li><p>Textile
43
</p></li><li><p>Medical
44
</p></li><li><p>Electronic
45
</p></li><li><p>Other
46
</p></li></ul><p>There are actually over 90 classes, but they are grouped into these ones because there is only
47
a small amount (in the 1-2 digits) of samples for each class. The model is able to detect multiple
48
classes in the same image, or acknowledge that there is no waste in the image.
49
</p><p>YOLO is used pretrained on the COCO dataset, and then fine-tuned on our dataset. This is until
50
there are enough samples for each class to train the model from scratch.
51
</p><p>Contributions are welcome. If you have a dataset of waste, please share it with us. We will
52
annotate it (if it's not already) and train the model on it.
53
</p><p>You don't need technical knowledge to contribute. If you can take photos with a phone and make
54
a ZIP of them, you can contribute. If you can draw rectangles around objects with the mouse,
55
you can contribute. If you can drop photos into folders corresponding to their class, you can
56
contribute.
57
</p><p>Of course, if you do have technical knowledge, you can help with the model training, testing, and
58
optimisation. You can also improve the training code and better process the dataset.
59
</p><h2>Licence</h2><p>Unless otherwise stated, the software (source code) in this repository is licenced under the GNU Affero General Public License,
60
with an additional permission in section 7 - basically an LAGPL.
61
A copy of the licence is located in the file <code>LICENCE-GNU-AGPL.md</code> in this directory.
62
</p><blockquote><p>This program is free software, you can redistribute it and/or modify
63
it under the terms of GNU Affero General Public License
64
as published by the Free Software Foundation, either version 3
65
of the License, or (at your option) any later version.
66
</p><p>This program is distributed in the hope that it will be useful,
67
but WITHOUT ANY WARRANTY; without even the implied warranty of
68
or FITNESS FOR A PARTICULAR PURPOSE. See the
69
General Public License for more details.
70
</p><p>You should have received a copy of the the GNU Affero
71
General Public License, along with this program. If not, see
72
&lt;https://www.gnu.org/licenses/&gt;.
73
</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
74
combining it with other code, such other code is not for that reason
75
alone subject to any of the requirements of the GNU Affero GPL
76
version 3.
77
</p></blockquote><p>Unless otherwise stated, the annotations in this repository are dual-licensed under either of these licences:
78
</p><ul><li><p><a href="https://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution Share-Alike 4.0</a>.
79
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/
80
or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
81
</p></li><li><p><a href="https://creativecommons.org/licenses/by-nc/4.0/">Creative Commons Attribution Non-Commercial 4.0</a>.
82
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/
83
or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
84
</p></li></ul><p>You do not have to comply with the terms of both licences. Choose one and comply only with it.
85
</p><p>The images in the repository are licensed depending on their source:
86
</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).
87
</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>.
88
</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>.
89
</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.
90
</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.
91
</p></li></ul><p>I hope I didn't infringe on any licences or miss any sources. If you think there is a problem,
92
please send me an email at &lt;mailto:root@roundabout-host.com&gt; and I'll remove the infringing files.
93
</p><p>The VIA application shipped in this repository (located at the <code>/via</code> path) is licensed under the BSD licence.
94
</p><blockquote><p>Copyright (c) 2016-2021, Abhishek Dutta, Visual Geometry Group, Oxford University and VIA Contributors.
95
All rights reserved.
96
Redistribution and use in source and binary forms, with or without
97
modification, are permitted provided that the following conditions are met:
98
</p><p>Redistributions of source code must retain the above copyright notice, this
99
list of conditions and the following disclaimer.
100
</p><p>Redistributions in binary form must reproduce the above copyright notice,
101
this list of conditions and the following disclaimer in the documentation
102
and/or other materials provided with the distribution.
103
</p><p>THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
104
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
105
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
106
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
107
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
108
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
109
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
110
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
111
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
112
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
113
POSSIBILITY OF SUCH DAMAGE.
114
</p></blockquote>
115
</article>
116
117
</main>
118
<footer>
119
<p>Page generated on Saturday, 4 January 2025 at 11:16:28</p>
120
<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>
121
<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>
122
<a href="#">Back to top</a>
123
</footer>
124
</body>
125
</html>