def QImageToCvMat(self, incomingImage):
    """  Converts a QImage into an opencv MAT format  """
incomingImage = incomingImage.convertToFormat(QtGui.QImage.Format.Format_RGB32)
QImage to Numpy Array using PySide