Added threading to do camera aquisisiton on the side as the data is analyzed.