Skip to content

using Qt and OpenCV develop a capture show window

Notifications You must be signed in to change notification settings

Robinsssson/ShowWindows

Repository files navigation

show windows

Tool Chains

  • Platform: Windows11/10

  • Toolchains: Qt6.5.3, opencv 4.8.1, gcc-qt

  • 3rdparty:fftw3-3, csv

  • License: GPL

  • How to build it? add all relay file and toolchains in your computer. use cmake --buildto compiler the project.

development docs [中文]

本项目通过mainwindows.cpp来组织所有文件。在构造函数中创建任务线程。

文件树

ShowWindows
    ├─AxesFreshTask  		# Axes坐标更新
    ├─CaptureShowTask		# 摄像数据展示
    ├─CaptureTask			# 摄像数据采集
    ├─Docs					# 文档
    ├─FftFreshTask			# [弃用]
    ├─ImageProcess			# 图像处理算法
    ├─ImageProcessTask		# 图像处理线程
    ├─MatQueue				# 图像FIFO
    └─Utility				# 其他组件
        ├─AnsysSetting      # Axes Text 的Json解析
        ├─csv				# csv库
        ├─fft				# fft使用
        └─fftw-3.3.5-dll64	# fftw调度

线程调度

  • 线程一:CaptureTask获取设备的摄像头数据交付给处理算法,主要负责摄像图片的获取,通过cv::VideoCapture类的封装来实现。

  • 线程二:CaptureShowTask获取线程一的经过处理过后的算法在Label上展示。

  • 线程三:AxesFreshTask维护了一个基于.config\setting.json创建的Axes类。

    注:setting.json字段解析Utility\AnsysSetting\AnsysSetting.cpp

    • "Text"字段描述了显示在左上方文字区的TextLine展示。
    • "Axes"字段描述了坐标轴的行为

About

using Qt and OpenCV develop a capture show window

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published