Go to file
Matt McWilliams f103133b9f Almost blew past a good stopping point.
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.
2022-11-08 22:47:36 -05:00
cmy Scripts for separating images into cmy (negative) and then stitching back together render files 2021-08-03 20:34:38 -04:00
fourcell Almost blew past a good stopping point. 2022-11-08 22:47:36 -05:00
guides guide_frame svg for most frames 2021-08-11 19:39:27 -04:00
left_right Sketch for evaluating the size of the frame these scripts generate 2021-07-30 00:54:00 -04:00
left_right_size Sketch for evaluating the size of the frame these scripts generate 2021-07-30 00:54:00 -04:00
left_right_spacing Add left_right_spacing with a loop.sh script that fixes all svg files after they're generated (using scale). EYE (spacing) values from 3.0 to 8.0 were tested on plotter at 50% scale. Scans of the pages were done. 2021-07-30 00:10:50 -04:00
numbers Restored centering logic. viewBox screws scale up a little and ultimately does not do what I hoped it would. 2021-07-29 18:43:42 -04:00
scan_orientation Can find corners of frames within scanned page and perform some calculations about height and width. 2021-12-19 21:12:12 -05:00
sql Create a sqlite database and log all frames drawn to it. For keeping track of pen usage and creating a dataset from which to predict drawing times for future frames 2021-12-08 00:18:45 -05:00
.gitignore Create a sqlite database and log all frames drawn to it. For keeping track of pen usage and creating a dataset from which to predict drawing times for future frames 2021-12-08 00:18:45 -05:00
.shellcheckrc Work: add shellcheck config (not working rn). Re-organize stipple script to be more flexible 2021-11-30 00:43:43 -05:00
ax.sh This is the ax script being run on bot when controlling the plotter 2021-12-07 23:10:26 -05:00
common.sh direct ax output from stderr to stdin 2021-12-08 18:48:25 -05:00
draw.sh Create a sqlite database and log all frames drawn to it. For keeping track of pen usage and creating a dataset from which to predict drawing times for future frames 2021-12-08 00:18:45 -05:00
field.sh Add comments to all scripts. 2021-09-16 10:42:59 -04:00
for.sh Silly hack to get svgopt to run without erroring out. 2022-10-12 13:37:13 -04:00
log.sh Fix log.sh, stipple.sh and seq.sh 2021-12-08 17:27:00 -05:00
opt.sh Work: add shellcheck config (not working rn). Re-organize stipple script to be more flexible 2021-11-30 00:43:43 -05:00
position.sh Lift pen before putting in position 2022-10-25 20:12:18 -04:00
seq.sh Progress 2022-10-25 20:07:58 -04:00
simulation.sh sim work 2021-12-02 01:04:23 -05:00
stipple.sh Progress 2022-10-25 20:07:58 -04:00
stipple_random.sh Add a "stipple_random" script that, unlike the sine, uses shuf and a sequence of integers to generate a random number to apply as the "step" in the range of stipple settings 2022-11-04 21:42:39 -04:00
stipple_sine.sh Progress 2022-10-25 20:07:58 -04:00
topleft.sh Add comments to all scripts. 2021-09-16 10:42:59 -04:00
white.sh Add comments to all scripts. 2021-09-16 10:42:59 -04:00