Originally Posted by hobbyist Perhaps your webcam produces BGR-frames? In that case try Qt Code: Switch view mpLbl->setPixmap(QPixmap::fromImage(image.rgbSwapped())); mpLbl->setPixmap(QPixmap::fromImage(image.rgbSwapped())); To copy to clipboard, switch view to plain text mode That is the problem, it is OK now, thanks!
mpLbl->setPixmap(QPixmap::fromImage(image.rgbSwapped()));
View Tag Cloud
Forum Rules
Bookmarks