Tooling to reveal printer Machine Identification Code (MIC) yellow dots in scanned images.
This project was initially created for a Root-Me steganography challenge and is now structured as a reusable mini CLI tool.
The Machine Identification Code (MIC) is a pattern of tiny yellow dots that some color laser printers add to printed pages. These dots can encode metadata such as printer serial information and print timestamp.
Reference: Wikipedia - Machine Identification Code
coloredmode: draws bounding boxes around detected yellow dots.highlightmode: keeps only detected yellow areas and darkens everything else.- Configurable HSV thresholds for tuning detection.
- Backward-compatible wrappers for legacy scripts.
mic_reveal.py: shared logic + unified CLI.get_mic_colored.py: compatibility wrapper (coloredmode).get_mic_highlight.py: compatibility wrapper (highlightmode).
python -m venv .venv
source .venv/bin/activate
pip install -e .mic-reveal colored input.png output_colored.png
mic-reveal highlight input.png output_highlight.pngmic-reveal colored input.png output.png --lower-hsv 20,100,100 --upper-hsv 40,255,255python get_mic_colored.py input.png output_colored.png
python get_mic_highlight.py input.png output_highlight.png
