Blurred image, pdf, etc
Last updated
Last updated
Extract image from PDF
pdfimages -j Using\ OpenVAS.pdf output
Will create ppm file - convert to png
mogrify -format png output-*.ppm
Depix
$ python3 depix.py -p output-000.png -s images/searchimages/debruinseq_notepad_Windows10_closeAndSpaced.png -o test.png
2024-10-05 04:32:14,366 - Loading pixelated image from output-000.png
2024-10-05 04:32:14,377 - Loading search image from images/searchimages/debruinseq_notepad_Windows10_closeAndSpaced.png
2024-10-05 04:32:15,475 - Finding color rectangles from pixelated space
2024-10-05 04:32:15,477 - Found 252 same color rectangles
2024-10-05 04:32:15,477 - 190 rectangles left after moot filter
2024-10-05 04:32:15,478 - Found 1 different rectangle sizes
2024-10-05 04:32:15,478 - Finding matches in search image
2024-10-05 04:32:15,478 - Scanning 190 blocks with size (5, 5)
2024-10-05 04:32:15,512 - Scanning in searchImage: 0/1674
2024-10-05 04:33:07,173 - Removing blocks with no matches
2024-10-05 04:33:07,173 - Splitting single matches and multiple matches
2024-10-05 04:33:07,177 - [16 straight matches | 174 multiple matches]
2024-10-05 04:33:07,178 - Trying geometrical matches on single-match squares
2024-10-05 04:33:07,543 - [29 straight matches | 161 multiple matches]
2024-10-05 04:33:07,543 - Trying another pass on geometrical matches
2024-10-05 04:33:07,892 - [41 straight matches | 149 multiple matches]
2024-10-05 04:33:07,892 - Writing single match results to output
2024-10-05 04:33:07,893 - Writing average results for multiple matches to output
2024-10-05 04:33:10,443 - Saving output image to: test.png