

When you run RobotEyez.exe, it opens a video capture device (e.g. RobotEyez is my first attempt at doing this. Wikipedia provides a nice PGM example.įor quite a while, I’ve been meaning to create a lightweight DirectShow engine (a standalone executable) that allows C programmers to perform real-time machine vision simply by writing a program that reads and analyses a PGM file. It’s one of a closely related family of refreshingly understandable image file formats called Netpbm. This file format stores greyscale images in plain text and it’s easy to write C programs that write and read them using only standard library functions.


I use PGM image files a lot in my Engineering Computing class because the provide a really easy way for novice programmers to get started with image processing in C.
