screenshot and OCR on the CLI with #incus and #tesseract

$ incus query /1.0/instances/buildd5dd6a3115ef/console?type=vga | tesseract - -

Output from a Windows 11 install from an ISO:
---
Estimating resolution as 161
C

Installing 42%
Please keep your computer on.

Your computer may restart a few times.

Example: (cli screenshot is via chafa)
---
incus query /1.0/instances/builde4b47bc577c3/console?type=vga > test.png && chafa test.png