Skip to content

Releases: Nebirr/Camera-Control

Camera-Control 1.1.0 — CLI parser, backend selection & timestamped saves

26 Nov 10:05
23cf7d5

Choose a tag to compare

TL;DR: New command-line options for selecting source/backends and size, safer open with fallback, and timestamped frame saves — no breaking changes.

✨ Highlights

  • CLI parser: --cam, --source, --width, --height, --backend, --help
  • Backend selection: msmf, dshow, ffmpeg, or any (default)
  • Graceful fallback: retries with CAP_ANY if the chosen backend fails
  • Timestamped saves: press sframe-YYYYMMDD_HHMMSS.png
  • Cleaner defaults: 1280×720 capture; OpenCV log level set to WARNING

🔧 What’s new

  • First bare argument (not starting with --) is treated as --source
  • Lightweight options dump at startup for sanity checks

▶️ Usage

Webcam (MSMF, 1280×720):

Camera-Control.exe --cam 0 --width 1280 --height 720 --backend msmf

🧩 Compatibility

  • Windows · OpenCV 4.11.x via vcpkg
  • No public API changes

⚠️ Known issues

  • Drivers may adjust the requested size; overlay shows the actual capture size
  • Optional OpenCV plugins mentioned in logs (GTK/TBB variants) are not required on Windows

🧹 Internal

  • Refactor around a small lambda-dispatch argument parser
  • Reduced log noise (OpenCV → WARNING)
Console 1 frame 3

Camera-Control / First-Stable-Step v1.0.0

25 Nov 18:11

Choose a tag to compare

Features

  • Live camera preview (or open video file via command argument)
  • FPS overlay in the preview window
  • Save current frame with s (saved as frame.png)
  • Quit with q or ESC
  • Clean shutdown when closing the window (no console hang)

How to run (source build)

  • Build with Visual Studio 2022 (x64, Release).
  • Install OpenCV via vcpkg (opencv[ffmpeg]:x64-windows) and ensure the DLLs are on PATH when running.
  • Run without args to open the default camera, or pass a file path/URL as the first argument.

Known notes

  • Requested resolution (1280x720) may be ignored by the driver/backend.
  • On first runs, optional OpenCV plugins may log as missing; they are not required for this MVP.
frame 2