def __init__(self, parent):
super(HomographyResultView, self).__init__(parent)
self.cursor_default = QtGui.QCursor(Qt.CrossCursor)
self.image_loaded = False
new_scene = QtWidgets.QGraphicsScene(self)
new_scene.setBackgroundBrush(QtGui.QBrush(QtGui.QColor(124, 124, 124)))
txt = QtWidgets.QGraphicsSimpleTextItem("Compute homography to see results here.")
new_scene.addItem(txt)
self.setScene(new_scene)
self.show()
评论列表
文章目录