I believe that
LabView Machine Vision can do what you want, but I don't think it's available for OS X. It's also an expensive program, and not very basic.
- Perform asynchronous triggering
- Develop machine vision applications in interactive, menu-driven environment
- Generate LabVIEW code automatically
- Control digital I/O, PLCs, and serial devices
- Acquire images from NI PCI and PXI image acquisition devices and FireWire industrial cameras
- Take measurements in pixels and real-world units
http://sine.ni.com/apps/we/nioc.vp?l...&cid=11700