Python tool to preview and capture images from a USB microscope for typeface reference.
pip install -r requirements.txt
python main.py- SPACE — Capture (saves raw + grid PNG)
- G — Toggle grayscale
- S — Toggle center-square crop
- ESC — Quit
Images are saved to an folder called output.
- Tested on macOS. Microscope must be connected via USB.
- Tested with a Jiusion USB Microscope found on Amazon. Will recognise all cameras connected to macbook, including built cameras and connected iphones.
- If an iPhone or your Mac's camera appears first, deny that device's camera permission and re-run so the USB microscope is selected.
- Readme.md was written with the help of AI