Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cv::Mat rgbMat; //this will hold the RGB Image
- cv::cvtColor(frame, rgbMat, CV_BGR2RGB); //convert from BGR to RGB for QImage
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement