This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/python3 | |
# This script requires pdfimage (poppler-utils) and convert (imagemagick) | |
# Raw images will be written to <OUTPUT_DIR>/15-organized | |
# Attempts at merging masks and images will be output to <OUTPUT_DIR/30-masked> | |
# A sample of one image using all compose methods will be written to <OUTPUT_DIR>/25-samples | |
# Rewritten from https://gist.github.com/bendavis78/ed22a974c2b4534305eabb2522956359 |