I\'m trying to move the OpenCv video capture to a separate thread for better performances and removing the frames buffer. My piece of code is based on a solution for this po