GithubHelp home page GithubHelp logo

zoomies's Introduction

Zoomies

Super simple Rust/Gtk GUI to control the Zoom level on my Logitech BRIO camera.

Zoomies in use

This can be done from the command line (during use of the camera by another app) with something like the following video4linux command:

v4l2-ctl -d /dev/video2 --set-ctrl=zoom_absolute=150

The GUI tool will allow the appropriate zoom level to be selected with a scrollbar.

Clang must be installed (on Ubuntu, apt install clang) so that the Rust V4L library dependency can compile. Failure to do so will result in the following error message:

error: failed to run custom build command for `v4l-sys v0.2.0`

Notes

  • On Ubuntu the video4linux v4l2-ctl command comes from the v4l-utils package.

TODO

  • Make error handling nicer - all errors are treated as std::io::Error at the moment!
  • Make it prettier (how does Gtk's CSS stuff work‽)
  • Allow for keyboard editing of the zoom level
  • Allow for multiple cameras

zoomies's People

Contributors

dcminter avatar netfreak25 avatar

Stargazers

Serge avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.