Significant performance improvement by using a producer/consumer method. When the camera produces a new frame it is only given to the frameProcessor if the processor is not currently processing a previous frame