Monday, May 13, 2024
40
rated 0 times [  40] [ 0]  / answers: 1 / hits: 181660  / 1 Year ago, sat, february 18, 2023, 8:43:37

I want to be able to take a picture using the webcam from the terminal. This image then will be saved to a file. How can this be done?


More From » command-line

 Answers
3

If you're looking for something automated webcam is pretty decent. It has lots of lovely options for pushing the photos over the Internet.



If you want something more manual, and we're talking about a camera supported by V4L/UVC (most of them) you can use streamer to capture a frame from the device:



streamer -f jpeg -o image.jpeg

[#40209] Monday, February 20, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
admin

Total Points: 459
Total Questions: 112
Total Answers: 109

Location: Equatorial Guinea
Member since Sun, Feb 14, 2021
3 Years ago
;