I think many inexpensive cameras will be too slow for this, and will add an annoying latency; for example a 60 Hz camera only has a new frame every 16.6 milliseconds, then the image needs to be processed.