Depix is a tool for recovering passwords from pixelized screenshots.
This implementation works on pixelized images that were created with a linear box filter.
Installation
- Clone the repo:
git clone https://github.com/beurtschipper/Depix.git
cd Depix
- Install the dependencies:
python -m pip install -r requirements.txt
- Run Depix:
python depix.py -p /path/to/your/input/image.png -s images/searchimages/debruinseq_notepad_Windows10_closeAndSpaced.png -o /path/to/your/output.png
Example usage
- Depixelize example image created with Notepad and pixelized with Greenshot. Greenshot averages by averaging the gamma-encoded 0–255 values, which is Depix’s default mode.
python3 depix.py -p images/testimages/testimage3_pixels.png -s images/searchimages/debruinseq_notepad_Windows10_closeAndSpaced.png
Result: