Friday, January 12, 2007

Forget DirectShow, we're using Linux

So, it turns out that there's actually a lot of stuff out there for Linux video/webcam capture. This stuff is also much easier than trying to deal with DirectShow. For instance, this shows a ffmpeg command that will convert the webcam input to a series of grayscale PGM images, one per frame. I can even use prerecorded video instead of the camera by using the filename of the video instead of /dev/video0. With some well-written scripts and the actual detection application, a GUI for the entire system isn't even needed.

Oh yeah, and Linux supports the Logitech camera using the uvcvideo driver. Excellent. :)

Anyways, we'll record some video for testing this weekend.

0 comments: