0

I want to build a program that prints the current screen (every few seconds) and searches for symbol in it. I already have the function that knows how to find a given symbol in a larger function, however I do not have the followings:

  1. How can i capture the current screen (print screen).
  2. How do i convert the picture into a matrix of pixels in the range of [0,1], meaning black and white picture.

Currently i only know Java , C , C++, so i need solutions in one of these languages.

I suppose that writing such code may be beyond my knowledge so, links to tutorials will be gladly accepted.

Thank you

Asher Saban
  • 4,673
  • 13
  • 47
  • 60

1 Answers1

1

I just did a google search and came up with this, and this. HTH

Armen Tsirunyan
  • 130,161
  • 59
  • 324
  • 434