northernmunkey
Programmer
I have created an object to access my webcam and grab a frame. Currently this works fine. However, i have a timertask grabbing images and storing them in a FIFO queue and another thread gets the images from the queue (when available) to processes them.
The problem i have is that if the thread isn't set at a lower priority then the webcam output just appears as a black screen (as a result each frame is a black screen). I personally feel that the second thread being at lower priority has no effect on the system, however, my supervisor thinks it does. I imagine he knows best.
Does any know a way to get around this problem?
The problem i have is that if the thread isn't set at a lower priority then the webcam output just appears as a black screen (as a result each frame is a black screen). I personally feel that the second thread being at lower priority has no effect on the system, however, my supervisor thinks it does. I imagine he knows best.
Does any know a way to get around this problem?