[PySide] How to get QPixmap from QCamera
henry.wede at yahoo.com
henry.wede at yahoo.com
Sun May 19 07:31:27 CEST 2019
Hello,I am trying to create a program so I can use a USB microscope/camera for alignment on a CNC router. The image needs to have cross-hairs and other helpful geometry overlayed on top of the camera image. I have spent a few hours looking at examples and trying to come up with a solution from the documentation.
I think that I would like to have a QTimer that gets an image from the QCamera a couple times a second and then uses that in a QGraphicsScene. Then I can control the Z ordering and easily add lines, circles, etc. I have done some drawing in the QGraphicsScene before so I am comfortable with that part. However, I cannot find a way to get the image from the QCamera object.
Can anyone offer a suggestion? I am out of my comfort zone with this one.
Thanks,Henry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20190519/fc15af99/attachment.html>
More information about the PySide
mailing list