代码拉取完成,页面将自动刷新
#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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。