OpenCV或Emgu CV桌面捕获选项中是否有任何功能?(插件,库,类) [英] Is there any function in OpenCV or Emgu CV desktop capture options? (addons, libs, classes)

查看:60
本文介绍了OpenCV或Emgu CV桌面捕获选项中是否有任何功能?(插件,库,类)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

OpenCV或Emgu CV桌面捕获选项中是否有任何功能?(插件,库,类),所以我知道我们可以通过一种非常简单的方式来捕获摄像机,是否可以通过这种方式进行桌面捕获?

Is there any function in OpenCV or Emgu CV desktop capture options? (addons, libs, classes) So I know we can capture camera in a very easy way, is there any option for desktop capturing that way?

推荐答案

我建议在Emgu之外(即,在非Emgu C ++/C#中)进行屏幕捕获.

I would recommend doing a screen capture outside of Emgu (ie, in non-Emgu C++/C#).

第一步是从屏幕图像创建位图.有很多网站详细介绍了如何执行此操作的方法.我发现很有帮助.

The first step is to create a bitmap from the screen image. There are plenty of websites detailing methods of how to do this. I found this one helpful.

一旦有了位图,就很容易从中创建新的Emgu Image<,>.这是该文档.

Once you have a bitmap, it's easy to create new Emgu Image<,> from it. Here's the documentation for that.

祝你好运,玩得开心!

这篇关于OpenCV或Emgu CV桌面捕获选项中是否有任何功能?(插件,库,类)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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