I've got some C code that opens up the camera, fills a buffer and then looks for the brightest pixels in the buffer. Then it does this forever.
Pretty simple. I have two specific problems:
1. Upon startup, the first time when operating in blocking mode, the program waits forever, and the buffer never de-queues. i have to break out of the program and restart it.
2. After a few hours, the camera locks up at the same place. Buffer never de-queues. It'll wait there forever. Changing to non-blocking mode, and the problem remains. Although I no longer lock up, at some point I won't see data. Has anyone else seen behavior like this? I've verified it on two different cameras, and they are updated to the latest firmware.
I'm doing most of my testing at 1280x720, 60Hz, but it doesn't seem to matter what resolution I use.