From d45eb77d8ad2c2385a0c6baf050a4a677d332722 Mon Sep 17 00:00:00 2001 From: oscarpocock Date: Sun, 17 Apr 2022 15:29:50 +0100 Subject: [PATCH] Added blog post for week 10 --- content/posts/week-10.md | 40 +++ public/404.html | 2 +- public/categories/index.html | 4 +- public/categories/page/1/index.html | 11 +- public/docs/developer/index.html | 4 +- public/docs/index.html | 4 +- public/docs/user/index.html | 4 +- ...9669fd89d83622a4a30912bb3bebc54f94e6bac.js | 1 + ...dfdb147c344002d63293b8ad6697c1cbe08a5f2.js | 1 + public/index.html | 4 +- public/index.xml | 13 +- public/posts/index.html | 28 +- public/posts/index.xml | 13 +- public/posts/page/1/index.html | 11 +- public/posts/week-1/index.html | 4 +- public/posts/week-10/index.html | 332 ++++++++++++++++++ public/posts/week-2/index.html | 4 +- public/posts/week-3/index.html | 4 +- public/posts/week-4/index.html | 4 +- public/posts/week-5/index.html | 4 +- public/posts/week-6/index.html | 4 +- public/posts/week-7/index.html | 4 +- public/posts/week-8/index.html | 4 +- public/posts/week-9/index.html | 4 +- public/sitemap.xml | 7 +- public/tags/index.html | 4 +- public/tags/page/1/index.html | 11 +- 27 files changed, 490 insertions(+), 40 deletions(-) create mode 100644 content/posts/week-10.md create mode 100644 public/en.search-data.min.eb69b2118acfaac98ee24dc1c9669fd89d83622a4a30912bb3bebc54f94e6bac.js create mode 100644 public/en.search.min.0c8af0cffc76d081a5a819e52dfdb147c344002d63293b8ad6697c1cbe08a5f2.js create mode 100644 public/posts/week-10/index.html diff --git a/content/posts/week-10.md b/content/posts/week-10.md new file mode 100644 index 0000000..e1f3a6d --- /dev/null +++ b/content/posts/week-10.md @@ -0,0 +1,40 @@ +--- +title: "Week 10" +date: 2022-04-10T13:13:48+01:00 +draft: false +--- +This week I was busy applying for jobs and working on the CS38220 assignment. So I only managed to do code clean-up and implementing a config file which allows a user to change the order of filters and other settings. + +Config file example: `config.yml` + +```yaml {linenos=table, linenostart=1} +--- +# Config file for autophotographer + +# List of filters to apply in order +filters: + - brightness + - filesize + - contrast + - focus + +# Whether or not to apply CNN ranking +CNNrank: True + +# Options for focus filter +brightness_options: + threshold: 0.35 + +# Options for focus filter +filesize_options: + threshold: 0.35 + +# Options for focus filter +contrast_options: + threshold: 0.35 + +# Options for focus filter +focus_options: + threshold: 0.35 +... +``` diff --git a/public/404.html b/public/404.html index 568e866..411d712 100644 --- a/public/404.html +++ b/public/404.html @@ -14,7 +14,7 @@ - + + + + + + + + +
+ + +
+
+ +
+ + + Week 10 + + +
+ + + + + + +
+ + + +
+

+ Week 10 +

+ +
April 10, 2022
+ + + + + + + + + +

This week I was busy applying for jobs and working on the CS38220 assignment. So I only managed to do code clean-up and implementing a config file which allows a user to change the order of filters and other settings.

+

Config file example: config.yml

+
+ +
+
 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
+
+
---
+# Config file for autophotographer
+
+# List of filters to apply in order
+filters:
+  - brightness
+  - filesize
+  - contrast
+  - focus
+
+# Whether or not to apply CNN ranking
+CNNrank: True
+
+# Options for focus filter
+brightness_options:
+  threshold: 0.35
+
+# Options for focus filter
+filesize_options:
+  threshold: 0.35
+
+# Options for focus filter
+contrast_options:
+  threshold: 0.35
+
+# Options for focus filter
+focus_options:
+  threshold: 0.35
+...
+
+
+
+ + + +
+ +
+ + + + + +
+ + + +
+ + + +
+ +
+ + + + +
+ + + + +
+ + + + + + + + + + + + + + + + + diff --git a/public/posts/week-2/index.html b/public/posts/week-2/index.html index eb6b9df..af0db17 100644 --- a/public/posts/week-2/index.html +++ b/public/posts/week-2/index.html @@ -2,7 +2,7 @@ - + - +