We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@staticmethod def get_qimage(cvimage): print(cvimage.shape) height, width, bytes_per_pix = cvimage.shape bytes_per_line = width * bytes_per_pix; cv2.cvtColor(cvimage, cv2.COLOR_BGR2RGB, cvimage) return QImage(cvimage.data, width, height, bytes_per_line, QImage.Format_RGB888)
Otherwise the image will display abnormally.
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last): File "F:/GraphCut-master1/GraphCut-master/NewCutUI.py", line 161, in newUI = NewCutUI() File "F:/GraphCut-master1/GraphCut-master/NewCutUI.py", line 12, in init self.graph_maker = GraphMaker.GraphMaker() TypeError: init() missing 2 required positional arguments: 'filename' and 'outfilename'
Process finished with exit code 1
Sorry, something went wrong.
上面的问题应该怎么改啊?求教。
No branches or pull requests
Otherwise the image will display abnormally.
The text was updated successfully, but these errors were encountered: