Clean up presenter notes
This commit is contained in:
parent
98cae0c828
commit
0073bb0363
1 changed files with 7 additions and 7 deletions
|
@ -29,7 +29,7 @@
|
||||||
- Help _others_ build robots
|
- Help _others_ build robots
|
||||||
</aside>
|
</aside>
|
||||||
</section>
|
</section>
|
||||||
<section data-background-iframe="https://www.youtube-nocookie.com/embed/xiDS58Htuh4?autoplay=1&start=24">
|
<section data-background-iframe="https://www.youtube-nocookie.com/embed/xiDS58Htuh4?autoplay=1&start=25">
|
||||||
<aside class="notes" data-markdown>
|
<aside class="notes" data-markdown>
|
||||||
- I volunteer for Student Robotics
|
- I volunteer for Student Robotics
|
||||||
- Charity to help students get into STEM
|
- Charity to help students get into STEM
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
<section>
|
<section>
|
||||||
<h2 class="r-fit-text">How do fiducial markers work?</h2>
|
<h2 class="r-fit-text">How do fiducial markers work?</h2>
|
||||||
<aside class="notes" data-markdown>
|
<aside class="notes" data-markdown>
|
||||||
- How does it actually _work_?
|
- How do they work?
|
||||||
</aside>
|
</aside>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
@ -95,6 +95,7 @@
|
||||||
- Markers are squares
|
- Markers are squares
|
||||||
- Well, quadralaterals
|
- Well, quadralaterals
|
||||||
- Find collections with 4 sides
|
- Find collections with 4 sides
|
||||||
|
- Filter out rectangles, nested collections etc
|
||||||
</aside>
|
</aside>
|
||||||
</section>
|
</section>
|
||||||
<section data-background-image="https://docs.opencv.org/4.x/singlemarkersoriginal.jpg">
|
<section data-background-image="https://docs.opencv.org/4.x/singlemarkersoriginal.jpg">
|
||||||
|
@ -106,7 +107,6 @@
|
||||||
- Make our lives easier!
|
- Make our lives easier!
|
||||||
- Skew the image a bit
|
- Skew the image a bit
|
||||||
- Same process used for those paper scanning apps
|
- Same process used for those paper scanning apps
|
||||||
- Markers are now always straight on
|
|
||||||
</aside>
|
</aside>
|
||||||
</section>
|
</section>
|
||||||
<section data-background-image="https://docs.opencv.org/4.x/bitsextraction2.png" data-background-size="contain">
|
<section data-background-image="https://docs.opencv.org/4.x/bitsextraction2.png" data-background-size="contain">
|
||||||
|
@ -117,7 +117,7 @@
|
||||||
- We know how many pixels are in a marker
|
- We know how many pixels are in a marker
|
||||||
- Divide it down into cells
|
- Divide it down into cells
|
||||||
- Add some margins in case we're slightly off
|
- Add some margins in case we're slightly off
|
||||||
- Average the remaining pixels in each cell
|
- If it's over 50% white, it's a 1
|
||||||
- Convert into 2D list
|
- Convert into 2D list
|
||||||
</aside>
|
</aside>
|
||||||
</section>
|
</section>
|
||||||
|
@ -125,7 +125,7 @@
|
||||||
<h2 class="r-fit-text">6. Decoding</h2>
|
<h2 class="r-fit-text">6. Decoding</h2>
|
||||||
<aside class="notes" data-markdown>
|
<aside class="notes" data-markdown>
|
||||||
- Just 1s and 0s now
|
- Just 1s and 0s now
|
||||||
- 7x7 markers have 2041 combinations
|
- Keen eyed may have noticed 7x7 markers have 2041 combinations
|
||||||
- There are only ~255 possible combinations
|
- There are only ~255 possible combinations
|
||||||
- Error checks
|
- Error checks
|
||||||
- Single pixel flips can be corrected
|
- Single pixel flips can be corrected
|
||||||
|
@ -141,6 +141,7 @@
|
||||||
- Which way is it facing?
|
- Which way is it facing?
|
||||||
- We know where the corners are
|
- We know where the corners are
|
||||||
- We can get the angle from that
|
- We can get the angle from that
|
||||||
|
- Much like when we removed distortion
|
||||||
- If we know the size of the marker, we can calculate its distance
|
- If we know the size of the marker, we can calculate its distance
|
||||||
- Some calibration per camera model is required
|
- Some calibration per camera model is required
|
||||||
- Done once upfront
|
- Done once upfront
|
||||||
|
@ -148,7 +149,6 @@
|
||||||
- _complicated maths_
|
- _complicated maths_
|
||||||
- `solvePnP` in OpenCV (entertaining name)
|
- `solvePnP` in OpenCV (entertaining name)
|
||||||
- "Perspective 'n' Point"
|
- "Perspective 'n' Point"
|
||||||
- Requires calibration for each camera model
|
|
||||||
- With simpler maths, can be turned into angles, distances etc
|
- With simpler maths, can be turned into angles, distances etc
|
||||||
</aside>
|
</aside>
|
||||||
</section>
|
</section>
|
||||||
|
@ -215,7 +215,7 @@
|
||||||
from zoloto import MarkerType
|
from zoloto import MarkerType
|
||||||
from zoloto.cameras import Camera
|
from zoloto.cameras import Camera
|
||||||
|
|
||||||
with Camera(marker_type=MarkerType.ARUCO_6X6) as camera:
|
with Camera(marker_type=MarkerType.APRILTAG_36H11) as camera:
|
||||||
for frame in camera:
|
for frame in camera:
|
||||||
print(
|
print(
|
||||||
"Markers I can see:",
|
"Markers I can see:",
|
||||||
|
|
Loading…
Reference in a new issue