从特定的流程/程序获取屏幕截图并对其进行简单的模式识别 [英] Get a screenshot from a specific process/program and process a simple pattern recognition on it

查看:133
本文介绍了从特定的流程/程序获取屏幕截图并对其进行简单的模式识别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要具体做什么.在我的Web应用程序中单击按钮的事件. 我需要它来捕获

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

  1. 屏幕截图.
  2. 不将程序或过程放在前面或将重点放在上面.
  3. 并对此屏幕截图进行简单的模式识别.
  4. 识别功能将返回布尔值.

我认为那不是那么容易.但是我从来没有做过这样的事情,如果您能帮助我弄清楚是否可行,什么是一种干净的方法呢?

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 ?

提示:我将尝试仅识别应用程序中的RadioButton值.我在模式识别方面没有太多经验,但是我认为我不需要非常精确的算法或框架,因为输入质量和图片将完全相同.应用程序只会在特定文本旁边找到"RadioButton",或者如果我可以指定要识别的图像部分,则不需要文本.它将确定它是否已填充!

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!

人们会想知道为什么我需要我的应用程序才能做到这一点! :D因此,您当然值得拥有这样做的理由=).

说明:

我需要从应用程序获取"RadioButton"值,即 很难获得API甚至公共财产来共享 "RadioButton"的值!

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'!

人们拒绝投票,并希望结束我的问题!是什么原因 ? ..如果您的开放度不足以接受它并不总是DataReader,int x,循环和典型的东西,我为您感到抱歉! 我的主意是关闭,我一直努力让它恢复正常.我真的为你感到抱歉! =)

People are down voting and want to close 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! =)

推荐答案

要通过html和javacript截屏是不可能的,您必须使用 silverlight .

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

(通过手机发布)

这篇关于从特定的流程/程序获取屏幕截图并对其进行简单的模式识别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆