Skip to content

babldev/camera-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note: Tool is broken as of macOS Monterey

camera-cli

Tired of your webcam putting you out of focus after it forgets your preferred settings?

Turn that blurry frown upside down with ./camera-cli

Before and after

camera-cli is a tiny executable for quickly configuring a webcam such as the Logitech C920 HD Pro to specific settings.

A forgetful camera

The Logitech C920 (and perhaps many other webcams) reset settings every time they are unplugged. For those who use a laptop / frequently disconnect a camera, this can be extremely annoying. The Camera Settings app provided by Logitech requires a bunch of steps to reapply preferred settings. I built this script as a faster alternative to the Logitech app.

The script currently:

  • Disables auto-focus
  • Sets focus to minimum value

See LibUVC docs for customizing your own configuration.

Leverages LibUVC so likely works with other webcams.

This small executable is hardly a CLI, but may become more customizable and easy to install in the future if there is demand.

How to use

Requires homebrew

On Mac: (Intel or Apple Silicon)

brew install libuvc
make
./camera-cli

About

Configure your webcam via the command line

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages