开发者

Get a screenshot from a specific process/program and process a simple pattern recognition on it

开发者 https://www.devze.com 2023-04-12 05:33 出处:网络
What specifically I need to do. On the click event of a button in my Web Application. I need it to capture

What specifically I need to do. On the click event of a button in my Web Application. I need it to capture

  1. a screenshot.
  2. without bringing the program or the process to front or set focus on it.
  3. and process a simple pattern recognition for this screenshot.
  4. the recognition function will return a bool value.

I don't think that's that easy. but I've never done something like this, and if you could help me to figure out if it's possible and what's a clean way to do this ?

Hint: I'll be trying to recognize just a RadioButton value from an application. I don't have much experience in pattern recognition but I think I won't need a very accurate Algorithm or Framwork as the input quality and picture will be exactly the same. the application will just find the 'RadioButton' that's beside a specific text or if I could specify which part of the image to recognize I won't need the text thing. and it will determine whether it's filled or not!


People will wonder why on earth would I need my application to do that! :D so of course you deserve a reason why you are doing this =).

Clarification:

I need to get a 'RadioButton' value from an application, that is extremely hard to get an API or even a public property to share the value for this 'RadioButton'!

People are down voting and want to cl开发者_运维知识库ose my question! for what reason ? .. I'm sorry for you if you're not open enough to accept that it's not always DataReader, int x, loops and typical stuff! My idea was shutdown and I fought to get it back on. I'm really sorry for you! =)


To take screen shot thru html and javacript is simply not possible, you have to use flash or silverlight.

(Posting from mobile)

0

精彩评论

暂无评论...
验证码 换一张
取 消