1 Star 0 Fork 0

qinxude/rk3568ui

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
faceidscreen.h 1.21 KB
一键复制 编辑 原始数据 按行查看 历史
qinxude 提交于 2024-09-03 09:38 . 3568ui base
#ifndef FACEIDSCREEN_H
#define FACEIDSCREEN_H
#include "common.h"
#include "localcamera.h"
#include "faceidcmp.h"
#include "faceidsuccess.h"
#include <QWidget>
#include <QTimer>
#include "toolbar.h"
#include "datadictionary.h"
namespace Ui {
class FaceIdScreen;
}
class FaceIdScreen : public QWidget
{
Q_OBJECT
public:
explicit FaceIdScreen(QWidget *parent = nullptr);
~FaceIdScreen();
signals:
void Quite();
void SettingButtonClicked();
protected:
void showEvent(QShowEvent *event);
void hideEvent(QHideEvent *event);
private slots:
void ScanPic();
void CountDown();
void Capture();
void on_Quite_clicked();
void ShowCamera(cv::Mat);
void ComparisonResult(bool Res,QImage &,QString &, QString &);
void ComparisonScore(int);
void SystemDataChange(SystemDataIndex_t Index);
void on_SettingButton_clicked();
private:
void CountDownShow(uint32_t Cnt);
private:
Ui::FaceIdScreen *ui;
QTimer *m_ScanTimer;
QTimer *m_QuiteTimer;
QTimer *m_CaptureTimer;
FaceIdSuccess *m_FaceIdSuccess;
DataDictionary *m_DataDictionary;
QImage CapImg;
cv::Mat CvMat;
cv::Mat CmpMat;
int32_t m_QuiteCnt;
};
#endif // FACEIDSCREEN_H
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/qinxude/rk3568ui.git
[email protected]:qinxude/rk3568ui.git
qinxude
rk3568ui
rk3568ui
master

搜索帮助