Skip to content

Instantly share code, notes, and snippets.

View mightbesimon's full-sized avatar
😎
excited

Simon mightbesimon

😎
excited
View GitHub Profile
@mightbesimon
mightbesimon / .bash_profile
Created July 26, 2022 01:53
run `$ firealarm` before leaving the building
alias firealarm=$'git checkout main && git commit -a -m \'[draft] fire alarm\' && git push --force --set-upstream origin main'
@mightbesimon
mightbesimon / QR code detection.py
Created July 25, 2021 05:46
QR code detection - Image processing
''' COMPSCI 373 (2021) - University of Auckland
ASSIGNMENT ONE - QR Code Detection
Simon Shan  441147157
[!] * * * PLEASE NOTE * * * [!]
In this code, sobel and mean kernel operations may look weird.
They are optimised for speed.
For example, instead of [1 0 -1] * [a b c] = [1*a, 0*b, -1*c],
it is simply a - c in my representation
'''
@mightbesimon
mightbesimon / SixLiner.m
Created February 21, 2020 07:31
UoA Engineering ENGGEN 131 s2 2019 MATLAB project
function [medianImage , maxImage] = SixLiner(dirName , fileType)
% SixLiner: does the matlab project in six lines of code
%
% inputs : dirName = directory of the images
% fileType = file extension type of the images
% outputs :medianImage = image background
% maxImage = images combined on background
%
% by simon shan