I have a webcam and it has a button. On Windows, when I click this button, it captures a snapshot of the image. But now I'm on Linux, and I use VLC to watch video from the usb / dev / video0 webcam. I would like to use python to get the signal from this button after clicking - I mean just get this signal (without capturing the snapshot automatically). I tried to do it, but no luck. I do not want to use opencv or gstreamer to receive video in a new window, I just need to capture the signal when the button on the webcam is clicked. Any idea how to get this signal, please?
peter source
share