I'm building a robot for my senior design that carries a laptop and a webcam. It will be doing some basic line following with the webcam input. That means I will need a good frame rate. I tried using some shareware utility that captures jpeg images from my webcam. The problem is the utility only captures about 2 frames per second and on top of that I have to convert the jpegs to a format I can easily put into a matrix.
So naturally I want to write a program that will access my webcam directly. I'm not sure what the heck to use though. I know I want to use C#. But as for what API to use I'm clueless. I tried reading on the MSDN site about Direct Show and Windows Image Acquisition (WIA), but I am not a windows programmer. I don’t know the first think about the windows SDK. So I’m finding it hard to find a place to start especially with my time constraint of about another month. Don’t get me wrong, I’m a very good programmer (both in Java and C++), but being a student I haven’t had the opportunity to do anything with windows libraries.
My robotics class professors (EE guys) are idiots, they say that windows programming is garbage and I should use linux. Sure linux is probably easier to use then a windows API, but the support for webcams under linux is pathetic. I want to use my Logitech 3000 pro and prove them wrong ;p
What is an easy, but efficient way to get a raw image from my webcam, which is WDM compliant?
Thanks in advance,