Optimized handle for Linux Camera capture with OpenCV