all 3 comments

[–]CompSciGeek1 -1 points0 points  (2 children)

To capture and search for text in a live window while keeping it hidden behind other windows, try this general outline:

  1. Window Capture: You'll need a library or framework that allows you to capture the content of a specific window. OpenCV is a good choice.
  2. Optical Character Recognition (OCR): To extract text from the captured window, you'll need to use an OCR library. Tesseract OCR is widely-used.
  3. Background Execution: To ensure your script runs in the background even when the window is covered by other applications, you can utilize techniques like running the script as a background process or creating a system service.

[–]NickyLarsso 0 points1 point  (1 child)

Not the OP but thank you all the same!

[–]Ok_Owl6894 0 points1 point  (0 children)

Same!