Skip to content
/ cam-vis Public archive

Simple camera visualization tool written using Rust and Vulkan

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

SkoltechRobotics/cam-vis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cam-vis

A simple camera visualization tool using v4l2 and Vulkan.

Usage

$ ./cam-vis --help
cam-vis 0.1.0
Artyom Pavlov<[email protected]>
Simple camera visualization tool

USAGE:
    cam-vis [OPTIONS] <camera>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -g, --grid-step <grid_step>    Grid step in pixels [default: 64]
    -m, --mode <mode>              Vulkan present mode: immediate, mailbox, fifo or relaxed [default: fifo]

ARGS:
    <camera>    Path to camera device

Controls

You can zoom and drag image using mouse. Additionally the following hotkeys are available:

  • s: save current frame as a PNG image.
  • g: turn grid on or off.
  • h: turn histogram on or off.
  • f: turn (console) FPS counter on or off.
  • r: fit image into the current window size (reset drag and zoom).
  • Space: pause on current frame.
  • Esc: exit the application.

Installation

  • Install Rust Programming Language.
  • Run cargo build --release.
  • Compiled binary will be saved to target/release/cam-vis.
  • You may need to install Vulkan related packages via your OS package manager.

License

The application is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

Simple camera visualization tool written using Rust and Vulkan

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published