开发者

Capture specific-sized images with an Ubuntu command-line program

开发者 https://www.devze.com 2023-01-15 10:38 出处:网络
I am currently working on a project and would 开发者_如何学Pythonlike to know if you heard of any command-line tools that lets your webcam take specific-sized images? I found some but none of them wor

I am currently working on a project and would 开发者_如何学Pythonlike to know if you heard of any command-line tools that lets your webcam take specific-sized images? I found some but none of them works.

In my case, I'd need to capture 1600x1200 pictures.


I was able to use

uvccapture -m -x640 -y480 -oimage.jpg.

If your webcam supports 1600x1200, then this method might work. When I try anything more than 640x480, uvccapture prints:

format asked unavailable get width 640 height 480
0

精彩评论

暂无评论...
验证码 换一张
取 消