diff --git a/src/img/not-hotdog.png b/src/img/not-hotdog.png deleted file mode 100644 index 3f7a1dd..0000000 Binary files a/src/img/not-hotdog.png and /dev/null differ diff --git a/src/img/object-recognition.png b/src/img/object-recognition.png deleted file mode 100644 index 6f46192..0000000 Binary files a/src/img/object-recognition.png and /dev/null differ diff --git a/src/index.html b/src/index.html index de72c55..5b7bec4 100644 --- a/src/index.html +++ b/src/index.html @@ -31,7 +31,7 @@
-
-

Environment

+
-
- -
-
-
-

Computer Vision

- -
-
-
-

Object Recognition

-

The hot new thing

- -
-
-

Prone to errors

- -
-
-

Computationally intensive

- -
-
-

What else?

- -
-
-

Fiducial Markers

-
-

Location

- -
-
-

We put them everywhere!

- -

How do fiducial markers work?

@@ -158,24 +77,25 @@ - Images aren't black and white - This slide is - Markers _are_ - - Discard the colour so the data we're working with is easier - - Grey is still more than enough data - Black and white! - - Thresholding - - Naive thresholding based on a value + - Not greyscale + - Much less data to be working with + - Thresholding achieves this + - Naive thresholding based on the entire image - Adaptive thresholding looks for hotspots and edges - - Useful in future + - Useful in future stages

3. Edge Detection

@@ -193,28 +113,28 @@
-

4. Distortion

- +

4. Distortion

+
-

5. Bit extraction

- +

5. Bit extraction

+

6. Decoding

@@ -235,18 +155,20 @@

7. Pose Estimation

-
-
-
diff --git a/src/index.js b/src/index.js index eeaa45b..7d86e8d 100644 --- a/src/index.js +++ b/src/index.js @@ -9,16 +9,3 @@ let deck = new Reveal({ hash: true }) deck.initialize(); - -// HACK: Manually transform parcel's hashed file paths for background images -const FILE_MAPPING = { - "./img/not-hotdog.png": new URL("./img/not-hotdog.png", import.meta.url).toString(), - "./img/object-recognition.png": new URL("./img/object-recognition.png", import.meta.url).toString(), -}; - -for (const src in FILE_MAPPING) { - const dest = FILE_MAPPING[src]; - document.querySelectorAll(`[data-background-image='${src}']`).forEach(e => { - e.dataset.backgroundImage = dest; - }) -}