In this commit I compile 6.52 version into 5.90 And I was able to extract any object in the JSON provided by www.baidu.com Server In next Version. I will add an camera to read Image and deliver it to Server.
38 lines
604 B
C++
38 lines
604 B
C++
#ifndef MAINWINDOW_H
|
|
#define MAINWINDOW_H
|
|
|
|
#include <QMainWindow>
|
|
|
|
#include<getaccesstoken.h>
|
|
#include<qfacesearchr.h>
|
|
|
|
#include<QScreen>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
namespace Ui { class MainWindow; }
|
|
QT_END_NAMESPACE
|
|
|
|
class MainWindow : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
MainWindow(QWidget *parent = nullptr);
|
|
~MainWindow();
|
|
|
|
void SetWindow();
|
|
|
|
private slots:
|
|
|
|
void on_GetACButton_clicked();
|
|
|
|
void on_SendFace_clicked();
|
|
|
|
private:
|
|
Ui::MainWindow *ui;
|
|
GetAccessToken * NewGetAccessToken;
|
|
QFaceSearchR * NewFaceSerchR;
|
|
QString Access_Token;
|
|
};
|
|
#endif // MAINWINDOW_H
|