Click here to Skip to main content
15,912,021 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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 ?
Posted
Updated 23-Jan-15 11:09am
v2

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'
 
Share this answer
 
Comments
peterkoller123 26-Jan-15 17:56pm    
Hello
Thank you for answering !
The PEXHDCAP is one of those capture cards.
I asked for SDK and the answer was
"Unfortunately we don’t have any SDK’s or programming info available".
Is the only way to hack or to reengineer the driver ?
Garth J Lancaster 28-Jan-15 18:13pm    
I would be looking at DirectShow API (Windows)

http://www.aforgenet.com/framework/docs/html/f4d3c2ba-605c-f066-f969-68260ce5e141.htm

http://directshownet.sourceforge.net/about.html

it seems the 'interface to the driver' is abstracted away and interfaces/layers like these and the reference from Carlo Pallini, below, are how you interact with the card (which is probably a good thing)
Usually you don't deal directly with the display card driver, instead you use a library (like for instance GDI or GDI+ on Windows, see for instance: "Using LockBits in GDI+"[^]). Other platforms provide libraries for accessing image data as well.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900