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