python之Mat转Qimage

cv2.imshow('frame', frame)

                    frame = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
                    qimage = QImage(frame.data,
                                              frame.shape[

你可能感兴趣的:(python实战,python,开发语言,人工智能)