From e9b461e577eb1ec94f57dd3399ff5adf64fe9ec1 Mon Sep 17 00:00:00 2001 From: Riley Meyerkorth <117927480+m-riley04@users.noreply.github.com> Date: Mon, 6 Jan 2025 13:09:01 -0600 Subject: [PATCH] Update README.md --- README.md | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 61 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d347e99..8a44e24 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,20 @@ # QtCameraControls A widget/dialog for controlling Qt camera settings and state. It includes all available slots for QCamera for Qt 6.8.0. + + +# Table of Contents +- [Supported Platforms](#supported-platforms) +- [Features](#features) + - [Test Program Features](#test-program-features) +- [Build Instructions](#build-instructions) +- [Usage](#usage) + - [Main Window](#main-window) + - [QtCameraControlDialog](#qtcameracontroldialog) + - [Formats](#formats) + - [Zoom and Focus](#zoom-and-focus) + - [Settings and Properties](#settings-and-properties) + # Supported Platforms - Windows - Linux (***untested***, but theoretically *should* work) @@ -31,6 +45,8 @@ A widget/dialog for controlling Qt camera settings and state. It includes all av - [ ] "Full" error handling - [x] Docstrings for all functions +> NOTE: While the code _should_ be fully functional, some camera features may not be recognized as "supported" due to current QCamera limitations. + ## Test Program Features - [x] Basic camera preview: - [x] QVideoWidget preview @@ -43,9 +59,53 @@ A widget/dialog for controlling Qt camera settings and state. It includes all av 3. Open the solution (preferrably in Visual Studio) 4. Build the solution +# Usage +## Main Window +This is a window primarily for showing the utilization of the QtCameraControlsDialog widget. It has the following features: +- QVideoWidget for viewing the current camera preview +- Dropdown for selecting the camera device + - Automatically updates, but can be manually refreshed through the menu bar +- Menubar for certain functions and "About" links + + + +## QtCameraControlDialog +This is the dialog window/widget that is used to control the camera options/settings. At the top, you are able to see the camera device name and toggle it on or off. + +### Formats +This tab is for changing the format of the camera: +- FPS +- Resolution +- Pixel Format + + +### Zoom and Focus +This tab is for chaning the zoom and focus properties of the camera: +- Zoom Rate +- Zoom Factor +- Focus Mode +- Focus Distance + + +### Settings and Properties +This tab is for changing the majority of the camera's visual properties: +- Color Temperature +- Exposure Mode +- Exposure Composition +- Flash Mode +- Auto Exposure Time +- Auto ISO Sensitivity +- Manual ISO Sensitivity +- Torch Mode +- White Balance Mode +- FFMPEG-based DirectShow UVC control window (Windows only) + + # Dependencies - Qt 6.8.0 + - QtCore + - QtGUI - QtMultimedia - QtMultimediaWidgets -> NOTE: If you are using Visual Studio, you should use the official [Qt Visual Studio Tools extension](https://doc.qt.io/qtvstools/index.html) to manage your Qt installation. \ No newline at end of file +> NOTE: If you are using Visual Studio, you should use the official [Qt Visual Studio Tools extension](https://doc.qt.io/qtvstools/index.html) to manage your Qt installation.