qcamera

No viewfinder available while trying to display webcam with PySide2

江枫思渺然 提交于 2021-02-10 18:44:08
问题 I am working on Ubuntu 20.04 with Python3 and PySide2, Qt is version 5. I wrote this simple Python script in order to test the ability to save webcam video for a larger project I will later work on. Basically, I would like that this demo script at first and simply displays the stream coming from the camera, in a widget I named "frame", but it seems I am missing something, because a message gets printed in the terminal: Starting camera without viewfinder available I made the GUI within

No viewfinder available while trying to display webcam with PySide2

你。 提交于 2021-02-10 18:39:09
问题 I am working on Ubuntu 20.04 with Python3 and PySide2, Qt is version 5. I wrote this simple Python script in order to test the ability to save webcam video for a larger project I will later work on. Basically, I would like that this demo script at first and simply displays the stream coming from the camera, in a widget I named "frame", but it seems I am missing something, because a message gets printed in the terminal: Starting camera without viewfinder available I made the GUI within