Just figured out (out of necessity) that I have a better way of OCRing my vm's screen than using Seeing AI. If I specify a monitor when starting qemu, then I can telnet into the monitor, and there's a screendump command that will dump the screen to a file, and then I can use tesseract to OCR the image.
Unfortunately, none of that is helping me right now. I get "Guest has not initialized the display (yet)." So I'm just as mystified as before. Reminds me of the children's song I used to listen to where a climber went over the mountain to see what he could see, but the other side of the mountain was all that he could see.
Mike Gorse
in reply to Mike Gorse • • •Now I have this function in my .bashrc (I have the monitor on port 4444):
ocrvm()
{
rm -f a.png a.txt
echo screendump a.png |nc -N localhost 4444 >/dev/null
tesseract a.png a >/dev/null 2>&1
more a.txt
}
It isn't very polished--it creates files called a.png and a.txt in the current directory, but, meh, it does what I need.
Edit: I found my original issue--something was wrong with the virtual drive that I have set for the UEFI image. And I love having this little OCR scriptlet now--it makes it really easy to monitor the status of a vm while it's booting up and I don't have a screen reader available yet.
Khronos reshared this.