Output the images from the pdf: pdfimages <pdf> <out>; then run depix:
pdfimages <pdf> <out>
1 2 3
python3 depix.py \\ -p test-000.ppm \\ -s images/searchimages/debruinseq_notepad_Windows10_closeAndSpaced.png