想要pcie视频采集卡只将屏幕截图放入内存中 [英] want pcie video capture card put only screenshot image in memory
问题描述
你好
我想做模式识别。
有没有办法在不知道驱动程序的情况下与pcie驱动程序通信?
我必须向pcie卡制造商索取信息?
如何做到这一点? :
.....
mem1 = malloc(xx);
getpattern(mem1); //将特殊图像模式的数据库放入mem1
mem2 = malloc(xx);
getpicture(mem2); //获取pcie视频采集卡的截图并输入mem2
patternrecognition(); //在模式和截图之间进行图像比较
......
对我有什么建议吗?
Hello
I want to do pattern recognition.
Is there a way to communicate with pcie driver without knowledge of the driver ?
I have to beg for information to the pcie card manufacturer ?
How to do this ? :
.....
mem1 = malloc(xx);
getpattern(mem1); // put database of special image pattern in mem1
mem2 = malloc(xx);
getpicture(mem2); // get screenshot of pcie video capture card and put in mem2
patternrecognition(); // do image compare between pattern and screenshot
......
Have you any advice for me ?
推荐答案
好吧,它有点难以知道什么制造/型号的pcie卡 - 通常你不必去乞求信息,它应该在制造商的SDK中,通常隐藏在他们网站上的支持下,如果它是一个受欢迎的品牌/型号,即使是所有知识字体的谷歌应该有一些点击
确定制作/型号,在这里更新这些信息,有人可能能指出你正确的方向
我只是使用[c ++ pcie视频捕捉进行了快速搜索这些卡片有很多点击,所有人都说他们有一个c ++兼容的SDK
'g'
Well, its a bit hard not knowing what make/model pcie card - usually you wouldn't have to go begging for the info, it should be in an SDK from the manufacturer, usually hidden under 'support' on their site, and if its a popular make/model even the font-of-all-knowledge Google should have some hits
Determine the make/model, update that info here, and someone may be able to point you in the right direction
I just did a quick search using [c++ pcie video capture interface] and had lots of hits for such cards, all saying they had a c++ compatible SDK
'g'
通常你不直接处理显示卡驱动程序,而是使用库(例如GDI
或GDI +
在Windo ws
,请参阅:在GDI +中使用LockBits [< a href =http://supercomputingblog.com/graphics/using-lockbits-in-gdi/target =_ blanktitle =New Window> ^ ])。其他平台也提供用于访问图像数据的库。
Usually you don't deal directly with the display card driver, instead you use a library (like for instanceGDI
orGDI+
onWindows
, see for instance: "Using LockBits in GDI+"[^]). Other platforms provide libraries for accessing image data as well.
这篇关于想要pcie视频采集卡只将屏幕截图放入内存中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!