pyqt5 image viewer code example Example: pyqt5 image label = QLabel(self) pixmap = QPixmap('image.jpeg') label.setPixmap(pixmap)