V4l2Camera – Open Source package released

V4l2Camera is an attempt to abstract the video4linux2 api into something more easily usable in a generic C++ application

  • I set out, naively, to create cross-platform support (Linux, MacOS, Windows) but soon realized the extent of that effort
  • The Linux version is “done”, although I know there are lots of refinements possible/needed/required
  • I think I see a path forward on the MacOS and Windows side of things after starting down a few interesting pathways (libuvc, libusb)

Details

  • Low level camera control using (or emulating) the video4linux2 interface
  • Currently supporting Linux based systems (tested on Debian AMD64 and Raspbian ARM64 platforms)
    • support planned for MacOS (via AVFoundation api), and
    • Windows (via Media.Capture api)
  • Designed to support both command line and GUI based applications
  • Example code provided for command line application, sample application (binary-only) provided for GUI based application
  • Distributed as open-source under the MIT License

Leave a Reply

Your email address will not be published. Required fields are marked *