Matt McWilliams
f103133b9f
This script can now, on at least one example. locate the largest contours on the page and then put those contours in an array. It should also look for the largest, most outlying, to prevent errors in the case of large contours in the image. They should never go past the holes. Next step: use this for straightening, which will be good for the image extraction script. Use them as registration points and then just rotate, shift and "shoot" by cropping at a point relative to the holes. For calibration/templating, look into pattern matching fiducials after getting hole punch coordinates. |
||
---|---|---|
.. | ||
notes | ||
.gitignore | ||
README.md | ||
analyze.py | ||
requirements.txt |
README.md
Four Cell Script
Two scripts:
- Analyzes a calibration sheet on the plotter to generate a template.
- Takes cells and inserts them into the template 4 at a time.
Analysis Steps
- Locate positions of 6 hole punches
- Orient to square position
- Find all 4 fiducials
- Calculate their position relative to the hole punches
- Create a template
- Use the template-filling script to recreate calibration page as a proof to be checked on a lightbox