-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathknotclassifier.html
More file actions
274 lines (233 loc) · 13.4 KB
/
knotclassifier.html
File metadata and controls
274 lines (233 loc) · 13.4 KB
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>The Knot Classifier - Joseph Cameron's Portfolio</title>
<meta content="" name="description">
<meta content="" name="keywords">
<!-- Favicons -->
<link href="assets/img/favicon.png" rel="icon">
<link href="assets/img/apple-touch-icon.png" rel="apple-touch-icon">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Raleway:300,300i,400,400i,500,500i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet">
<!-- Vendor CSS Files -->
<link href="assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="assets/vendor/icofont/icofont.min.css" rel="stylesheet">
<link href="assets/vendor/boxicons/css/boxicons.min.css" rel="stylesheet">
<link href="assets/vendor/venobox/venobox.css" rel="stylesheet">
<link href="assets/vendor/owl.carousel/assets/owl.carousel.min.css" rel="stylesheet">
<link href="assets/vendor/aos/aos.css" rel="stylesheet">
<!-- Main CSS File -->
<link href="assets/css/style.css" rel="stylesheet">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-K7DV04F4RX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-K7DV04F4RX');
</script>
<!-- =======================================================
* Joseph Cameron's Portfolio Website
* The Knot Classifier Project
* By Joseph Cameron
======================================================== -->
</head>
<body>
<!-- ======= Mobile nav toggle button ======= -->
<button type="button" class="mobile-nav-toggle d-xl-none"><i class="icofont-navigation-menu"></i></button>
<!-- ======= Header ======= -->
<header id="header">
<div class="d-flex flex-column">
<div class="profile">
<img src="assets/img/profile-img.jpg" alt="" class="img-fluid rounded-circle">
<h1 style="text-align:center;" class="text-light"><a href="index.html">Joseph Cameron</a></h1>
<div class="social-links mt-3 text-center">
<a href="https://www.github.com/joecameron1" title="My GitHub Profile" class="github"><i class="bx bxl-github"></i></a>
<a href="https://www.instagram.com/jose_cameron" title="My Instagram Profile" class="instagram"><i class="bx bxl-instagram"></i></a>
<a href="https://www.facebook.com/joseph.cameron.92" title="My Facebook Profile" class="facebook"><i class="bx bxl-facebook"></i></a>
<a href="https://www.linkedin.com/in/josephmcameron" title="My LinkedIn Profile" class="linkedin"><i class="bx bxl-linkedin"></i></a>
<a href="https://www.soundcloud.com/josephmcameron" title="My Soundcloud Profile" class="soundcloud"><i class="bx bxl-soundcloud"></i></a>
</div>
</div>
<nav class="nav-menu">
<ul>
<li><a href="index.html"><i class="bx bx-home"></i> <span>Home</span></a></li>
<li><a href="index.html#about"><i class="bx bx-user"></i> <span>About</span></a></li>
<li class="active"><a href="index.html#portfolio"><i class="bx bx-book-content"></i> Portfolio</a></li>
<li><a href="index.html#resume"><i class="bx bx-file-blank"></i> <span>Resume</span></a></li>
<li><a href="index.html#contact"><i class="bx bx-envelope"></i> Contact</a></li>
</ul>
</nav><!-- .nav-menu -->
<button type="button" class="mobile-nav-toggle d-xl-none"><i class="icofont-navigation-menu"></i></button>
</div>
</header><!-- End Header -->
<main id="main">
<!-- ======= Breadcrumbs ======= -->
<section id="breadcrumbs" class="breadcrumbs">
<div class="container">
<div class="d-flex justify-content-between align-items-center">
<h1><strong>The Knot Classifier</strong></h1>
<ol>
<li><a href="index.html#portfolio">Portfolio</a></li>
<li>The Knot Classifier</li>
</ol>
</div>
</div>
</section><!-- End Breadcrumbs -->
<!-- ======= Portfolio Details Section ======= -->
<section id="portfolio-details" class="portfolio-details">
<div class="container">
<div class="portfolio-details-container">
<div class="owl-carousel portfolio-details-carousel">
<img src="assets/img/portfolio/knotclassifier/knotclassifier-1.jpg" class="img-fluid" alt="">
<img src="assets/img/portfolio/knotclassifier/knotclassifier-2.jpg" class="img-fluid" alt="">
<img src="assets/img/portfolio/knotclassifier/knotclassifier-3.jpg" class="img-fluid" alt="">
</div>
<div class="portfolio-info">
<h3>Project Information</h3>
<ul>
<li><strong>Category</strong>: Development, Design, Writing</li>
<li><strong>Purpose</strong>: Honours Dissertation Project</li>
<!--<li><strong>Project Dates</strong>: October 2017 - April 2018</li>-->
<li><strong>Project URL</strong>: <a href="https://www.github.com/joecameron1/individualproject" target="_blank">github.com/JoeCameron1/IndividualProject</a></li>
<li><strong>Dissertation</strong>: <a href="https://github.com/JoeCameron1/IndividualProject/blob/master/Dissertation/dissertation.pdf" target="_blank">See My Dissertation</a></li>
</ul>
</div>
</div>
<div class="portfolio-description">
<h2>Using Machine Learning to Understand the Topology of Knots</h2>
<p>
This project was my individual dissertation project, which I started and completed during my 4th year at the University of Glasgow.
My dissertation which accompanies this project can be downloaded and viewed <a href="https://github.com/JoeCameron1/IndividualProject/blob/master/Dissertation/dissertation.pdf" target="_blank">here</a>.
<br><br>
The aim of this project is to classify knots (knots tied in rope or other materials) based on their topology, from images.
Overall, the project provides the capability to classify ten knots, with the ten knots being: the alpine butterfly knot; the bowline knot; the clove hitch; the figure-8 knot; the figure-8 loop; the fisherman's knot; the flemish bend; the overhand knot; the reef knot; and the slip knot.
<br><br>
Knot classification is achieved via a convolutional neural network implemented in <a href="https://keras.io" target="_blank">Keras</a> (with a Tensorflow backend).
I created a controlled dataset called 10Knots, and this dataset was used to train and validate the convolutional neural network performing knot classification.
10Knots contains images of these ten knots in differing conditions to help minimise overfitting.
<a href="https://www.kaggle.com/josephcameron/10knots" target="_blank">Click here to see 10Knots on Kaggle.</a>
The classification software also provides many useful data visualisation plots such as a t-SNE visualisation plot, multiple training history plots and a confusion matrix plot.
These plots are extremely useful for evaluating the knot classifier, and some of them can be seen above.
<br><br>
Furthermore, I developed an iOS application to serve as an interface to utilise the trained Keras convolutional neural network to predict knots in real time via an iPhone's camera.
A screenshot of the iOS application can be seen above and there is a video that shows the app in action below.
The application's interface is seamless and very intuitive to use, the user simply points their phone's camera at a knot and receives the top-3 classifications (with their certainties) instantaneously.
I kept the user interface simple on purpose, as I wanted the user to interact with a seemingly complicated and foreign neural network in an understandable and relatable way.
The iOS application is called 'The Knot Classifier', and it was coded in Swift.
<br><br>
Below is a video where I detail the implementation of the whole project and provide a demonstration of the Knot Classifier iOS application.
<br><br>
<iframe width="560" height="315" src="https://www.youtube.com/embed/OvO8Q4mA0ac" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<br><br>
</p>
<div class="row">
<div class="col-lg-6">
<h3>Technologies Used:</h3>
<ul>
<li>Python</li>
<li>Keras</li>
<li>Tensorflow</li>
<li>Swift</li>
<li>Xcode</li>
<li>Core ML</li>
</ul>
</div>
<div class="col-lg-6">
<h3>Skills Demonstrated:</h3>
<ul>
<li>Creativity</li>
<li>Organisation</li>
<li>Software Development</li>
<li>Interaction Design</li>
<li>Deep Learning</li>
<li>Data Science</li>
<li>Data Visualisation</li>
<li>Academic Writing</li>
</ul>
</div>
</div>
</div>
<!-- HORIZONTAL RULE -->
<div>
<hr>
</div>
<!-- SIMILAR PROJECTS -->
<div class="similar-projects-in-portfolio">
<h2>Similar Projects in My Portfolio:</h2>
<div class="row">
<!-- Data Science Toolbox -->
<div class="col-lg-4 col-md-6 similar-project-item">
<div class="similar-project-wrap">
<img src="assets/img/portfolio/datasciencetoolbox/data-science-toolbox-cover.jpg" class="img-fluid" alt="">
<div class="similar-project-title">
<a href="datasciencetoolbox.html">Data Science Toolbox</a>
</div>
<div class="similar-project-links">
<a href="datasciencetoolbox.html" title="More Details"><i class="bx bx-link"></i></a>
</div>
</div>
</div>
<!-- Augmented Chang and Roberts Algorithm -->
<div class="col-lg-4 col-md-6 similar-project-item">
<div class="similar-project-wrap">
<img src="assets/img/portfolio/augmentedcralgorithm/augmented-cr-algorithm-cover.jpg" class="img-fluid" alt="">
<div class="similar-project-title">
<a href="augmentedcralgorithm.html">New C&R Algorithm</a>
</div>
<div class="similar-project-links">
<a href="augmentedcralgorithm.html" title="More Details"><i class="bx bx-link"></i></a>
</div>
</div>
</div>
<!-- ParkUp -->
<div class="col-lg-4 col-md-6 similar-project-item">
<div class="similar-project-wrap">
<img src="assets/img/portfolio/parkup/parkup-cover.jpg" class="img-fluid" alt="">
<div class="similar-project-title">
<a href="parkup.html">ParkUp</a>
</div>
<div class="similar-project-links">
<a href="parkup.html" title="More Details"><i class="bx bx-link"></i></a>
</div>
</div>
</div>
</div>
</div>
<!-- BACK TO PORTFOLIO BUTTON -->
<div>
<a class="back-to-portfolio-button" href="index.html#portfolio">Back to Portfolio</a>
</div>
</div>
</section><!-- End Portfolio Details Section -->
</main><!-- End #main -->
<!-- ======= Footer ======= -->
<footer id="footer">
<div class="container">
<div class="copyright">
© Copyright <strong><span>Joseph Cameron</span></strong>
</div>
<div class="credits">
Made by Joseph Cameron<br><a href="https://github.com/JoeCameron1/JoeCameron1.github.io" target="_blank">View the code on GitHub</a>
</div>
</div>
</footer><!-- End Footer -->
<a href="#" class="back-to-top"><i class="icofont-simple-up"></i></a>
<!-- Vendor JS Files -->
<script src="assets/vendor/jquery/jquery.min.js"></script>
<script src="assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="assets/vendor/jquery.easing/jquery.easing.min.js"></script>
<script src="assets/vendor/php-email-form/validate.js"></script>
<script src="assets/vendor/waypoints/jquery.waypoints.min.js"></script>
<script src="assets/vendor/counterup/counterup.min.js"></script>
<script src="assets/vendor/isotope-layout/isotope.pkgd.min.js"></script>
<script src="assets/vendor/venobox/venobox.min.js"></script>
<script src="assets/vendor/owl.carousel/owl.carousel.min.js"></script>
<script src="assets/vendor/typed.js/typed.min.js"></script>
<script src="assets/vendor/aos/aos.js"></script>
<!-- Main JS File -->
<script src="assets/js/main.js"></script>
</body>
</html>