Take only pictures from USB connected webcam

Hello,

I need help. I have miniPC with directly connected USB webcam and I don’t need video or motion sensor.
I need to take picture by a trigger.

I’m tryed MotionEye, but this addon taking nonstop video and this is not, what I need.
I finded at Google a package fswebcam, but I don’t know, how to install to HASSIO.

Anyone help me, please?

Hi, is that mini-pc with the USB cam the same system you use for HA?

Yes, that miniPC is used as Home Assistant server with instaled Home Assistant OS.

I was gonna say that it might become difficult to use a webcam on HA but have you seen this: motionEye - Home Assistant

The point is: can this be done with a USB cam on the host…