One code edit to make the both color space compatible is to add a line of code in camera-drawing-area.cpp at line 61 cvtColor(output,output,cv::COLOR_BGR2RGB);