GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - m-riley04/QtCameraControls: A simple, easy to use dialog window for controlling Qt 6.8 QCameras

BranchesTags
Open more actions menu

Latest commit

 

History

33 Commits
33 Commits

Folders and files

NameName
Last commit message
Last commit date
media
media
 
 
resources
resources
 
 
src
src
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
QtCameraControls.sln
QtCameraControls.sln
 
 
QtCameraControls.vcxproj
QtCameraControls.vcxproj
 
 
QtCameraControls.vcxproj.filters
QtCameraControls.vcxproj.filters
 
 
README.md
README.md
 
 

Repository files navigation

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
  • Features
    • Test Program Features
  • Build Instructions
  • Usage
    • Main Window
    • QtCameraControlDialog
      • Formats
      • Zoom and Focus
      • Settings and Properties
  • Dependencies

Supported Platforms

  • Windows
  • Linux (untested, but theoretically should work)
  • MacOS (untested, but theoretically should work)

Features

  • Full control over almost every QCamera imaging property, including:
    • Camera start/stop
    • Auto Exposure Time
    • Auto ISO Sensitivity
    • Color Temperature
    • Exposure Compensation
    • Flash Mode
    • Manual Exposure Time
    • Manual ISO Sensitivity
    • Torch Mode
    • White Balance Mode
  • Ability to pick and choose the camera format:
    • Frame Rate
    • Resolution
    • Pixel Format
  • Control over the zoom and focus of the camera, specifically:
    • Zoom Factor
    • Focus Mode
    • Focus Distance
  • FFMPEG support for UVC camera control
  • Save/Close/Reset Defaults buttons functionality
  • Full checks for camera feature availablility
  • "Full" error handling
  • 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

  • Basic camera preview:
    • QVideoWidget preview
    • Camera device selection
    • Add auto-refresh for camera devices

Build Instructions

  1. Clone the repository
  2. Install the necessary dependencies
  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 to manage your Qt installation.

About

A simple, easy to use dialog window for controlling Qt 6.8 QCameras

Topics

cameradialog-windirectshowdirectshow-cameraffmpegqtqt-multimediaqt-widgetqt-widgetsqt-widgets-applicationqt6qt6-guiqt6-widgetsqtmultimediaqtwidgetsuvcuvc-camerauvccamerawebcamwebcam-streaming

Resources

Readme
MIT license
Activity

Stars

5 stars

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.