animation/fourcell
Matt McWilliams 9b48e52736 Migrate common functions into common.py to share between scripts 2022-11-24 11:21:06 -05:00
..
notes Add a few pattern matching algorithms to notes 2022-11-14 13:40:26 -05:00
.gitignore Started analysis script with single example taken from stackoverflow as a starting point. Had to modify it to support opencv 4.x but got it to run. Finds holes. 2022-11-08 19:11:15 -05:00
README.md Add hole punch diagram to readme 2022-11-24 11:19:17 -05:00
common.py Migrate common functions into common.py to share between scripts 2022-11-24 11:21:06 -05:00
normalize.py Migrate common functions into common.py to share between scripts 2022-11-24 11:21:06 -05:00
requirements.txt Started analysis script with single example taken from stackoverflow as a starting point. Had to modify it to support opencv 4.x but got it to run. Finds holes. 2022-11-08 19:11:15 -05:00

README.md

Four Cell Script

Two scripts:

  1. Analyzes a calibration sheet on the plotter to generate a template.
  2. Takes cells and inserts them into the template 4 at a time.

Analysis Steps

  1. Locate positions of 6 hole punches - normalize.py
  2. Orient to square position - normalize.py
  3. Find all 4 fiducials
  4. Calculate their position relative to the hole punches
  5. Create a template
  6. Use the template-filling script to recreate calibration page as a proof to be checked on a lightbox

Page Hole Punch Order

______________
|             |
| 1         3 |
|             |
|             |
|             |
| 3         4 |
|             |
|             |
|             |
| 5         6 |
|             |
---------------