+
+
+
+
+
+
+
+ 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
+...
+
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+