├── 12.gif ├── 22.gif ├── 25PXSL~Q.JPG ├── 34.gif ├── Common.cpp ├── Common.o ├── HJFaceDet.HJDAT ├── HJMask.jpg ├── Makefile ├── Makefile.Debug ├── Makefile.Release ├── NoID.wav ├── README.md ├── abc.jpg ├── abcd.jpg ├── addadminisrator.cpp ├── addadminisrator.h ├── addadminisrator.o ├── addadminisrator.ui ├── adduser.cpp ├── adduser.h ├── adduser.o ├── adduser.ui ├── administrator.cpp ├── administrator.h ├── administrator.o ├── administrator.ui ├── advancedsetup.cpp ├── advancedsetup.h ├── advancedsetup.o ├── advancedsetup.ui ├── application.cpp ├── application.h ├── application.o ├── avthread.cpp ├── avthread.h ├── avthread.o ├── baseset.cpp ├── baseset.h ├── baseset.o ├── baseset.ui ├── capacity.cpp ├── capacity.h ├── capacity.o ├── capacity.ui ├── common.h ├── config └── threathold.txt ├── data.cpp ├── data.h ├── data.o ├── dealdata.cpp ├── dealdata.h ├── dealdata.o ├── doorpwd.cpp ├── doorpwd.h ├── doorpwd.o ├── doorpwd.ui ├── enterpwd.wav ├── faceimages ├── 20130.jpg ├── 20131.jpg ├── 201310.jpg ├── 201311.jpg ├── 201312.jpg ├── 201313.jpg ├── 201314.jpg ├── 201315.jpg ├── 201316.jpg ├── 201317.jpg ├── 201318.jpg ├── 201319.jpg ├── 20132.jpg ├── 201320.jpg ├── 201321.jpg ├── 201322.jpg ├── 201325.jpg ├── 201326.jpg ├── 201327.jpg ├── 20133.jpg ├── 201331.jpg ├── 201332.jpg ├── 201333.jpg ├── 201334.jpg ├── 201335.jpg ├── 201336.jpg ├── 201337.jpg ├── 201338.jpg ├── 201339.jpg ├── 20134.jpg ├── 201341.jpg ├── 201347.jpg ├── 20135.jpg ├── 201352.jpg ├── 20136.jpg ├── 20137.jpg ├── 20138.jpg ├── 20139.jpg ├── admin20131.jpg ├── admin201310.jpg ├── admin20132.jpg ├── admin20133.jpg ├── admin201331.jpg ├── admin20134.jpg ├── admin20135.jpg ├── admin20136.jpg ├── admin20137.jpg ├── admin20138.jpg ├── admin20139.jpg └── 未命名文件夹 │ ├── 20130.jpg │ ├── 20131.jpg │ ├── 201310.jpg │ ├── 2013100.jpg │ ├── 2013111.jpg │ ├── 201312.jpg │ ├── 201313.jpg │ ├── 201314.jpg │ ├── 201315.jpg │ ├── 2013153.jpg │ ├── 2013154.jpg │ ├── 201316.jpg │ ├── 201317.jpg │ ├── 201318.jpg │ ├── 201319.jpg │ ├── 20132.jpg │ ├── 20133.jpg │ ├── 201336.jpg │ ├── 2013365.jpg │ ├── 20134.jpg │ ├── 201347.jpg │ ├── 20135.jpg │ ├── 201350.jpg │ ├── 201355.jpg │ ├── 201356.jpg │ ├── 20136.jpg │ ├── 201360.jpg │ ├── 2013600.jpg │ ├── 201363.jpg │ ├── 201365.jpg │ ├── 201366.jpg │ ├── 201367.jpg │ ├── 201369.jpg │ ├── 20137.jpg │ ├── 20138.jpg │ ├── 20139.jpg │ ├── abc.jpg │ ├── abcd.jpg │ ├── admin20130.jpg │ ├── admin20131.jpg │ ├── admin201310.jpg │ ├── admin201311.jpg │ ├── admin20132.jpg │ ├── admin20133.jpg │ ├── admin20134.jpg │ ├── admin20135.jpg │ ├── admin20136.jpg │ └── admin20138.jpg ├── finduser.cpp ├── finduser.h ├── finduser.o ├── finduser.ui ├── form.cpp ├── form.h ├── form.o ├── form.ui ├── generaluser.cpp ├── generaluser.h ├── generaluser.o ├── generaluser.ui ├── hj_face_project ├── hj_face_project-bak ├── hj_face_project.pro ├── hj_face_project.pro.user ├── hjdata.sqlite ├── home.cpp ├── home.h ├── home.o ├── home.ui ├── homelogin.o ├── informationface.cpp ├── informationface.h ├── informationface.o ├── informationface.ui ├── inputpwd.cpp ├── inputpwd.h ├── inputpwd.o ├── inputpwd.ui ├── login.cpp ├── login.h ├── login.o ├── login.ui ├── main.cpp ├── main.o ├── mainkeyboard.cpp ├── mainkeyboard.h ├── mainkeyboard.o ├── mainkeyboard.ui ├── mainmenu.cpp ├── mainmenu.h ├── mainmenu.o ├── mainmenu.ui ├── moc_addadminisrator.cpp ├── moc_addadminisrator.o ├── moc_adduser.cpp ├── moc_adduser.o ├── moc_administrator.cpp ├── moc_administrator.o ├── moc_advancedsetup.cpp ├── moc_advancedsetup.o ├── moc_application.cpp ├── moc_application.o ├── moc_avthread.cpp ├── moc_avthread.o ├── moc_baseset.cpp ├── moc_baseset.o ├── moc_capacity.cpp ├── moc_capacity.o ├── moc_doorpwd.cpp ├── moc_doorpwd.o ├── moc_finduser.cpp ├── moc_finduser.o ├── moc_form.cpp ├── moc_form.o ├── moc_generaluser.cpp ├── moc_generaluser.o ├── moc_home.cpp ├── moc_home.o ├── moc_informationface.cpp ├── moc_informationface.o ├── moc_inputpwd.cpp ├── moc_inputpwd.o ├── moc_login.cpp ├── moc_login.o ├── moc_mainkeyboard.cpp ├── moc_mainkeyboard.o ├── moc_mainmenu.cpp ├── moc_mainmenu.o ├── moc_networkset.cpp ├── moc_networkset.o ├── moc_numkeyboard.cpp ├── moc_numkeyboard.o ├── moc_numkeylogin.cpp ├── moc_numkeylogin.o ├── moc_pingb.cpp ├── moc_pingb.o ├── moc_recfailtip.cpp ├── moc_recfailtip.o ├── moc_recognition.cpp ├── moc_recognition.o ├── moc_recsuccession.cpp ├── moc_recsuccession.o ├── moc_security.cpp ├── moc_security.o ├── moc_systemset.cpp ├── moc_systemset.o ├── moc_systemtime.cpp ├── moc_systemtime.o ├── moc_user.cpp ├── moc_user.o ├── moc_varmessage.cpp ├── moc_varmessage.o ├── moc_version.cpp ├── moc_version.o ├── networkset.cpp ├── networkset.h ├── networkset.o ├── networkset.ui ├── nihao.wav ├── noidx.wav ├── numkeyboard.cpp ├── numkeyboard.h ├── numkeyboard.o ├── numkeyboard.ui ├── numkeyboardlogin.o ├── numkeylogin.cpp ├── numkeylogin.h ├── numkeylogin.o ├── numkeylogin.ui ├── object_script.hj_face_project.Debug ├── object_script.hj_face_project.Release ├── pic ├── 0.jpg ├── 00.jpg ├── 1288172870_4170.jpg ├── ok.jpg ├── sbsb.jpg ├── u=1929233181,4287244579&fm=0&gp=0.jpg ├── u=2805919660,579717014&fm=23&gp=0.jpg ├── u=3382082192,2758083263&fm=0&gp=0.jpg ├── x.jpg ├── xx.jpg └── xxx.jpg ├── pingb.cpp ├── pingb.h ├── pingb.o ├── pingb.ui ├── q.jpg ├── qq.gif ├── qrc_resource.cpp ├── qrc_resource.o ├── recfailtip.cpp ├── recfailtip.h ├── recfailtip.o ├── recfailtip.ui ├── recoging.wav ├── recognition.cpp ├── recognition.h ├── recognition.o ├── recognition.ui ├── reconfail.wav ├── recsuccession.cpp ├── recsuccession.h ├── recsuccession.o ├── recsuccession.ui ├── release ├── avthread.o ├── hj_face_project.exe ├── home.o ├── main.o ├── moc_home.cpp ├── moc_home.o ├── moc_recognition.cpp ├── moc_recognition.o └── recognition.o ├── reqfinished .wav ├── resource.qrc ├── security.cpp ├── security.h ├── security.o ├── security.ui ├── shibiefail.wav ├── systemset.cpp ├── systemset.h ├── systemset.o ├── systemset.ui ├── systemtime.cpp ├── systemtime.h ├── systemtime.o ├── systemtime.ui ├── temp.jpg ├── temp2.jpg ├── test.bmp ├── ui_addadminisrator.h ├── ui_adduser.h ├── ui_administrator.h ├── ui_advancedsetup.h ├── ui_baseset.h ├── ui_capacity.h ├── ui_doorpwd.h ├── ui_finduser.h ├── ui_form.h ├── ui_generaluser.h ├── ui_home.h ├── ui_homelogin.h ├── ui_informationface.h ├── ui_inputpwd.h ├── ui_login.h ├── ui_mainkeyboard.h ├── ui_mainmenu.h ├── ui_networkset.h ├── ui_numkeyboard.h ├── ui_numkeyboardlogin.h ├── ui_numkeylogin.h ├── ui_pingb.h ├── ui_recfailtip.h ├── ui_recognition.h ├── ui_recsuccession.h ├── ui_security.h ├── ui_systemset.h ├── ui_systemtime.h ├── ui_user.h ├── ui_varmessage.h ├── ui_version.h ├── user.cpp ├── user.h ├── user.o ├── user.ui ├── varmessage.cpp ├── varmessage.h ├── varmessage.o ├── varmessage.ui ├── version.cpp ├── version.h ├── version.o ├── version.ui ├── wav ├── NoID.wav ├── enterpwd.wav ├── far.wav ├── near.wav ├── nihao.wav ├── noidx.wav ├── pwderror.wav ├── recoging.wav ├── reconfail.wav ├── reqfinished .wav ├── reqfinished.wav ├── shibiefail.wav ├── ID.wav ├── 没有这个用户名 (2).wav └── 没有这个用户名.wav ├── xxx.bmp ├── xxxx.jpg └── zk.txt /12.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/12.gif -------------------------------------------------------------------------------- /22.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/22.gif -------------------------------------------------------------------------------- /25PXSL~Q.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/25PXSL~Q.JPG -------------------------------------------------------------------------------- /34.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/34.gif -------------------------------------------------------------------------------- /Common.cpp: -------------------------------------------------------------------------------- 1 | //#include "common.h" 2 | 3 | // char Common::facedata0[4 * facefeature_length]={}; 4 | // char Common::facedata1[4 * facefeature_length]={}; 5 | // char Common::facedata2[4 * facefeature_length]={}; 6 | // char Common::facedata3[4 * facefeature_length]={}; 7 | // char Common::facedata4[4 * facefeature_length]={}; 8 | // char Common::facedata5[4 * facefeature_length]={}; 9 | // char Common::facedata6[4 * facefeature_length]={}; 10 | // char Common::facedata7[4 * facefeature_length]={}; 11 | // char Common::facedata8[4 * facefeature_length]={}; 12 | // char Common::facedata9[4 * facefeature_length]={}; 13 | -------------------------------------------------------------------------------- /Common.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/Common.o -------------------------------------------------------------------------------- /HJMask.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/HJMask.jpg -------------------------------------------------------------------------------- /NoID.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/NoID.wav -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # facerecognition 2 | 一个运行于arm11,基于linux的嵌入式人脸识别系统。开发环境,qtcreator,qt4.8。人脸识别算法为上海一所著名高校研发,属于商业保密,项目里的算法库已经过期,无法使用。本人有可能不再从事于这一行业,但之前的项目也是倾注了汗水在里面,很有可能里面有诸多参考借鉴之处可供不时之需。在此之前,开发了一个qml项目,但最终无法解决视频嵌入问题而放弃,代码也大有借鉴之处。qml代码已经找不到。涉及qt quick,如以后还需开发类型项目,上手应该会很快。 3 | -------------------------------------------------------------------------------- /abc.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/abc.jpg -------------------------------------------------------------------------------- /abcd.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/abcd.jpg -------------------------------------------------------------------------------- /addadminisrator.h: -------------------------------------------------------------------------------- 1 | #ifndef ADDADMINISRATOR_H 2 | #define ADDADMINISRATOR_H 3 | 4 | 5 | #include 6 | #include "common.h" 7 | #include 8 | 9 | 10 | 11 | class Mainkeyboard; 12 | class QSound; 13 | 14 | 15 | namespace Ui { 16 | class Addadminisrator; 17 | } 18 | 19 | class Addadminisrator : public QWidget 20 | { 21 | Q_OBJECT 22 | 23 | public: 24 | explicit Addadminisrator(QWidget *parent = 0); 25 | ~Addadminisrator(); 26 | void fillinformation(); 27 | void modiadmininfo(QModelIndex index); 28 | void autoadminfill(); 29 | signals: 30 | void requirefaceshow(); 31 | void toaddadmin2admin(); 32 | void savedata(); 33 | 34 | private slots: 35 | void on_adminnameline_selectionChanged(); 36 | void on_admincardline_selectionChanged(); 37 | void on_adminrequirefacebnz_clicked(); 38 | void on_addadminbnz_clicked(); 39 | 40 | private: 41 | Ui::Addadminisrator *ui; 42 | Mainkeyboard *mainkeyboard; 43 | QSound *reqface; 44 | 45 | }; 46 | 47 | #endif // ADDADMINISRATOR_H 48 | -------------------------------------------------------------------------------- /addadminisrator.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/addadminisrator.o -------------------------------------------------------------------------------- /adduser.h: -------------------------------------------------------------------------------- 1 | #ifndef ADDUSER_H 2 | #define ADDUSER_H 3 | 4 | #include 5 | #include 6 | 7 | class Mainkeyboard; 8 | class QSound; 9 | class Data; 10 | class QSqlRelationalTableModel; 11 | 12 | namespace Ui { 13 | class Adduser; 14 | } 15 | 16 | class Adduser : public QWidget 17 | { 18 | Q_OBJECT 19 | 20 | public: 21 | explicit Adduser(QWidget *parent = 0); 22 | ~Adduser(); 23 | void fillinformation(); 24 | void modiuserinfo(QModelIndex index); 25 | void automaticfill(); 26 | int IDcheck(); 27 | signals: 28 | void requirefaceshow(); 29 | void returnuser(); 30 | private slots: 31 | void on_lineEdit_selectionChanged(); 32 | void on_lineEdit_4_selectionChanged(); 33 | void on_requireface_clicked(); 34 | void on_returnbutton_clicked(); 35 | private: 36 | Ui::Adduser *ui; 37 | Mainkeyboard *mainkeyboard; 38 | QSound *reqface; 39 | Data *usrlist; 40 | int lastid; 41 | QSqlRelationalTableModel *model; 42 | }; 43 | 44 | #endif // ADDUSER_H 45 | -------------------------------------------------------------------------------- /adduser.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/adduser.o -------------------------------------------------------------------------------- /administrator.h: -------------------------------------------------------------------------------- 1 | #ifndef ADMINISTRATOR_H 2 | #define ADMINISTRATOR_H 3 | 4 | #include 5 | 6 | class Addadminisrator; 7 | class QSqlRelationalTableModel; 8 | class Recognition; 9 | class Data; 10 | 11 | namespace Ui { 12 | class Administrator; 13 | } 14 | class Administrator : public QWidget 15 | { 16 | Q_OBJECT 17 | 18 | public: 19 | explicit Administrator(QWidget *parent = 0); 20 | ~Administrator(); 21 | void savemodiadmin(); 22 | void initadmin();//注意这里 23 | void readadminface(); 24 | signals: 25 | void toadminstrotomenu(); 26 | private slots: 27 | void on_addadministratorbnz_clicked(); 28 | void showrecog(); 29 | void showinformation(); 30 | void writetodata(); 31 | void dealaddadmin(); 32 | void on_adminreturnbnz_clicked(); 33 | void on_deleteadminbnz_clicked(); 34 | void on_modifyadminbnz_clicked(); 35 | private: 36 | Ui::Administrator *ui; 37 | Addadminisrator *addadminisrator; 38 | QSqlRelationalTableModel *modeladmin; 39 | Recognition *recognition; 40 | Data *data; 41 | }; 42 | 43 | #endif // ADMINISTRATOR_H 44 | -------------------------------------------------------------------------------- /administrator.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/administrator.o -------------------------------------------------------------------------------- /advancedsetup.cpp: -------------------------------------------------------------------------------- 1 | #include "advancedsetup.h" 2 | #include "ui_advancedsetup.h" 3 | #include "baseset.h" 4 | #include"systemtime.h" 5 | #include "networkset.h" 6 | 7 | Advancedsetup::Advancedsetup(QWidget *parent) : 8 | QWidget(parent), 9 | ui(new Ui::Advancedsetup) 10 | { 11 | ui->setupUi(this); 12 | setWindowFlags(Qt::FramelessWindowHint); 13 | 14 | baseset=new Baseset(); 15 | systemtime=new Systemtime(); 16 | networkset=new Networkset(); 17 | 18 | connect(baseset,SIGNAL(tobaseset2advice()),this,SLOT(show())); 19 | connect(systemtime,SIGNAL(tosystem2advice()),this,SLOT(show())); 20 | connect(networkset,SIGNAL(tonetwork2advice()),this,SLOT(show())); 21 | } 22 | 23 | Advancedsetup::~Advancedsetup() 24 | { 25 | delete ui; 26 | } 27 | 28 | void Advancedsetup::on_advicesetreturnbnz_clicked() 29 | { 30 | hide(); 31 | emit toadviceset2menu(); 32 | } 33 | 34 | void Advancedsetup::on_basesetbnz_clicked() 35 | { 36 | hide(); 37 | baseset->show(); 38 | } 39 | 40 | void Advancedsetup::on_systemtimebnz_clicked() 41 | { 42 | hide(); 43 | systemtime->show(); 44 | } 45 | 46 | void Advancedsetup::on_networkbnz_clicked() 47 | { 48 | hide(); 49 | networkset->show(); 50 | } 51 | -------------------------------------------------------------------------------- /advancedsetup.h: -------------------------------------------------------------------------------- 1 | #ifndef ADVANCEDSETUP_H 2 | #define ADVANCEDSETUP_H 3 | 4 | #include 5 | class Baseset; 6 | class Systemtime; 7 | class Networkset; 8 | 9 | namespace Ui { 10 | class Advancedsetup; 11 | } 12 | 13 | class Advancedsetup : public QWidget 14 | { 15 | Q_OBJECT 16 | 17 | public: 18 | explicit Advancedsetup(QWidget *parent = 0); 19 | ~Advancedsetup(); 20 | signals: 21 | void toadviceset2menu(); 22 | 23 | private slots: 24 | void on_advicesetreturnbnz_clicked(); 25 | void on_basesetbnz_clicked(); 26 | void on_systemtimebnz_clicked(); 27 | void on_networkbnz_clicked(); 28 | private: 29 | Ui::Advancedsetup *ui; 30 | Baseset *baseset; 31 | Systemtime *systemtime; 32 | Networkset *networkset; 33 | }; 34 | 35 | #endif // ADVANCEDSETUP_H 36 | -------------------------------------------------------------------------------- /advancedsetup.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/advancedsetup.o -------------------------------------------------------------------------------- /application.cpp: -------------------------------------------------------------------------------- 1 | #include "application.h" 2 | #include 3 | #include 4 | #include 5 | #include "common.h" 6 | 7 | Application::Application(int &argc, char **argv): 8 | QApplication(argc,argv) 9 | { 10 | pingb=new Pingb(); 11 | connect(&globaltimer,SIGNAL(timeout()),this,SLOT(pingbdeal())); 12 | } 13 | bool Application::notify(QObject *obj, QEvent *e) 14 | { 15 | if(e->type() == QEvent::MouseButtonPress) 16 | { 17 | ishoming=false; 18 | pingb->hide(); 19 | hometimer.stop(); 20 | hometimer.start(1000*30);// 21 | globaltimer.stop(); 22 | globaltimer.start(1000*30); 23 | } 24 | return QApplication::notify(obj,e); 25 | } 26 | void Application::pingbdeal() 27 | { 28 | if(ishoming) 29 | if(usbisstop) 30 | pingb->show(); 31 | 32 | } 33 | 34 | -------------------------------------------------------------------------------- /application.h: -------------------------------------------------------------------------------- 1 | #ifndef APPLICATION_H 2 | #define APPLICATION_H 3 | #include 4 | #include "pingb.h" 5 | 6 | class Home; 7 | class Application:public QApplication 8 | { 9 | Q_OBJECT 10 | public: 11 | Application(int & argc, char ** argv); 12 | bool notify(QObject *, QEvent *); 13 | private slots: 14 | void pingbdeal(); 15 | signals: 16 | void toapp2home(); 17 | private: 18 | Pingb *pingb; 19 | }; 20 | 21 | #endif // APPLICATION_H 22 | 23 | 24 | -------------------------------------------------------------------------------- /application.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/application.o -------------------------------------------------------------------------------- /avthread.h: -------------------------------------------------------------------------------- 1 | #ifndef AVTHREAD_H 2 | #define AVTHREAD_H 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include 11 | #include 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | #include "HJFaceFeatureARM11.h" 20 | #include "common.h" 21 | 22 | 23 | 24 | #define CLEAR(x) memset (&(x), 0, sizeof (x)) 25 | 26 | class QSound; 27 | class Data; 28 | 29 | class Avthread:public QThread 30 | { 31 | Q_OBJECT 32 | public: 33 | Avthread(); 34 | ~Avthread(); 35 | int xioctl(int fd, int request, void *arg); 36 | 37 | void mainloop(void); 38 | void start_capturing(void); 39 | int read_frame(void); 40 | void stop_capturing(void); 41 | void uninit_device(void); 42 | void close_device(void); 43 | void errno_exit (const char *s); 44 | void process_image(const void *p,int len); 45 | 46 | void loadfacetemplates(); 47 | //void readfacefeature(); 48 | int facesort(double array[], int num); 49 | int adminfacesort(double array[],int num); 50 | void getOkfaces_2(); 51 | 52 | protected: 53 | void run(); 54 | signals: 55 | void recognitionfail(int); 56 | void recognitionresult(int); 57 | void torecogpaint(CvRect); 58 | //void stopusbcam(void); 59 | private: 60 | //why can't use it in static func? 61 | int avwidth; 62 | int avheight; 63 | int *format; 64 | IplImage *rgb16IplImage; 65 | IplImage *normFace; 66 | CvMat* feature; 67 | CvRect *rect; 68 | float dis; 69 | QSound *far; 70 | QSound *near; 71 | Data *data; 72 | 73 | }; 74 | 75 | #endif // AVTHREAD_H 76 | -------------------------------------------------------------------------------- /avthread.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/avthread.o -------------------------------------------------------------------------------- /baseset.cpp: -------------------------------------------------------------------------------- 1 | #include "baseset.h" 2 | #include "ui_baseset.h" 3 | #include 4 | #include 5 | #include "numkeyboard.h" 6 | #include 7 | #include 8 | #include 9 | #include "common.h" 10 | 11 | Baseset::Baseset(QWidget *parent) : 12 | QWidget(parent), 13 | ui(new Ui::Baseset) 14 | { 15 | ui->setupUi(this); 16 | setWindowFlags(Qt::FramelessWindowHint); 17 | 18 | ui->threshold_input->setText(QString::number(threshold,10)); 19 | strings_lang << "简体中文" << "English"; 20 | strings_recong << "一对一" << "一对多"; 21 | completer_lang = new QCompleter(strings_lang, this); 22 | completer_recong = new QCompleter(strings_recong, this); 23 | numkeyboard=new Numkeyboard(); 24 | 25 | ui->langcombox->clear(); 26 | ui->langcombox->addItems(strings_lang); 27 | ui->langcombox->setEditable(true); 28 | ui->langcombox->setCompleter(completer_lang); 29 | 30 | ui->recogcombox->clear(); 31 | ui->recogcombox->addItems(strings_recong); 32 | ui->recogcombox->setEditable(true); 33 | ui->recogcombox->setCompleter(completer_recong); 34 | 35 | connect(numkeyboard,SIGNAL(tobase(QString)),this,SLOT(setthreshold(QString ))); 36 | } 37 | // 38 | Baseset::~Baseset() 39 | { 40 | delete ui; 41 | } 42 | // 43 | void Baseset::on_basesetreturnbnz_clicked() 44 | { 45 | hide(); 46 | emit tobaseset2advice(); 47 | } 48 | // 49 | void Baseset::on_threshold_input_clicked() 50 | { 51 | isthreshold=true; 52 | numkeyboard->show(); 53 | } 54 | // 55 | void Baseset::setthreshold(QString str) 56 | { 57 | ui->threshold_input->setText(str); 58 | threshold=str.toInt(); 59 | float realthreshold=(float)threshold/100; 60 | QFile file("config/threathold.txt"); 61 | if(!file.open(QFile::WriteOnly)){ 62 | perror("open configuer file error\n"); 63 | exit(0); 64 | } 65 | QTextStream fs(&file); 66 | fs< 5 | class QStringList; 6 | class QCompleter; 7 | class Numkeyboard; 8 | 9 | namespace Ui { 10 | class Baseset; 11 | } 12 | 13 | class Baseset : public QWidget 14 | { 15 | Q_OBJECT 16 | 17 | public: 18 | explicit Baseset(QWidget *parent = 0); 19 | ~Baseset(); 20 | signals: 21 | void tobaseset2advice(); 22 | private slots: 23 | void on_basesetreturnbnz_clicked(); 24 | void on_threshold_input_clicked(); 25 | void setthreshold(QString ); 26 | 27 | private: 28 | Ui::Baseset *ui; 29 | QStringList strings_lang; 30 | QStringList strings_recong; 31 | QCompleter *completer_lang; 32 | QCompleter *completer_recong; 33 | Numkeyboard *numkeyboard; 34 | }; 35 | 36 | #endif // BASESET_H 37 | -------------------------------------------------------------------------------- /baseset.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/baseset.o -------------------------------------------------------------------------------- /capacity.cpp: -------------------------------------------------------------------------------- 1 | #include "capacity.h" 2 | #include "ui_capacity.h" 3 | #include 4 | #include 5 | 6 | Capacity::Capacity(QWidget *parent) : 7 | QWidget(parent), 8 | ui(new Ui::Capacity) 9 | { 10 | ui->setupUi(this); 11 | setWindowFlags(Qt::FramelessWindowHint); 12 | } 13 | Capacity::~Capacity() 14 | { 15 | delete ui; 16 | } 17 | void Capacity::on_volumereturnbnz_clicked() 18 | { 19 | hide(); 20 | emit tocapac2system(); 21 | } 22 | void Capacity::volumecheck() 23 | { 24 | //QSqlQuery query; 25 | QSqlQueryModel model; 26 | model.setQuery("select*from hjcommon"); 27 | int userrow=model.rowCount(); 28 | //qDebug()<<"现有普通用户个数:"<label->setText("超级管理员个数: 1 人"); 33 | ui->label_2->setText("普通管理员个数: "+QString::number(adminrow-1,10)+"人"); 34 | ui->label_3->setText("普通用户个数: "+QString::number(userrow,10)+"人"); 35 | } 36 | -------------------------------------------------------------------------------- /capacity.h: -------------------------------------------------------------------------------- 1 | #ifndef CAPACITY_H 2 | #define CAPACITY_H 3 | 4 | #include 5 | 6 | namespace Ui { 7 | class Capacity; 8 | } 9 | 10 | class Capacity : public QWidget 11 | { 12 | Q_OBJECT 13 | public: 14 | explicit Capacity(QWidget *parent = 0); 15 | ~Capacity(); 16 | void volumecheck(); 17 | signals: 18 | void tocapac2system(); 19 | private slots: 20 | void on_volumereturnbnz_clicked(); 21 | private: 22 | Ui::Capacity *ui; 23 | }; 24 | 25 | #endif // CAPACITY_H 26 | -------------------------------------------------------------------------------- /capacity.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/capacity.o -------------------------------------------------------------------------------- /config/threathold.txt: -------------------------------------------------------------------------------- 1 | 72 2 | -------------------------------------------------------------------------------- /data.h: -------------------------------------------------------------------------------- 1 | #ifndef DATA_H 2 | #define DATA_H 3 | 4 | #include "common.h" 5 | #include 6 | 7 | class QSqlRelationalTableModel; 8 | class QString; 9 | class QSqlQueryModel; 10 | 11 | class Data 12 | { 13 | public: 14 | //save as char type 15 | char facedata[FACENUM][facefeature_length]; 16 | char **reco_updata; 17 | char **commfacetemplates; 18 | char **adminfacetemplates; 19 | QByteArray qbyte[10]; 20 | static Data *getinstance(); 21 | QSqlRelationalTableModel* getusermodel(); 22 | QSqlQueryModel* getusermodel2(); 23 | int getlastid(); 24 | void writetodata(); 25 | void savemodify(); 26 | void updata_data(); 27 | void sleep(unsigned int msec); 28 | int convert_yuv_to_rgb_buffer(unsigned char *yuv, unsigned char *rgb, unsigned int width, unsigned int height); 29 | int convert_yuv_to_rgb_pixel(int y, int u, int v); 30 | private: 31 | Data(); 32 | static Data *data; 33 | QSqlRelationalTableModel *usrmodel; 34 | QSqlQueryModel *usrmodel2; 35 | 36 | }; 37 | #endif // DATA_H 38 | -------------------------------------------------------------------------------- /data.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/data.o -------------------------------------------------------------------------------- /dealdata.cpp: -------------------------------------------------------------------------------- 1 | #include "dealdata.h" 2 | #include 3 | #include "data.h" 4 | #include "common.h" 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include "assert.h" 10 | 11 | extern int numframe; 12 | extern int modifyrownum; 13 | extern bool ISSAVE; 14 | extern bool ISREAD; 15 | extern bool ISMODY; 16 | 17 | Dealdata::Dealdata() 18 | { 19 | usrmodel=new QSqlRelationalTableModel(); 20 | 21 | dd=Data::getinstance(); 22 | usrmodel=dd->getusermodel(); 23 | 24 | } 25 | void Dealdata::run() 26 | { 27 | { 28 | 29 | if(ISSAVE) 30 | { 31 | ISSAVE=false; 32 | writetodata(); 33 | } 34 | if(ISREAD) 35 | { 36 | ISREAD=false; 37 | readuserface(); 38 | } 39 | if(ISMODY) 40 | { 41 | ISMODY=false; 42 | //savemodify(); 43 | } 44 | } 45 | } 46 | /*******************dave face data************************************/ 47 | void Dealdata::writetodata() 48 | { 49 | int rownum; 50 | if(!ismodify) 51 | { 52 | rownum=usrmodel->rowCount(); 53 | usrmodel->insertRow(rownum); 54 | }else{ 55 | rownum=modifyrownum; 56 | ismodify=false; 57 | } 58 | //usrmodel->setEditStrategy(QSqlTableModel::OnFieldChange); //属性变化时写入数据库 59 | usrmodel->setData(usrmodel->index(rownum,0),id); 60 | usrmodel->setData(usrmodel->index(rownum,1),name); 61 | for(int i=0,col=2;i<10,col<12;i++,col++) 62 | { 63 | //test 64 | //usrmodel->setData(usrmodel->index(rownum,col),Data::getinstance()->facedata_i[i]); 65 | usrmodel->setData(usrmodel->index(rownum,col),/*QByteArray::fromRawData(*/Data::getinstance()->facedata[i],sizeof(Data::getinstance()->facedata[i]))/*)*/; 66 | } 67 | if(usrmodel->submitAll()) 68 | { 69 | if(!usrmodel->database().commit()) 70 | { 71 | qDebug()<lastError(); 72 | } 73 | } 74 | updatadb=true; 75 | } 76 | /********************read user faces******************************/ 77 | void Dealdata::readuserface() 78 | { 79 | int i, j; 80 | int num=0; 81 | int id; 82 | char *ch; 83 | QByteArray qbyte; 84 | QSqlQuery query; 85 | QSqlQuery adminquery; 86 | //common user 87 | usrmodel->setTable("hjcommon"); 88 | usrmodel->select(); 89 | commrownum = usrmodel->rowCount(); 90 | query.exec("select * from hjcommon"); 91 | while(query.next()) 92 | { 93 | assert(num<100); 94 | idArray[num]=query.value(0).toInt(); 95 | for(i=0; i<10; i++) 96 | { 97 | qbyte = query.value(2 + i).toByteArray(); 98 | ch = qbyte.data(); 99 | for(j=0; jcommfacetemplates[num*10 + i][j] = ch[j]; 101 | } 102 | } 103 | num++; 104 | } 105 | } 106 | 107 | -------------------------------------------------------------------------------- /dealdata.h: -------------------------------------------------------------------------------- 1 | #ifndef DEALDATA_H 2 | #define DEALDATA_H 3 | #include 4 | 5 | class Data; 6 | class QSqlRelationalTableModel; 7 | 8 | 9 | class Dealdata:public QThread 10 | { 11 | public: 12 | Dealdata(); 13 | void writetodata(); 14 | void readuserface(); 15 | //void savemodify(); 16 | 17 | protected: 18 | void run(); 19 | private: 20 | Data *dd; 21 | QSqlRelationalTableModel *usrmodel; 22 | }; 23 | 24 | #endif // DEALDATA_H 25 | -------------------------------------------------------------------------------- /dealdata.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/dealdata.o -------------------------------------------------------------------------------- /doorpwd.cpp: -------------------------------------------------------------------------------- 1 | #include "doorpwd.h" 2 | #include "ui_doorpwd.h" 3 | #include "numkeyboard.h" 4 | 5 | extern bool isdoorpwd; 6 | 7 | Doorpwd::Doorpwd(QWidget *parent) : 8 | QWidget(parent), 9 | ui(new Ui::Doorpwd) 10 | { 11 | ui->setupUi(this); 12 | setWindowFlags(Qt::FramelessWindowHint); 13 | 14 | numkeyboard=new Numkeyboard(); 15 | connect(numkeyboard,SIGNAL(todoorpwd()),this,SLOT(show())); 16 | } 17 | Doorpwd::~Doorpwd() 18 | { 19 | delete ui; 20 | } 21 | 22 | void Doorpwd::on_lineEdit_selectionChanged() 23 | { 24 | numkeyboard->show(); 25 | } 26 | 27 | void Doorpwd::on_dooretunbnz_clicked() 28 | { 29 | isdoorpwd=false; 30 | hide(); 31 | emit todoorpwd2secr(); 32 | } 33 | -------------------------------------------------------------------------------- /doorpwd.h: -------------------------------------------------------------------------------- 1 | #ifndef DOORPWD_H 2 | #define DOORPWD_H 3 | 4 | #include 5 | 6 | class Numkeyboard; 7 | 8 | namespace Ui { 9 | class Doorpwd; 10 | } 11 | 12 | class Doorpwd : public QWidget 13 | { 14 | Q_OBJECT 15 | 16 | public: 17 | explicit Doorpwd(QWidget *parent = 0); 18 | ~Doorpwd(); 19 | signals: 20 | void todoorpwd2secr(); 21 | 22 | private slots: 23 | void on_lineEdit_selectionChanged(); 24 | void on_dooretunbnz_clicked(); 25 | 26 | private: 27 | Ui::Doorpwd *ui; 28 | Numkeyboard *numkeyboard; 29 | }; 30 | 31 | #endif // DOORPWD_H 32 | -------------------------------------------------------------------------------- /doorpwd.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/doorpwd.o -------------------------------------------------------------------------------- /enterpwd.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/enterpwd.wav -------------------------------------------------------------------------------- /faceimages/20130.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/20130.jpg -------------------------------------------------------------------------------- /faceimages/20131.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/20131.jpg -------------------------------------------------------------------------------- /faceimages/201310.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/201310.jpg -------------------------------------------------------------------------------- /faceimages/201311.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/201311.jpg -------------------------------------------------------------------------------- /faceimages/201312.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/201312.jpg -------------------------------------------------------------------------------- /faceimages/201313.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/201313.jpg -------------------------------------------------------------------------------- /faceimages/201314.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/201314.jpg -------------------------------------------------------------------------------- /faceimages/201315.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/201315.jpg -------------------------------------------------------------------------------- /faceimages/201316.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/201316.jpg -------------------------------------------------------------------------------- /faceimages/201317.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/201317.jpg -------------------------------------------------------------------------------- /faceimages/201318.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/201318.jpg -------------------------------------------------------------------------------- /faceimages/201319.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/201319.jpg -------------------------------------------------------------------------------- /faceimages/20132.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/20132.jpg -------------------------------------------------------------------------------- /faceimages/201320.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/201320.jpg -------------------------------------------------------------------------------- /faceimages/201321.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/201321.jpg -------------------------------------------------------------------------------- /faceimages/201322.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/201322.jpg -------------------------------------------------------------------------------- /faceimages/201325.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/201325.jpg -------------------------------------------------------------------------------- /faceimages/201326.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/201326.jpg -------------------------------------------------------------------------------- /faceimages/201327.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/201327.jpg -------------------------------------------------------------------------------- /faceimages/20133.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/20133.jpg -------------------------------------------------------------------------------- /faceimages/201331.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/201331.jpg -------------------------------------------------------------------------------- /faceimages/201332.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/201332.jpg -------------------------------------------------------------------------------- /faceimages/201333.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/201333.jpg -------------------------------------------------------------------------------- /faceimages/201334.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/201334.jpg -------------------------------------------------------------------------------- /faceimages/201335.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/201335.jpg -------------------------------------------------------------------------------- /faceimages/201336.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/201336.jpg -------------------------------------------------------------------------------- /faceimages/201337.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/201337.jpg -------------------------------------------------------------------------------- /faceimages/201338.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/201338.jpg -------------------------------------------------------------------------------- /faceimages/201339.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/201339.jpg -------------------------------------------------------------------------------- /faceimages/20134.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/20134.jpg -------------------------------------------------------------------------------- /faceimages/201341.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/201341.jpg -------------------------------------------------------------------------------- /faceimages/201347.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/201347.jpg -------------------------------------------------------------------------------- /faceimages/20135.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/20135.jpg -------------------------------------------------------------------------------- /faceimages/201352.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/201352.jpg -------------------------------------------------------------------------------- /faceimages/20136.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/20136.jpg -------------------------------------------------------------------------------- /faceimages/20137.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/20137.jpg -------------------------------------------------------------------------------- /faceimages/20138.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/20138.jpg -------------------------------------------------------------------------------- /faceimages/20139.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/20139.jpg -------------------------------------------------------------------------------- /faceimages/admin20131.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/admin20131.jpg -------------------------------------------------------------------------------- /faceimages/admin201310.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/admin201310.jpg -------------------------------------------------------------------------------- /faceimages/admin20132.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/admin20132.jpg -------------------------------------------------------------------------------- /faceimages/admin20133.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/admin20133.jpg -------------------------------------------------------------------------------- /faceimages/admin201331.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/admin201331.jpg -------------------------------------------------------------------------------- /faceimages/admin20134.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/admin20134.jpg -------------------------------------------------------------------------------- /faceimages/admin20135.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/admin20135.jpg -------------------------------------------------------------------------------- /faceimages/admin20136.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/admin20136.jpg -------------------------------------------------------------------------------- /faceimages/admin20137.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/admin20137.jpg -------------------------------------------------------------------------------- /faceimages/admin20138.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/admin20138.jpg -------------------------------------------------------------------------------- /faceimages/admin20139.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/admin20139.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/20130.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/20130.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/20131.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/20131.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/201310.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/201310.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/2013100.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/2013100.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/2013111.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/2013111.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/201312.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/201312.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/201313.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/201313.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/201314.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/201314.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/201315.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/201315.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/2013153.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/2013153.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/2013154.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/2013154.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/201316.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/201316.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/201317.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/201317.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/201318.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/201318.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/201319.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/201319.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/20132.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/20132.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/20133.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/20133.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/201336.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/201336.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/2013365.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/2013365.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/20134.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/20134.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/201347.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/201347.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/20135.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/20135.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/201350.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/201350.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/201355.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/201355.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/201356.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/201356.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/20136.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/20136.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/201360.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/201360.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/2013600.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/2013600.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/201363.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/201363.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/201365.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/201365.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/201366.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/201366.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/201367.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/201367.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/201369.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/201369.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/20137.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/20137.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/20138.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/20138.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/20139.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/20139.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/abc.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/abc.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/abcd.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/abcd.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/admin20130.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/admin20130.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/admin20131.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/admin20131.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/admin201310.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/admin201310.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/admin201311.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/admin201311.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/admin20132.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/admin20132.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/admin20133.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/admin20133.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/admin20134.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/admin20134.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/admin20135.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/admin20135.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/admin20136.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/admin20136.jpg -------------------------------------------------------------------------------- /faceimages/未命名文件夹/admin20138.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/faceimages/未命名文件夹/admin20138.jpg -------------------------------------------------------------------------------- /finduser.cpp: -------------------------------------------------------------------------------- 1 | #include "finduser.h" 2 | #include "ui_finduser.h" 3 | #include "numkeyboard.h" 4 | 5 | extern bool isuserfind; 6 | 7 | Finduser::Finduser(QWidget *parent) : 8 | QWidget(parent), 9 | ui(new Ui::Finduser) 10 | { 11 | ui->setupUi(this); 12 | setWindowFlags(Qt::FramelessWindowHint); 13 | 14 | numkeyboard=new Numkeyboard(); 15 | connect(numkeyboard,SIGNAL(tofind(const QString &)),this->ui->lineEdit,SLOT(setText(const QString &))); 16 | } 17 | 18 | Finduser::~Finduser() 19 | { 20 | delete ui; 21 | } 22 | 23 | void Finduser::on_findconfisebnz_clicked() 24 | { 25 | isuserfind=false; 26 | hide(); 27 | emit tofinduser(ui->lineEdit->text().toInt()); 28 | } 29 | 30 | void Finduser::on_lineEdit_selectionChanged() 31 | { 32 | numkeyboard->show(); 33 | } 34 | 35 | void Finduser::on_findreturnbnz_clicked() 36 | { 37 | isuserfind=false; 38 | hide(); 39 | emit toreturnusr(); 40 | } 41 | -------------------------------------------------------------------------------- /finduser.h: -------------------------------------------------------------------------------- 1 | #ifndef FINDUSER_H 2 | #define FINDUSER_H 3 | 4 | #include 5 | class Numkeyboard; 6 | 7 | namespace Ui { 8 | class Finduser; 9 | } 10 | 11 | class Finduser : public QWidget 12 | { 13 | Q_OBJECT 14 | 15 | public: 16 | explicit Finduser(QWidget *parent = 0); 17 | ~Finduser(); 18 | signals: 19 | void tofinduser(int); 20 | void toreturnusr(); 21 | private slots: 22 | void on_findconfisebnz_clicked(); 23 | void on_lineEdit_selectionChanged(); 24 | void on_findreturnbnz_clicked(); 25 | private: 26 | Ui::Finduser *ui; 27 | Numkeyboard *numkeyboard; 28 | }; 29 | 30 | #endif // FINDUSER_H 31 | -------------------------------------------------------------------------------- /finduser.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/finduser.o -------------------------------------------------------------------------------- /form.cpp: -------------------------------------------------------------------------------- 1 | #include "form.h" 2 | #include "ui_form.h" 3 | 4 | Form::Form(QWidget *parent) : 5 | QWidget(parent), 6 | ui(new Ui::Form) 7 | { 8 | ui->setupUi(this); 9 | } 10 | 11 | Form::~Form() 12 | { 13 | delete ui; 14 | } 15 | -------------------------------------------------------------------------------- /form.h: -------------------------------------------------------------------------------- 1 | #ifndef FORM_H 2 | #define FORM_H 3 | 4 | #include 5 | 6 | namespace Ui { 7 | class Form; 8 | } 9 | 10 | class Form : public QWidget 11 | { 12 | Q_OBJECT 13 | 14 | public: 15 | explicit Form(QWidget *parent = 0); 16 | ~Form(); 17 | 18 | private: 19 | Ui::Form *ui; 20 | }; 21 | 22 | #endif // FORM_H 23 | -------------------------------------------------------------------------------- /form.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/form.o -------------------------------------------------------------------------------- /form.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Form 7 | 8 | 9 | 10 | 0 11 | 0 12 | 320 13 | 240 14 | 15 | 16 | 17 | Form 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /generaluser.cpp: -------------------------------------------------------------------------------- 1 | #include "generaluser.h" 2 | #include "ui_generaluser.h" 3 | #include "user.h" 4 | #include "data.h" 5 | 6 | extern bool generaladmin; 7 | 8 | Generaluser::Generaluser(QWidget *parent) : 9 | QWidget(parent), 10 | ui(new Ui::Generaluser) 11 | { 12 | ui->setupUi(this); 13 | setWindowFlags(Qt::FramelessWindowHint); 14 | 15 | user=new User(); 16 | connect(user,SIGNAL(returngeneral()),this,SLOT(show())); 17 | } 18 | 19 | Generaluser::~Generaluser() 20 | { 21 | delete ui; 22 | } 23 | // 24 | void Generaluser::on_generalbnz_clicked() 25 | { 26 | hide(); 27 | user->show(); 28 | user->inituser(); 29 | } 30 | 31 | void Generaluser::on_returnhomebnz_clicked() 32 | { 33 | hide(); 34 | generaladmin=false; 35 | emit tologin2home(); 36 | } 37 | -------------------------------------------------------------------------------- /generaluser.h: -------------------------------------------------------------------------------- 1 | #ifndef GENERALUSER_H 2 | #define GENERALUSER_H 3 | 4 | #include 5 | class User; 6 | 7 | 8 | namespace Ui { 9 | class Generaluser; 10 | } 11 | 12 | class Generaluser : public QWidget 13 | { 14 | Q_OBJECT 15 | 16 | public: 17 | explicit Generaluser(QWidget *parent = 0); 18 | ~Generaluser(); 19 | signals: 20 | void tologin2user(); 21 | void tologin2home(); 22 | private slots: 23 | void on_generalbnz_clicked(); 24 | void on_returnhomebnz_clicked(); 25 | private: 26 | Ui::Generaluser *ui; 27 | User *user; 28 | }; 29 | 30 | #endif // GENERALUSER_H 31 | -------------------------------------------------------------------------------- /generaluser.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/generaluser.o -------------------------------------------------------------------------------- /hj_face_project: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/hj_face_project -------------------------------------------------------------------------------- /hj_face_project-bak: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/hj_face_project-bak -------------------------------------------------------------------------------- /hj_face_project.pro: -------------------------------------------------------------------------------- 1 | #------------------------------------------------- 2 | # 3 | # Project created by QtCreator 2013-01-07T10:38:02 4 | # 5 | #------------------------------------------------- 6 | 7 | QT += core gui 8 | 9 | QT += sql 10 | 11 | #INCLUDEPATH += /usr/local/arm/opencv-armv7real210/include/opencv 12 | 13 | #LIBS += -L/usr/local/arm/opencv-armv7real210/lib -lcv \ 14 | ## #-lhighgui \ 15 | ## #-lcxcore \ 16 | # -larmreal210face7552 \ 17 | ## #-ljpeg 18 | 19 | 20 | INCLUDEPATH += /usr/local/arm/include/ 21 | 22 | LIBS += -L/usr/local/arm/lib/ -lcv \ 23 | -lhighgui \ 24 | -lcxcore \ 25 | # -larmreal210face7552 \ 26 | -larm-A8face7552 27 | # -ljpeg 28 | 29 | 30 | TARGET = hj_face_project 31 | TEMPLATE = app 32 | 33 | 34 | SOURCES += main.cpp\ 35 | recognition.cpp \ 36 | avthread.cpp \ 37 | user.cpp \ 38 | adduser.cpp \ 39 | recfailtip.cpp \ 40 | mainmenu.cpp \ 41 | mainkeyboard.cpp \ 42 | login.cpp \ 43 | numkeylogin.cpp \ 44 | home.cpp \ 45 | numkeyboard.cpp \ 46 | informationface.cpp \ 47 | recsuccession.cpp \ 48 | security.cpp \ 49 | administrator.cpp \ 50 | addadminisrator.cpp \ 51 | inputpwd.cpp \ 52 | advancedsetup.cpp \ 53 | baseset.cpp \ 54 | systemtime.cpp \ 55 | networkset.cpp \ 56 | systemset.cpp \ 57 | version.cpp \ 58 | generaluser.cpp \ 59 | finduser.cpp \ 60 | doorpwd.cpp \ 61 | capacity.cpp \ 62 | application.cpp \ 63 | pingb.cpp \ 64 | varmessage.cpp \ 65 | data.cpp \ 66 | dealdata.cpp 67 | 68 | 69 | HEADERS += \ 70 | recognition.h \ 71 | avthread.h \ 72 | user.h \ 73 | adduser.h \ 74 | mainkeyboard.h \ 75 | common.h \ 76 | recfailtip.h \ 77 | mainmenu.h \ 78 | login.h \ 79 | numkeylogin.h \ 80 | home.h \ 81 | numkeyboard.h \ 82 | informationface.h \ 83 | recsuccession.h \ 84 | security.h \ 85 | administrator.h \ 86 | addadminisrator.h \ 87 | inputpwd.h \ 88 | advancedsetup.h \ 89 | baseset.h \ 90 | systemtime.h \ 91 | networkset.h \ 92 | systemset.h \ 93 | version.h \ 94 | generaluser.h \ 95 | finduser.h \ 96 | doorpwd.h \ 97 | capacity.h \ 98 | application.h \ 99 | pingb.h \ 100 | varmessage.h \ 101 | data.h \ 102 | dealdata.h 103 | 104 | 105 | 106 | FORMS += \ 107 | recognition.ui \ 108 | user.ui \ 109 | adduser.ui \ 110 | mainkeyboard.ui \ 111 | recfailtip.ui \ 112 | mainmenu.ui \ 113 | login.ui \ 114 | numkeylogin.ui \ 115 | home.ui \ 116 | numkeyboard.ui \ 117 | informationface.ui \ 118 | recsuccession.ui \ 119 | security.ui \ 120 | administrator.ui \ 121 | addadminisrator.ui \ 122 | inputpwd.ui \ 123 | advancedsetup.ui \ 124 | baseset.ui \ 125 | systemtime.ui \ 126 | networkset.ui \ 127 | systemset.ui \ 128 | version.ui \ 129 | generaluser.ui \ 130 | finduser.ui \ 131 | doorpwd.ui \ 132 | capacity.ui \ 133 | pingb.ui \ 134 | varmessage.ui 135 | 136 | 137 | 138 | RESOURCES += \ 139 | resource.qrc 140 | -------------------------------------------------------------------------------- /hjdata.sqlite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/hjdata.sqlite -------------------------------------------------------------------------------- /home.h: -------------------------------------------------------------------------------- 1 | #ifndef HOME_H 2 | #define HOME_H 3 | 4 | #include 5 | 6 | class Numkeyboard; 7 | class Login; 8 | class Recognition; 9 | class Avthread; 10 | class Dealdata; 11 | class Application; 12 | class QTimer; 13 | class Inputpwd; 14 | class Generaluser; 15 | class Mainmenu; 16 | class Data; 17 | 18 | 19 | namespace Ui { 20 | class Home; 21 | } 22 | 23 | class Home : public QWidget 24 | { 25 | Q_OBJECT 26 | 27 | public: 28 | explicit Home(QWidget *parent = 0); 29 | ~Home(); 30 | void startrecog(); 31 | //void startav(); 32 | void settime(); 33 | private slots: 34 | void on_pushButton_clicked(); 35 | void closehome(); 36 | void login2home(); 37 | void showthis(); 38 | void checkface(); 39 | void pbshow(); 40 | void home2input(); 41 | void home2menu(); 42 | private: 43 | Ui::Home *ui; 44 | Login *login; 45 | Recognition *recognition; 46 | Avthread *avthread; 47 | Dealdata *dealdata; 48 | Numkeyboard *numkeyboard; 49 | QTimer *findedface; 50 | Inputpwd *inputpwd; 51 | Mainmenu *mainmenu; 52 | Generaluser *generaluser; 53 | //Data *data; 54 | }; 55 | 56 | #endif // HOME_H 57 | -------------------------------------------------------------------------------- /home.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/home.o -------------------------------------------------------------------------------- /homelogin.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/homelogin.o -------------------------------------------------------------------------------- /informationface.cpp: -------------------------------------------------------------------------------- 1 | #include "informationface.h" 2 | #include "ui_informationface.h" 3 | 4 | Informationface::Informationface(QWidget *parent) : 5 | QWidget(parent), 6 | ui(new Ui::Informationface) 7 | { 8 | ui->setupUi(this); 9 | setWindowFlags(Qt::FramelessWindowHint); 10 | } 11 | 12 | Informationface::~Informationface() 13 | { 14 | delete ui; 15 | } 16 | -------------------------------------------------------------------------------- /informationface.h: -------------------------------------------------------------------------------- 1 | #ifndef INFORMATIONFACE_H 2 | #define INFORMATIONFACE_H 3 | 4 | #include 5 | 6 | namespace Ui { 7 | class Informationface; 8 | } 9 | class Informationface : public QWidget 10 | { 11 | Q_OBJECT 12 | public: 13 | explicit Informationface(QWidget *parent = 0); 14 | ~Informationface(); 15 | private: 16 | Ui::Informationface *ui; 17 | }; 18 | 19 | #endif // INFORMATIONFACE_H 20 | -------------------------------------------------------------------------------- /informationface.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/informationface.o -------------------------------------------------------------------------------- /informationface.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | Informationface 4 | 5 | 6 | 7 | 0 8 | 0 9 | 400 10 | 300 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 255 20 | 255 21 | 255 22 | 23 | 24 | 25 | 26 | 27 | 28 | 91 29 | 91 30 | 91 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 255 40 | 255 41 | 255 42 | 43 | 44 | 45 | 46 | 47 | 48 | 91 49 | 91 50 | 91 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 91 60 | 91 61 | 91 62 | 63 | 64 | 65 | 66 | 67 | 68 | 91 69 | 91 70 | 91 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | Form 79 | 80 | 81 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /inputpwd.cpp: -------------------------------------------------------------------------------- 1 | #include "inputpwd.h" 2 | #include "ui_inputpwd.h" 3 | #include "numkeylogin.h" 4 | #include "common.h" 5 | 6 | Inputpwd::Inputpwd(QWidget *parent) : 7 | QWidget(parent), 8 | ui(new Ui::Inputpwd) 9 | { 10 | ui->setupUi(this); 11 | setWindowFlags(Qt::FramelessWindowHint); 12 | numkeylogin=new Numkeylogin(this); 13 | numkeylogin->move((320 - 210)/2, (240 - 230)/2); 14 | connect(&hometimer,SIGNAL(timeout()),this,SLOT(hide())); 15 | connect(numkeylogin,SIGNAL(tologin2home()),this,SLOT(hide())); 16 | connect(numkeylogin,SIGNAL(tologin2home()),this,SIGNAL(toinputpwdhome())); 17 | connect(numkeylogin,SIGNAL(tologin2menu()),this,SLOT(hide()));//跳转的 18 | connect(numkeylogin,SIGNAL(tologin2menu()),this,SIGNAL(toinputpwdmenu())); 19 | } 20 | 21 | Inputpwd::~Inputpwd() 22 | { 23 | delete ui; 24 | } 25 | -------------------------------------------------------------------------------- /inputpwd.h: -------------------------------------------------------------------------------- 1 | #ifndef INPUTPWD_H 2 | #define INPUTPWD_H 3 | 4 | #include 5 | #include "numkeylogin.h" 6 | 7 | //class QSound; 8 | 9 | namespace Ui { 10 | class Inputpwd; 11 | } 12 | class Inputpwd : public QWidget 13 | { 14 | Q_OBJECT 15 | public: 16 | explicit Inputpwd(QWidget *parent = 0); 17 | ~Inputpwd(); 18 | signals: 19 | void toinputpwdlogin(); 20 | void toinputpwdhome(); 21 | void toinputpwdmenu(); 22 | private: 23 | Ui::Inputpwd *ui; 24 | Numkeylogin *numkeylogin; 25 | 26 | }; 27 | 28 | #endif // INPUTPWD_H 29 | -------------------------------------------------------------------------------- /inputpwd.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/inputpwd.o -------------------------------------------------------------------------------- /inputpwd.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | Inputpwd 4 | 5 | 6 | 7 | 0 8 | 0 9 | 320 10 | 240 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 255 20 | 255 21 | 255 22 | 23 | 24 | 25 | 26 | 27 | 28 | 91 29 | 91 30 | 91 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 255 40 | 255 41 | 255 42 | 43 | 44 | 45 | 46 | 47 | 48 | 91 49 | 91 50 | 91 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 91 60 | 91 61 | 91 62 | 63 | 64 | 65 | 66 | 67 | 68 | 91 69 | 91 70 | 91 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | Form 79 | 80 | 81 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /login.cpp: -------------------------------------------------------------------------------- 1 | #include "login.h" 2 | #include "ui_login.h" 3 | #include "numkeylogin.h" 4 | #include "home.h" 5 | #include 6 | #include "generaluser.h" 7 | #include "data.h" 8 | #include "common.h" 9 | 10 | Login::Login(QWidget *parent) : 11 | QWidget(parent), 12 | ui(new Ui::Login) 13 | { 14 | ui->setupUi(this); 15 | setWindowFlags(Qt::FramelessWindowHint); 16 | data=Data::getinstance(); 17 | numkeylogin =new Numkeylogin(this); 18 | numkeylogin->setGeometry(10,10,210,230); 19 | recognition=Recognition::getinstance(); 20 | connect(&hometimer,SIGNAL(timeout()),this,SLOT(hidelogin())); 21 | connect(numkeylogin,SIGNAL(tologin2recog()),this,SLOT(login2recog())); 22 | connect(recognition,SIGNAL(tolong2input()),this,SIGNAL(tohome2input())); 23 | connect(recognition,SIGNAL(torecog2home()),this,SIGNAL(tologin2home())); 24 | } 25 | 26 | Login::~Login() 27 | { 28 | delete ui; 29 | } 30 | // 31 | void Login::on_pushButton_clicked() 32 | { 33 | hide(); 34 | emit tologin2home(); 35 | } 36 | void Login::login2recog() 37 | { 38 | barflag=false; 39 | adminflag=true; 40 | usbisstop=false; 41 | avisstop=false; 42 | beginfacerequire=false; 43 | hide(); 44 | recognition->show(); 45 | //远程调用产生的问题//强烈高度关注 46 | //recognition->startavthread(); 47 | data->sleep(50); 48 | recognition->mainloop(); 49 | } 50 | void Login::longinputxx() 51 | { 52 | 53 | } 54 | void Login::hidelogin() 55 | { 56 | this->hide(); 57 | qDebug()<<"隐藏掉LOGIN窗口"; 58 | } 59 | -------------------------------------------------------------------------------- /login.h: -------------------------------------------------------------------------------- 1 | #ifndef LOGIN_H 2 | #define LOGIN_H 3 | 4 | #include 5 | 6 | class Numkeylogin; 7 | class Recognition; 8 | class QSound; 9 | class Data; 10 | 11 | 12 | namespace Ui { 13 | class Login; 14 | } 15 | 16 | class Login : public QWidget 17 | { 18 | Q_OBJECT 19 | public: 20 | explicit Login(QWidget *parent = 0); 21 | ~Login(); 22 | signals: 23 | void tologin2home(); 24 | void tomenu2general(); 25 | void tohome2input(); 26 | //void tohome2menu(); 27 | 28 | private slots: 29 | void on_pushButton_clicked(); 30 | //void login2menu(); 31 | void login2recog(); 32 | void longinputxx(); 33 | void hidelogin(); 34 | 35 | private: 36 | Ui::Login *ui; 37 | Numkeylogin *numkeylogin; 38 | Recognition *recognition; 39 | Data *data; 40 | 41 | }; 42 | 43 | #endif // Login 44 | -------------------------------------------------------------------------------- /login.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/login.o -------------------------------------------------------------------------------- /main.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/main.o -------------------------------------------------------------------------------- /mainkeyboard.h: -------------------------------------------------------------------------------- 1 | #ifndef MAINKEYBOARD_H 2 | #define MAINKEYBOARD_H 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | 11 | namespace Ui { 12 | class Mainkeyboard; 13 | } 14 | 15 | class Mainkeyboard : public QWidget 16 | { 17 | Q_OBJECT 18 | 19 | public: 20 | explicit Mainkeyboard(QWidget *parent = 0); 21 | ~Mainkeyboard(); 22 | void userbs(); 23 | signals: 24 | void setvalue(const QString &); 25 | void backs(); 26 | void sendname(const QString &); 27 | void sendid(const QString &); 28 | 29 | void adminsendname(const QString &); 30 | void adminsendid(const QString &); 31 | private: 32 | Ui::Mainkeyboard *ui; 33 | 34 | int b1,b2,b3,b4,b5,b6,b7,b8,b9,b10; 35 | int flag_en; 36 | int count,i; 37 | QFile *file; 38 | QString line; 39 | QTextStream *in; 40 | QPushButton *zw[8]; 41 | QTimer *timer1,*timer2,*timer3,*timer4,*timer5,*timer6,*timer7,*timer8,*timer9,*timer10; 42 | private slots: 43 | void update1(); 44 | void update2(); 45 | void update3(); 46 | void update4(); 47 | void update5(); 48 | void update6(); 49 | void update7(); 50 | void update8(); 51 | void update9(); 52 | void inputzw(); 53 | 54 | void on_Button_1_clicked(); 55 | void on_Buttonz1_clicked(); 56 | void on_Buttonz2_clicked(); 57 | void on_Buttonz3_clicked(); 58 | void on_Buttonz4_clicked(); 59 | void on_Buttonz5_clicked(); 60 | void on_Buttonz6_clicked(); 61 | void on_Buttonz7_clicked(); 62 | void on_Buttonz8_clicked(); 63 | void on_Button_2_clicked(); 64 | void on_Button_3_clicked(); 65 | void on_Button_xh_clicked(); 66 | void on_Button_add_clicked(); 67 | void on_Button_4_clicked(); 68 | void on_Button_5_clicked(); 69 | void on_Button_6_clicked(); 70 | void on_Button_0_clicked(); 71 | void on_Button_qh_clicked(); 72 | void on_Button_7_clicked(); 73 | void on_Button_8_clicked(); 74 | void on_Button_9_clicked(); 75 | void on_Button_jh_clicked(); 76 | void on_Button_sub_clicked(); 77 | }; 78 | 79 | #endif // MAINKEYBOARD_H 80 | -------------------------------------------------------------------------------- /mainkeyboard.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/mainkeyboard.o -------------------------------------------------------------------------------- /mainmenu.cpp: -------------------------------------------------------------------------------- 1 | #include "mainmenu.h" 2 | #include "ui_mainmenu.h" 3 | #include "user.h" 4 | #include "security.h" 5 | #include "advancedsetup.h" 6 | #include "systemset.h" 7 | #include 8 | #include 9 | #include 10 | #include "common.h" 11 | #include "data.h" 12 | 13 | Mainmenu::Mainmenu(QWidget *parent) : 14 | QWidget(parent), 15 | ui(new Ui::Mainmenu) 16 | { 17 | ui->setupUi(this); 18 | setWindowFlags(Qt::FramelessWindowHint); 19 | usrlist=Data::getinstance(); 20 | 21 | user=new User(); 22 | security=new Security(); 23 | advancedsetup=new Advancedsetup(); 24 | systemset=new Systemset(); 25 | connect(&hometimer,SIGNAL(timeout()),this,SLOT(hide())); 26 | connect(advancedsetup,SIGNAL(toadviceset2menu()),this,SLOT(show())); 27 | connect(security,SIGNAL(tosecurity2menu()),this,SLOT(show())); 28 | connect(user,SIGNAL(returnmenu()),this,SLOT(show())); 29 | connect(systemset,SIGNAL(tosystem2menu()),this,SLOT(show())); 30 | } 31 | Mainmenu::~Mainmenu() 32 | { 33 | delete ui; 34 | } 35 | 36 | void Mainmenu::on_pushButton_2_clicked() 37 | { 38 | hide(); 39 | user->show(); 40 | usrlist->sleep(50); 41 | user->inituser(); 42 | } 43 | 44 | void Mainmenu::on_menureturn_clicked() 45 | { 46 | hide(); 47 | emit tomenu2login(); 48 | } 49 | 50 | void Mainmenu::on_security_bnz_clicked() 51 | { 52 | hide(); 53 | security->show(); 54 | } 55 | 56 | void Mainmenu::on_advicesetbnz_clicked() 57 | { 58 | hide(); 59 | advancedsetup->show(); 60 | } 61 | 62 | void Mainmenu::on_systemsetbnz_clicked() 63 | { 64 | hide(); 65 | systemset->show(); 66 | 67 | } 68 | -------------------------------------------------------------------------------- /mainmenu.h: -------------------------------------------------------------------------------- 1 | #ifndef MAINMENU_H 2 | #define MAINMENU_H 3 | 4 | #include 5 | class User; 6 | class Security; 7 | class Advancedsetup; 8 | class Systemset; 9 | class Data; 10 | 11 | namespace Ui { 12 | class Mainmenu; 13 | } 14 | 15 | class Mainmenu : public QWidget 16 | { 17 | Q_OBJECT 18 | 19 | public: 20 | explicit Mainmenu(QWidget *parent = 0); 21 | ~Mainmenu(); 22 | signals: 23 | void tomenu2login(); 24 | private slots: 25 | void on_pushButton_2_clicked(); 26 | void on_menureturn_clicked(); 27 | void on_security_bnz_clicked(); 28 | void on_advicesetbnz_clicked(); 29 | void on_systemsetbnz_clicked(); 30 | private: 31 | Ui::Mainmenu *ui; 32 | User *user; 33 | Security *security; 34 | Advancedsetup *advancedsetup; 35 | Systemset *systemset; 36 | Data *usrlist; 37 | }; 38 | 39 | #endif // MAINMENU_H 40 | -------------------------------------------------------------------------------- /mainmenu.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/mainmenu.o -------------------------------------------------------------------------------- /moc_addadminisrator.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_addadminisrator.o -------------------------------------------------------------------------------- /moc_adduser.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'adduser.h' 3 | ** 4 | ** Created: Wed Apr 10 10:57:20 2013 5 | ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.3) 6 | ** 7 | ** WARNING! All changes made in this file will be lost! 8 | *****************************************************************************/ 9 | 10 | #include "adduser.h" 11 | #if !defined(Q_MOC_OUTPUT_REVISION) 12 | #error "The header file 'adduser.h' doesn't include ." 13 | #elif Q_MOC_OUTPUT_REVISION != 62 14 | #error "This file was generated using the moc from 4.7.3. It" 15 | #error "cannot be used with the include files from this version of Qt." 16 | #error "(The moc has changed too much.)" 17 | #endif 18 | 19 | QT_BEGIN_MOC_NAMESPACE 20 | static const uint qt_meta_data_Adduser[] = { 21 | 22 | // content: 23 | 5, // revision 24 | 0, // classname 25 | 0, 0, // classinfo 26 | 6, 14, // methods 27 | 0, 0, // properties 28 | 0, 0, // enums/sets 29 | 0, 0, // constructors 30 | 0, // flags 31 | 2, // signalCount 32 | 33 | // signals: signature, parameters, type, tag, flags 34 | 9, 8, 8, 8, 0x05, 35 | 27, 8, 8, 8, 0x05, 36 | 37 | // slots: signature, parameters, type, tag, flags 38 | 40, 8, 8, 8, 0x08, 39 | 71, 8, 8, 8, 0x08, 40 | 104, 8, 8, 8, 0x08, 41 | 129, 8, 8, 8, 0x08, 42 | 43 | 0 // eod 44 | }; 45 | 46 | static const char qt_meta_stringdata_Adduser[] = { 47 | "Adduser\0\0requirefaceshow()\0returnuser()\0" 48 | "on_lineEdit_selectionChanged()\0" 49 | "on_lineEdit_4_selectionChanged()\0" 50 | "on_requireface_clicked()\0" 51 | "on_returnbutton_clicked()\0" 52 | }; 53 | 54 | const QMetaObject Adduser::staticMetaObject = { 55 | { &QWidget::staticMetaObject, qt_meta_stringdata_Adduser, 56 | qt_meta_data_Adduser, 0 } 57 | }; 58 | 59 | #ifdef Q_NO_DATA_RELOCATION 60 | const QMetaObject &Adduser::getStaticMetaObject() { return staticMetaObject; } 61 | #endif //Q_NO_DATA_RELOCATION 62 | 63 | const QMetaObject *Adduser::metaObject() const 64 | { 65 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 66 | } 67 | 68 | void *Adduser::qt_metacast(const char *_clname) 69 | { 70 | if (!_clname) return 0; 71 | if (!strcmp(_clname, qt_meta_stringdata_Adduser)) 72 | return static_cast(const_cast< Adduser*>(this)); 73 | return QWidget::qt_metacast(_clname); 74 | } 75 | 76 | int Adduser::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 77 | { 78 | _id = QWidget::qt_metacall(_c, _id, _a); 79 | if (_id < 0) 80 | return _id; 81 | if (_c == QMetaObject::InvokeMetaMethod) { 82 | switch (_id) { 83 | case 0: requirefaceshow(); break; 84 | case 1: returnuser(); break; 85 | case 2: on_lineEdit_selectionChanged(); break; 86 | case 3: on_lineEdit_4_selectionChanged(); break; 87 | case 4: on_requireface_clicked(); break; 88 | case 5: on_returnbutton_clicked(); break; 89 | default: ; 90 | } 91 | _id -= 6; 92 | } 93 | return _id; 94 | } 95 | 96 | // SIGNAL 0 97 | void Adduser::requirefaceshow() 98 | { 99 | QMetaObject::activate(this, &staticMetaObject, 0, 0); 100 | } 101 | 102 | // SIGNAL 1 103 | void Adduser::returnuser() 104 | { 105 | QMetaObject::activate(this, &staticMetaObject, 1, 0); 106 | } 107 | QT_END_MOC_NAMESPACE 108 | -------------------------------------------------------------------------------- /moc_adduser.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_adduser.o -------------------------------------------------------------------------------- /moc_administrator.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_administrator.o -------------------------------------------------------------------------------- /moc_advancedsetup.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'advancedsetup.h' 3 | ** 4 | ** Created: Wed Apr 10 10:57:35 2013 5 | ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.3) 6 | ** 7 | ** WARNING! All changes made in this file will be lost! 8 | *****************************************************************************/ 9 | 10 | #include "advancedsetup.h" 11 | #if !defined(Q_MOC_OUTPUT_REVISION) 12 | #error "The header file 'advancedsetup.h' doesn't include ." 13 | #elif Q_MOC_OUTPUT_REVISION != 62 14 | #error "This file was generated using the moc from 4.7.3. It" 15 | #error "cannot be used with the include files from this version of Qt." 16 | #error "(The moc has changed too much.)" 17 | #endif 18 | 19 | QT_BEGIN_MOC_NAMESPACE 20 | static const uint qt_meta_data_Advancedsetup[] = { 21 | 22 | // content: 23 | 5, // revision 24 | 0, // classname 25 | 0, 0, // classinfo 26 | 5, 14, // methods 27 | 0, 0, // properties 28 | 0, 0, // enums/sets 29 | 0, 0, // constructors 30 | 0, // flags 31 | 1, // signalCount 32 | 33 | // signals: signature, parameters, type, tag, flags 34 | 15, 14, 14, 14, 0x05, 35 | 36 | // slots: signature, parameters, type, tag, flags 37 | 34, 14, 14, 14, 0x08, 38 | 66, 14, 14, 14, 0x08, 39 | 90, 14, 14, 14, 0x08, 40 | 117, 14, 14, 14, 0x08, 41 | 42 | 0 // eod 43 | }; 44 | 45 | static const char qt_meta_stringdata_Advancedsetup[] = { 46 | "Advancedsetup\0\0toadviceset2menu()\0" 47 | "on_advicesetreturnbnz_clicked()\0" 48 | "on_basesetbnz_clicked()\0" 49 | "on_systemtimebnz_clicked()\0" 50 | "on_networkbnz_clicked()\0" 51 | }; 52 | 53 | const QMetaObject Advancedsetup::staticMetaObject = { 54 | { &QWidget::staticMetaObject, qt_meta_stringdata_Advancedsetup, 55 | qt_meta_data_Advancedsetup, 0 } 56 | }; 57 | 58 | #ifdef Q_NO_DATA_RELOCATION 59 | const QMetaObject &Advancedsetup::getStaticMetaObject() { return staticMetaObject; } 60 | #endif //Q_NO_DATA_RELOCATION 61 | 62 | const QMetaObject *Advancedsetup::metaObject() const 63 | { 64 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 65 | } 66 | 67 | void *Advancedsetup::qt_metacast(const char *_clname) 68 | { 69 | if (!_clname) return 0; 70 | if (!strcmp(_clname, qt_meta_stringdata_Advancedsetup)) 71 | return static_cast(const_cast< Advancedsetup*>(this)); 72 | return QWidget::qt_metacast(_clname); 73 | } 74 | 75 | int Advancedsetup::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 76 | { 77 | _id = QWidget::qt_metacall(_c, _id, _a); 78 | if (_id < 0) 79 | return _id; 80 | if (_c == QMetaObject::InvokeMetaMethod) { 81 | switch (_id) { 82 | case 0: toadviceset2menu(); break; 83 | case 1: on_advicesetreturnbnz_clicked(); break; 84 | case 2: on_basesetbnz_clicked(); break; 85 | case 3: on_systemtimebnz_clicked(); break; 86 | case 4: on_networkbnz_clicked(); break; 87 | default: ; 88 | } 89 | _id -= 5; 90 | } 91 | return _id; 92 | } 93 | 94 | // SIGNAL 0 95 | void Advancedsetup::toadviceset2menu() 96 | { 97 | QMetaObject::activate(this, &staticMetaObject, 0, 0); 98 | } 99 | QT_END_MOC_NAMESPACE 100 | -------------------------------------------------------------------------------- /moc_advancedsetup.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_advancedsetup.o -------------------------------------------------------------------------------- /moc_application.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'application.h' 3 | ** 4 | ** Created: Wed Apr 10 10:57:44 2013 5 | ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.3) 6 | ** 7 | ** WARNING! All changes made in this file will be lost! 8 | *****************************************************************************/ 9 | 10 | #include "application.h" 11 | #if !defined(Q_MOC_OUTPUT_REVISION) 12 | #error "The header file 'application.h' doesn't include ." 13 | #elif Q_MOC_OUTPUT_REVISION != 62 14 | #error "This file was generated using the moc from 4.7.3. It" 15 | #error "cannot be used with the include files from this version of Qt." 16 | #error "(The moc has changed too much.)" 17 | #endif 18 | 19 | QT_BEGIN_MOC_NAMESPACE 20 | static const uint qt_meta_data_Application[] = { 21 | 22 | // content: 23 | 5, // revision 24 | 0, // classname 25 | 0, 0, // classinfo 26 | 2, 14, // methods 27 | 0, 0, // properties 28 | 0, 0, // enums/sets 29 | 0, 0, // constructors 30 | 0, // flags 31 | 1, // signalCount 32 | 33 | // signals: signature, parameters, type, tag, flags 34 | 13, 12, 12, 12, 0x05, 35 | 36 | // slots: signature, parameters, type, tag, flags 37 | 26, 12, 12, 12, 0x08, 38 | 39 | 0 // eod 40 | }; 41 | 42 | static const char qt_meta_stringdata_Application[] = { 43 | "Application\0\0toapp2home()\0pingbdeal()\0" 44 | }; 45 | 46 | const QMetaObject Application::staticMetaObject = { 47 | { &QApplication::staticMetaObject, qt_meta_stringdata_Application, 48 | qt_meta_data_Application, 0 } 49 | }; 50 | 51 | #ifdef Q_NO_DATA_RELOCATION 52 | const QMetaObject &Application::getStaticMetaObject() { return staticMetaObject; } 53 | #endif //Q_NO_DATA_RELOCATION 54 | 55 | const QMetaObject *Application::metaObject() const 56 | { 57 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 58 | } 59 | 60 | void *Application::qt_metacast(const char *_clname) 61 | { 62 | if (!_clname) return 0; 63 | if (!strcmp(_clname, qt_meta_stringdata_Application)) 64 | return static_cast(const_cast< Application*>(this)); 65 | return QApplication::qt_metacast(_clname); 66 | } 67 | 68 | int Application::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 69 | { 70 | _id = QApplication::qt_metacall(_c, _id, _a); 71 | if (_id < 0) 72 | return _id; 73 | if (_c == QMetaObject::InvokeMetaMethod) { 74 | switch (_id) { 75 | case 0: toapp2home(); break; 76 | case 1: pingbdeal(); break; 77 | default: ; 78 | } 79 | _id -= 2; 80 | } 81 | return _id; 82 | } 83 | 84 | // SIGNAL 0 85 | void Application::toapp2home() 86 | { 87 | QMetaObject::activate(this, &staticMetaObject, 0, 0); 88 | } 89 | QT_END_MOC_NAMESPACE 90 | -------------------------------------------------------------------------------- /moc_application.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_application.o -------------------------------------------------------------------------------- /moc_avthread.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'avthread.h' 3 | ** 4 | ** Created: Mon Jun 3 11:38:04 2013 5 | ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.3) 6 | ** 7 | ** WARNING! All changes made in this file will be lost! 8 | *****************************************************************************/ 9 | 10 | #include "avthread.h" 11 | #if !defined(Q_MOC_OUTPUT_REVISION) 12 | #error "The header file 'avthread.h' doesn't include ." 13 | #elif Q_MOC_OUTPUT_REVISION != 62 14 | #error "This file was generated using the moc from 4.7.3. It" 15 | #error "cannot be used with the include files from this version of Qt." 16 | #error "(The moc has changed too much.)" 17 | #endif 18 | 19 | QT_BEGIN_MOC_NAMESPACE 20 | static const uint qt_meta_data_Avthread[] = { 21 | 22 | // content: 23 | 5, // revision 24 | 0, // classname 25 | 0, 0, // classinfo 26 | 3, 14, // methods 27 | 0, 0, // properties 28 | 0, 0, // enums/sets 29 | 0, 0, // constructors 30 | 0, // flags 31 | 3, // signalCount 32 | 33 | // signals: signature, parameters, type, tag, flags 34 | 10, 9, 9, 9, 0x05, 35 | 31, 9, 9, 9, 0x05, 36 | 54, 9, 9, 9, 0x05, 37 | 38 | 0 // eod 39 | }; 40 | 41 | static const char qt_meta_stringdata_Avthread[] = { 42 | "Avthread\0\0recognitionfail(int)\0" 43 | "recognitionresult(int)\0torecogpaint(CvRect)\0" 44 | }; 45 | 46 | const QMetaObject Avthread::staticMetaObject = { 47 | { &QThread::staticMetaObject, qt_meta_stringdata_Avthread, 48 | qt_meta_data_Avthread, 0 } 49 | }; 50 | 51 | #ifdef Q_NO_DATA_RELOCATION 52 | const QMetaObject &Avthread::getStaticMetaObject() { return staticMetaObject; } 53 | #endif //Q_NO_DATA_RELOCATION 54 | 55 | const QMetaObject *Avthread::metaObject() const 56 | { 57 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 58 | } 59 | 60 | void *Avthread::qt_metacast(const char *_clname) 61 | { 62 | if (!_clname) return 0; 63 | if (!strcmp(_clname, qt_meta_stringdata_Avthread)) 64 | return static_cast(const_cast< Avthread*>(this)); 65 | return QThread::qt_metacast(_clname); 66 | } 67 | 68 | int Avthread::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 69 | { 70 | _id = QThread::qt_metacall(_c, _id, _a); 71 | if (_id < 0) 72 | return _id; 73 | if (_c == QMetaObject::InvokeMetaMethod) { 74 | switch (_id) { 75 | case 0: recognitionfail((*reinterpret_cast< int(*)>(_a[1]))); break; 76 | case 1: recognitionresult((*reinterpret_cast< int(*)>(_a[1]))); break; 77 | case 2: torecogpaint((*reinterpret_cast< CvRect(*)>(_a[1]))); break; 78 | default: ; 79 | } 80 | _id -= 3; 81 | } 82 | return _id; 83 | } 84 | 85 | // SIGNAL 0 86 | void Avthread::recognitionfail(int _t1) 87 | { 88 | void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; 89 | QMetaObject::activate(this, &staticMetaObject, 0, _a); 90 | } 91 | 92 | // SIGNAL 1 93 | void Avthread::recognitionresult(int _t1) 94 | { 95 | void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; 96 | QMetaObject::activate(this, &staticMetaObject, 1, _a); 97 | } 98 | 99 | // SIGNAL 2 100 | void Avthread::torecogpaint(CvRect _t1) 101 | { 102 | void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; 103 | QMetaObject::activate(this, &staticMetaObject, 2, _a); 104 | } 105 | QT_END_MOC_NAMESPACE 106 | -------------------------------------------------------------------------------- /moc_avthread.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_avthread.o -------------------------------------------------------------------------------- /moc_baseset.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'baseset.h' 3 | ** 4 | ** Created: Wed Apr 10 10:57:36 2013 5 | ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.3) 6 | ** 7 | ** WARNING! All changes made in this file will be lost! 8 | *****************************************************************************/ 9 | 10 | #include "baseset.h" 11 | #if !defined(Q_MOC_OUTPUT_REVISION) 12 | #error "The header file 'baseset.h' doesn't include ." 13 | #elif Q_MOC_OUTPUT_REVISION != 62 14 | #error "This file was generated using the moc from 4.7.3. It" 15 | #error "cannot be used with the include files from this version of Qt." 16 | #error "(The moc has changed too much.)" 17 | #endif 18 | 19 | QT_BEGIN_MOC_NAMESPACE 20 | static const uint qt_meta_data_Baseset[] = { 21 | 22 | // content: 23 | 5, // revision 24 | 0, // classname 25 | 0, 0, // classinfo 26 | 4, 14, // methods 27 | 0, 0, // properties 28 | 0, 0, // enums/sets 29 | 0, 0, // constructors 30 | 0, // flags 31 | 1, // signalCount 32 | 33 | // signals: signature, parameters, type, tag, flags 34 | 9, 8, 8, 8, 0x05, 35 | 36 | // slots: signature, parameters, type, tag, flags 37 | 28, 8, 8, 8, 0x08, 38 | 58, 8, 8, 8, 0x08, 39 | 87, 8, 8, 8, 0x08, 40 | 41 | 0 // eod 42 | }; 43 | 44 | static const char qt_meta_stringdata_Baseset[] = { 45 | "Baseset\0\0tobaseset2advice()\0" 46 | "on_basesetreturnbnz_clicked()\0" 47 | "on_threshold_input_clicked()\0" 48 | "setthreshold(QString)\0" 49 | }; 50 | 51 | const QMetaObject Baseset::staticMetaObject = { 52 | { &QWidget::staticMetaObject, qt_meta_stringdata_Baseset, 53 | qt_meta_data_Baseset, 0 } 54 | }; 55 | 56 | #ifdef Q_NO_DATA_RELOCATION 57 | const QMetaObject &Baseset::getStaticMetaObject() { return staticMetaObject; } 58 | #endif //Q_NO_DATA_RELOCATION 59 | 60 | const QMetaObject *Baseset::metaObject() const 61 | { 62 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 63 | } 64 | 65 | void *Baseset::qt_metacast(const char *_clname) 66 | { 67 | if (!_clname) return 0; 68 | if (!strcmp(_clname, qt_meta_stringdata_Baseset)) 69 | return static_cast(const_cast< Baseset*>(this)); 70 | return QWidget::qt_metacast(_clname); 71 | } 72 | 73 | int Baseset::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 74 | { 75 | _id = QWidget::qt_metacall(_c, _id, _a); 76 | if (_id < 0) 77 | return _id; 78 | if (_c == QMetaObject::InvokeMetaMethod) { 79 | switch (_id) { 80 | case 0: tobaseset2advice(); break; 81 | case 1: on_basesetreturnbnz_clicked(); break; 82 | case 2: on_threshold_input_clicked(); break; 83 | case 3: setthreshold((*reinterpret_cast< QString(*)>(_a[1]))); break; 84 | default: ; 85 | } 86 | _id -= 4; 87 | } 88 | return _id; 89 | } 90 | 91 | // SIGNAL 0 92 | void Baseset::tobaseset2advice() 93 | { 94 | QMetaObject::activate(this, &staticMetaObject, 0, 0); 95 | } 96 | QT_END_MOC_NAMESPACE 97 | -------------------------------------------------------------------------------- /moc_baseset.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_baseset.o -------------------------------------------------------------------------------- /moc_capacity.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'capacity.h' 3 | ** 4 | ** Created: Wed Apr 10 10:57:44 2013 5 | ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.3) 6 | ** 7 | ** WARNING! All changes made in this file will be lost! 8 | *****************************************************************************/ 9 | 10 | #include "capacity.h" 11 | #if !defined(Q_MOC_OUTPUT_REVISION) 12 | #error "The header file 'capacity.h' doesn't include ." 13 | #elif Q_MOC_OUTPUT_REVISION != 62 14 | #error "This file was generated using the moc from 4.7.3. It" 15 | #error "cannot be used with the include files from this version of Qt." 16 | #error "(The moc has changed too much.)" 17 | #endif 18 | 19 | QT_BEGIN_MOC_NAMESPACE 20 | static const uint qt_meta_data_Capacity[] = { 21 | 22 | // content: 23 | 5, // revision 24 | 0, // classname 25 | 0, 0, // classinfo 26 | 2, 14, // methods 27 | 0, 0, // properties 28 | 0, 0, // enums/sets 29 | 0, 0, // constructors 30 | 0, // flags 31 | 1, // signalCount 32 | 33 | // signals: signature, parameters, type, tag, flags 34 | 10, 9, 9, 9, 0x05, 35 | 36 | // slots: signature, parameters, type, tag, flags 37 | 27, 9, 9, 9, 0x08, 38 | 39 | 0 // eod 40 | }; 41 | 42 | static const char qt_meta_stringdata_Capacity[] = { 43 | "Capacity\0\0tocapac2system()\0" 44 | "on_volumereturnbnz_clicked()\0" 45 | }; 46 | 47 | const QMetaObject Capacity::staticMetaObject = { 48 | { &QWidget::staticMetaObject, qt_meta_stringdata_Capacity, 49 | qt_meta_data_Capacity, 0 } 50 | }; 51 | 52 | #ifdef Q_NO_DATA_RELOCATION 53 | const QMetaObject &Capacity::getStaticMetaObject() { return staticMetaObject; } 54 | #endif //Q_NO_DATA_RELOCATION 55 | 56 | const QMetaObject *Capacity::metaObject() const 57 | { 58 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 59 | } 60 | 61 | void *Capacity::qt_metacast(const char *_clname) 62 | { 63 | if (!_clname) return 0; 64 | if (!strcmp(_clname, qt_meta_stringdata_Capacity)) 65 | return static_cast(const_cast< Capacity*>(this)); 66 | return QWidget::qt_metacast(_clname); 67 | } 68 | 69 | int Capacity::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 70 | { 71 | _id = QWidget::qt_metacall(_c, _id, _a); 72 | if (_id < 0) 73 | return _id; 74 | if (_c == QMetaObject::InvokeMetaMethod) { 75 | switch (_id) { 76 | case 0: tocapac2system(); break; 77 | case 1: on_volumereturnbnz_clicked(); break; 78 | default: ; 79 | } 80 | _id -= 2; 81 | } 82 | return _id; 83 | } 84 | 85 | // SIGNAL 0 86 | void Capacity::tocapac2system() 87 | { 88 | QMetaObject::activate(this, &staticMetaObject, 0, 0); 89 | } 90 | QT_END_MOC_NAMESPACE 91 | -------------------------------------------------------------------------------- /moc_capacity.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_capacity.o -------------------------------------------------------------------------------- /moc_doorpwd.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'doorpwd.h' 3 | ** 4 | ** Created: Wed Apr 10 10:57:43 2013 5 | ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.3) 6 | ** 7 | ** WARNING! All changes made in this file will be lost! 8 | *****************************************************************************/ 9 | 10 | #include "doorpwd.h" 11 | #if !defined(Q_MOC_OUTPUT_REVISION) 12 | #error "The header file 'doorpwd.h' doesn't include ." 13 | #elif Q_MOC_OUTPUT_REVISION != 62 14 | #error "This file was generated using the moc from 4.7.3. It" 15 | #error "cannot be used with the include files from this version of Qt." 16 | #error "(The moc has changed too much.)" 17 | #endif 18 | 19 | QT_BEGIN_MOC_NAMESPACE 20 | static const uint qt_meta_data_Doorpwd[] = { 21 | 22 | // content: 23 | 5, // revision 24 | 0, // classname 25 | 0, 0, // classinfo 26 | 3, 14, // methods 27 | 0, 0, // properties 28 | 0, 0, // enums/sets 29 | 0, 0, // constructors 30 | 0, // flags 31 | 1, // signalCount 32 | 33 | // signals: signature, parameters, type, tag, flags 34 | 9, 8, 8, 8, 0x05, 35 | 36 | // slots: signature, parameters, type, tag, flags 37 | 26, 8, 8, 8, 0x08, 38 | 57, 8, 8, 8, 0x08, 39 | 40 | 0 // eod 41 | }; 42 | 43 | static const char qt_meta_stringdata_Doorpwd[] = { 44 | "Doorpwd\0\0todoorpwd2secr()\0" 45 | "on_lineEdit_selectionChanged()\0" 46 | "on_dooretunbnz_clicked()\0" 47 | }; 48 | 49 | const QMetaObject Doorpwd::staticMetaObject = { 50 | { &QWidget::staticMetaObject, qt_meta_stringdata_Doorpwd, 51 | qt_meta_data_Doorpwd, 0 } 52 | }; 53 | 54 | #ifdef Q_NO_DATA_RELOCATION 55 | const QMetaObject &Doorpwd::getStaticMetaObject() { return staticMetaObject; } 56 | #endif //Q_NO_DATA_RELOCATION 57 | 58 | const QMetaObject *Doorpwd::metaObject() const 59 | { 60 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 61 | } 62 | 63 | void *Doorpwd::qt_metacast(const char *_clname) 64 | { 65 | if (!_clname) return 0; 66 | if (!strcmp(_clname, qt_meta_stringdata_Doorpwd)) 67 | return static_cast(const_cast< Doorpwd*>(this)); 68 | return QWidget::qt_metacast(_clname); 69 | } 70 | 71 | int Doorpwd::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 72 | { 73 | _id = QWidget::qt_metacall(_c, _id, _a); 74 | if (_id < 0) 75 | return _id; 76 | if (_c == QMetaObject::InvokeMetaMethod) { 77 | switch (_id) { 78 | case 0: todoorpwd2secr(); break; 79 | case 1: on_lineEdit_selectionChanged(); break; 80 | case 2: on_dooretunbnz_clicked(); break; 81 | default: ; 82 | } 83 | _id -= 3; 84 | } 85 | return _id; 86 | } 87 | 88 | // SIGNAL 0 89 | void Doorpwd::todoorpwd2secr() 90 | { 91 | QMetaObject::activate(this, &staticMetaObject, 0, 0); 92 | } 93 | QT_END_MOC_NAMESPACE 94 | -------------------------------------------------------------------------------- /moc_doorpwd.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_doorpwd.o -------------------------------------------------------------------------------- /moc_finduser.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'finduser.h' 3 | ** 4 | ** Created: Wed Apr 10 10:57:42 2013 5 | ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.3) 6 | ** 7 | ** WARNING! All changes made in this file will be lost! 8 | *****************************************************************************/ 9 | 10 | #include "finduser.h" 11 | #if !defined(Q_MOC_OUTPUT_REVISION) 12 | #error "The header file 'finduser.h' doesn't include ." 13 | #elif Q_MOC_OUTPUT_REVISION != 62 14 | #error "This file was generated using the moc from 4.7.3. It" 15 | #error "cannot be used with the include files from this version of Qt." 16 | #error "(The moc has changed too much.)" 17 | #endif 18 | 19 | QT_BEGIN_MOC_NAMESPACE 20 | static const uint qt_meta_data_Finduser[] = { 21 | 22 | // content: 23 | 5, // revision 24 | 0, // classname 25 | 0, 0, // classinfo 26 | 5, 14, // methods 27 | 0, 0, // properties 28 | 0, 0, // enums/sets 29 | 0, 0, // constructors 30 | 0, // flags 31 | 2, // signalCount 32 | 33 | // signals: signature, parameters, type, tag, flags 34 | 10, 9, 9, 9, 0x05, 35 | 26, 9, 9, 9, 0x05, 36 | 37 | // slots: signature, parameters, type, tag, flags 38 | 40, 9, 9, 9, 0x08, 39 | 68, 9, 9, 9, 0x08, 40 | 99, 9, 9, 9, 0x08, 41 | 42 | 0 // eod 43 | }; 44 | 45 | static const char qt_meta_stringdata_Finduser[] = { 46 | "Finduser\0\0tofinduser(int)\0toreturnusr()\0" 47 | "on_findconfisebnz_clicked()\0" 48 | "on_lineEdit_selectionChanged()\0" 49 | "on_findreturnbnz_clicked()\0" 50 | }; 51 | 52 | const QMetaObject Finduser::staticMetaObject = { 53 | { &QWidget::staticMetaObject, qt_meta_stringdata_Finduser, 54 | qt_meta_data_Finduser, 0 } 55 | }; 56 | 57 | #ifdef Q_NO_DATA_RELOCATION 58 | const QMetaObject &Finduser::getStaticMetaObject() { return staticMetaObject; } 59 | #endif //Q_NO_DATA_RELOCATION 60 | 61 | const QMetaObject *Finduser::metaObject() const 62 | { 63 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 64 | } 65 | 66 | void *Finduser::qt_metacast(const char *_clname) 67 | { 68 | if (!_clname) return 0; 69 | if (!strcmp(_clname, qt_meta_stringdata_Finduser)) 70 | return static_cast(const_cast< Finduser*>(this)); 71 | return QWidget::qt_metacast(_clname); 72 | } 73 | 74 | int Finduser::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 75 | { 76 | _id = QWidget::qt_metacall(_c, _id, _a); 77 | if (_id < 0) 78 | return _id; 79 | if (_c == QMetaObject::InvokeMetaMethod) { 80 | switch (_id) { 81 | case 0: tofinduser((*reinterpret_cast< int(*)>(_a[1]))); break; 82 | case 1: toreturnusr(); break; 83 | case 2: on_findconfisebnz_clicked(); break; 84 | case 3: on_lineEdit_selectionChanged(); break; 85 | case 4: on_findreturnbnz_clicked(); break; 86 | default: ; 87 | } 88 | _id -= 5; 89 | } 90 | return _id; 91 | } 92 | 93 | // SIGNAL 0 94 | void Finduser::tofinduser(int _t1) 95 | { 96 | void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; 97 | QMetaObject::activate(this, &staticMetaObject, 0, _a); 98 | } 99 | 100 | // SIGNAL 1 101 | void Finduser::toreturnusr() 102 | { 103 | QMetaObject::activate(this, &staticMetaObject, 1, 0); 104 | } 105 | QT_END_MOC_NAMESPACE 106 | -------------------------------------------------------------------------------- /moc_finduser.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_finduser.o -------------------------------------------------------------------------------- /moc_form.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'form.h' 3 | ** 4 | ** Created: Mon Feb 25 16:30:42 2013 5 | ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.3) 6 | ** 7 | ** WARNING! All changes made in this file will be lost! 8 | *****************************************************************************/ 9 | 10 | #include "form.h" 11 | #if !defined(Q_MOC_OUTPUT_REVISION) 12 | #error "The header file 'form.h' doesn't include ." 13 | #elif Q_MOC_OUTPUT_REVISION != 62 14 | #error "This file was generated using the moc from 4.7.3. It" 15 | #error "cannot be used with the include files from this version of Qt." 16 | #error "(The moc has changed too much.)" 17 | #endif 18 | 19 | QT_BEGIN_MOC_NAMESPACE 20 | static const uint qt_meta_data_Form[] = { 21 | 22 | // content: 23 | 5, // revision 24 | 0, // classname 25 | 0, 0, // classinfo 26 | 0, 0, // methods 27 | 0, 0, // properties 28 | 0, 0, // enums/sets 29 | 0, 0, // constructors 30 | 0, // flags 31 | 0, // signalCount 32 | 33 | 0 // eod 34 | }; 35 | 36 | static const char qt_meta_stringdata_Form[] = { 37 | "Form\0" 38 | }; 39 | 40 | const QMetaObject Form::staticMetaObject = { 41 | { &QWidget::staticMetaObject, qt_meta_stringdata_Form, 42 | qt_meta_data_Form, 0 } 43 | }; 44 | 45 | #ifdef Q_NO_DATA_RELOCATION 46 | const QMetaObject &Form::getStaticMetaObject() { return staticMetaObject; } 47 | #endif //Q_NO_DATA_RELOCATION 48 | 49 | const QMetaObject *Form::metaObject() const 50 | { 51 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 52 | } 53 | 54 | void *Form::qt_metacast(const char *_clname) 55 | { 56 | if (!_clname) return 0; 57 | if (!strcmp(_clname, qt_meta_stringdata_Form)) 58 | return static_cast(const_cast< Form*>(this)); 59 | return QWidget::qt_metacast(_clname); 60 | } 61 | 62 | int Form::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 63 | { 64 | _id = QWidget::qt_metacall(_c, _id, _a); 65 | if (_id < 0) 66 | return _id; 67 | return _id; 68 | } 69 | QT_END_MOC_NAMESPACE 70 | -------------------------------------------------------------------------------- /moc_form.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_form.o -------------------------------------------------------------------------------- /moc_generaluser.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'generaluser.h' 3 | ** 4 | ** Created: Wed Apr 10 10:57:41 2013 5 | ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.3) 6 | ** 7 | ** WARNING! All changes made in this file will be lost! 8 | *****************************************************************************/ 9 | 10 | #include "generaluser.h" 11 | #if !defined(Q_MOC_OUTPUT_REVISION) 12 | #error "The header file 'generaluser.h' doesn't include ." 13 | #elif Q_MOC_OUTPUT_REVISION != 62 14 | #error "This file was generated using the moc from 4.7.3. It" 15 | #error "cannot be used with the include files from this version of Qt." 16 | #error "(The moc has changed too much.)" 17 | #endif 18 | 19 | QT_BEGIN_MOC_NAMESPACE 20 | static const uint qt_meta_data_Generaluser[] = { 21 | 22 | // content: 23 | 5, // revision 24 | 0, // classname 25 | 0, 0, // classinfo 26 | 4, 14, // methods 27 | 0, 0, // properties 28 | 0, 0, // enums/sets 29 | 0, 0, // constructors 30 | 0, // flags 31 | 2, // signalCount 32 | 33 | // signals: signature, parameters, type, tag, flags 34 | 13, 12, 12, 12, 0x05, 35 | 28, 12, 12, 12, 0x05, 36 | 37 | // slots: signature, parameters, type, tag, flags 38 | 43, 12, 12, 12, 0x08, 39 | 67, 12, 12, 12, 0x08, 40 | 41 | 0 // eod 42 | }; 43 | 44 | static const char qt_meta_stringdata_Generaluser[] = { 45 | "Generaluser\0\0tologin2user()\0tologin2home()\0" 46 | "on_generalbnz_clicked()\0" 47 | "on_returnhomebnz_clicked()\0" 48 | }; 49 | 50 | const QMetaObject Generaluser::staticMetaObject = { 51 | { &QWidget::staticMetaObject, qt_meta_stringdata_Generaluser, 52 | qt_meta_data_Generaluser, 0 } 53 | }; 54 | 55 | #ifdef Q_NO_DATA_RELOCATION 56 | const QMetaObject &Generaluser::getStaticMetaObject() { return staticMetaObject; } 57 | #endif //Q_NO_DATA_RELOCATION 58 | 59 | const QMetaObject *Generaluser::metaObject() const 60 | { 61 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 62 | } 63 | 64 | void *Generaluser::qt_metacast(const char *_clname) 65 | { 66 | if (!_clname) return 0; 67 | if (!strcmp(_clname, qt_meta_stringdata_Generaluser)) 68 | return static_cast(const_cast< Generaluser*>(this)); 69 | return QWidget::qt_metacast(_clname); 70 | } 71 | 72 | int Generaluser::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 73 | { 74 | _id = QWidget::qt_metacall(_c, _id, _a); 75 | if (_id < 0) 76 | return _id; 77 | if (_c == QMetaObject::InvokeMetaMethod) { 78 | switch (_id) { 79 | case 0: tologin2user(); break; 80 | case 1: tologin2home(); break; 81 | case 2: on_generalbnz_clicked(); break; 82 | case 3: on_returnhomebnz_clicked(); break; 83 | default: ; 84 | } 85 | _id -= 4; 86 | } 87 | return _id; 88 | } 89 | 90 | // SIGNAL 0 91 | void Generaluser::tologin2user() 92 | { 93 | QMetaObject::activate(this, &staticMetaObject, 0, 0); 94 | } 95 | 96 | // SIGNAL 1 97 | void Generaluser::tologin2home() 98 | { 99 | QMetaObject::activate(this, &staticMetaObject, 1, 0); 100 | } 101 | QT_END_MOC_NAMESPACE 102 | -------------------------------------------------------------------------------- /moc_generaluser.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_generaluser.o -------------------------------------------------------------------------------- /moc_home.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'home.h' 3 | ** 4 | ** Created: Wed Apr 10 10:57:27 2013 5 | ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.3) 6 | ** 7 | ** WARNING! All changes made in this file will be lost! 8 | *****************************************************************************/ 9 | 10 | #include "home.h" 11 | #if !defined(Q_MOC_OUTPUT_REVISION) 12 | #error "The header file 'home.h' doesn't include ." 13 | #elif Q_MOC_OUTPUT_REVISION != 62 14 | #error "This file was generated using the moc from 4.7.3. It" 15 | #error "cannot be used with the include files from this version of Qt." 16 | #error "(The moc has changed too much.)" 17 | #endif 18 | 19 | QT_BEGIN_MOC_NAMESPACE 20 | static const uint qt_meta_data_Home[] = { 21 | 22 | // content: 23 | 5, // revision 24 | 0, // classname 25 | 0, 0, // classinfo 26 | 8, 14, // methods 27 | 0, 0, // properties 28 | 0, 0, // enums/sets 29 | 0, 0, // constructors 30 | 0, // flags 31 | 0, // signalCount 32 | 33 | // slots: signature, parameters, type, tag, flags 34 | 6, 5, 5, 5, 0x08, 35 | 30, 5, 5, 5, 0x08, 36 | 42, 5, 5, 5, 0x08, 37 | 55, 5, 5, 5, 0x08, 38 | 66, 5, 5, 5, 0x08, 39 | 78, 5, 5, 5, 0x08, 40 | 87, 5, 5, 5, 0x08, 41 | 100, 5, 5, 5, 0x08, 42 | 43 | 0 // eod 44 | }; 45 | 46 | static const char qt_meta_stringdata_Home[] = { 47 | "Home\0\0on_pushButton_clicked()\0closehome()\0" 48 | "login2home()\0showthis()\0checkface()\0" 49 | "pbshow()\0home2input()\0home2menu()\0" 50 | }; 51 | 52 | const QMetaObject Home::staticMetaObject = { 53 | { &QWidget::staticMetaObject, qt_meta_stringdata_Home, 54 | qt_meta_data_Home, 0 } 55 | }; 56 | 57 | #ifdef Q_NO_DATA_RELOCATION 58 | const QMetaObject &Home::getStaticMetaObject() { return staticMetaObject; } 59 | #endif //Q_NO_DATA_RELOCATION 60 | 61 | const QMetaObject *Home::metaObject() const 62 | { 63 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 64 | } 65 | 66 | void *Home::qt_metacast(const char *_clname) 67 | { 68 | if (!_clname) return 0; 69 | if (!strcmp(_clname, qt_meta_stringdata_Home)) 70 | return static_cast(const_cast< Home*>(this)); 71 | return QWidget::qt_metacast(_clname); 72 | } 73 | 74 | int Home::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 75 | { 76 | _id = QWidget::qt_metacall(_c, _id, _a); 77 | if (_id < 0) 78 | return _id; 79 | if (_c == QMetaObject::InvokeMetaMethod) { 80 | switch (_id) { 81 | case 0: on_pushButton_clicked(); break; 82 | case 1: closehome(); break; 83 | case 2: login2home(); break; 84 | case 3: showthis(); break; 85 | case 4: checkface(); break; 86 | case 5: pbshow(); break; 87 | case 6: home2input(); break; 88 | case 7: home2menu(); break; 89 | default: ; 90 | } 91 | _id -= 8; 92 | } 93 | return _id; 94 | } 95 | QT_END_MOC_NAMESPACE 96 | -------------------------------------------------------------------------------- /moc_home.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_home.o -------------------------------------------------------------------------------- /moc_informationface.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'informationface.h' 3 | ** 4 | ** Created: Wed Apr 10 10:57:29 2013 5 | ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.3) 6 | ** 7 | ** WARNING! All changes made in this file will be lost! 8 | *****************************************************************************/ 9 | 10 | #include "informationface.h" 11 | #if !defined(Q_MOC_OUTPUT_REVISION) 12 | #error "The header file 'informationface.h' doesn't include ." 13 | #elif Q_MOC_OUTPUT_REVISION != 62 14 | #error "This file was generated using the moc from 4.7.3. It" 15 | #error "cannot be used with the include files from this version of Qt." 16 | #error "(The moc has changed too much.)" 17 | #endif 18 | 19 | QT_BEGIN_MOC_NAMESPACE 20 | static const uint qt_meta_data_Informationface[] = { 21 | 22 | // content: 23 | 5, // revision 24 | 0, // classname 25 | 0, 0, // classinfo 26 | 0, 0, // methods 27 | 0, 0, // properties 28 | 0, 0, // enums/sets 29 | 0, 0, // constructors 30 | 0, // flags 31 | 0, // signalCount 32 | 33 | 0 // eod 34 | }; 35 | 36 | static const char qt_meta_stringdata_Informationface[] = { 37 | "Informationface\0" 38 | }; 39 | 40 | const QMetaObject Informationface::staticMetaObject = { 41 | { &QWidget::staticMetaObject, qt_meta_stringdata_Informationface, 42 | qt_meta_data_Informationface, 0 } 43 | }; 44 | 45 | #ifdef Q_NO_DATA_RELOCATION 46 | const QMetaObject &Informationface::getStaticMetaObject() { return staticMetaObject; } 47 | #endif //Q_NO_DATA_RELOCATION 48 | 49 | const QMetaObject *Informationface::metaObject() const 50 | { 51 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 52 | } 53 | 54 | void *Informationface::qt_metacast(const char *_clname) 55 | { 56 | if (!_clname) return 0; 57 | if (!strcmp(_clname, qt_meta_stringdata_Informationface)) 58 | return static_cast(const_cast< Informationface*>(this)); 59 | return QWidget::qt_metacast(_clname); 60 | } 61 | 62 | int Informationface::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 63 | { 64 | _id = QWidget::qt_metacall(_c, _id, _a); 65 | if (_id < 0) 66 | return _id; 67 | return _id; 68 | } 69 | QT_END_MOC_NAMESPACE 70 | -------------------------------------------------------------------------------- /moc_informationface.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_informationface.o -------------------------------------------------------------------------------- /moc_inputpwd.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'inputpwd.h' 3 | ** 4 | ** Created: Mon Jun 3 11:38:11 2013 5 | ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.3) 6 | ** 7 | ** WARNING! All changes made in this file will be lost! 8 | *****************************************************************************/ 9 | 10 | #include "inputpwd.h" 11 | #if !defined(Q_MOC_OUTPUT_REVISION) 12 | #error "The header file 'inputpwd.h' doesn't include ." 13 | #elif Q_MOC_OUTPUT_REVISION != 62 14 | #error "This file was generated using the moc from 4.7.3. It" 15 | #error "cannot be used with the include files from this version of Qt." 16 | #error "(The moc has changed too much.)" 17 | #endif 18 | 19 | QT_BEGIN_MOC_NAMESPACE 20 | static const uint qt_meta_data_Inputpwd[] = { 21 | 22 | // content: 23 | 5, // revision 24 | 0, // classname 25 | 0, 0, // classinfo 26 | 3, 14, // methods 27 | 0, 0, // properties 28 | 0, 0, // enums/sets 29 | 0, 0, // constructors 30 | 0, // flags 31 | 3, // signalCount 32 | 33 | // signals: signature, parameters, type, tag, flags 34 | 10, 9, 9, 9, 0x05, 35 | 28, 9, 9, 9, 0x05, 36 | 45, 9, 9, 9, 0x05, 37 | 38 | 0 // eod 39 | }; 40 | 41 | static const char qt_meta_stringdata_Inputpwd[] = { 42 | "Inputpwd\0\0toinputpwdlogin()\0" 43 | "toinputpwdhome()\0toinputpwdmenu()\0" 44 | }; 45 | 46 | const QMetaObject Inputpwd::staticMetaObject = { 47 | { &QWidget::staticMetaObject, qt_meta_stringdata_Inputpwd, 48 | qt_meta_data_Inputpwd, 0 } 49 | }; 50 | 51 | #ifdef Q_NO_DATA_RELOCATION 52 | const QMetaObject &Inputpwd::getStaticMetaObject() { return staticMetaObject; } 53 | #endif //Q_NO_DATA_RELOCATION 54 | 55 | const QMetaObject *Inputpwd::metaObject() const 56 | { 57 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 58 | } 59 | 60 | void *Inputpwd::qt_metacast(const char *_clname) 61 | { 62 | if (!_clname) return 0; 63 | if (!strcmp(_clname, qt_meta_stringdata_Inputpwd)) 64 | return static_cast(const_cast< Inputpwd*>(this)); 65 | return QWidget::qt_metacast(_clname); 66 | } 67 | 68 | int Inputpwd::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 69 | { 70 | _id = QWidget::qt_metacall(_c, _id, _a); 71 | if (_id < 0) 72 | return _id; 73 | if (_c == QMetaObject::InvokeMetaMethod) { 74 | switch (_id) { 75 | case 0: toinputpwdlogin(); break; 76 | case 1: toinputpwdhome(); break; 77 | case 2: toinputpwdmenu(); break; 78 | default: ; 79 | } 80 | _id -= 3; 81 | } 82 | return _id; 83 | } 84 | 85 | // SIGNAL 0 86 | void Inputpwd::toinputpwdlogin() 87 | { 88 | QMetaObject::activate(this, &staticMetaObject, 0, 0); 89 | } 90 | 91 | // SIGNAL 1 92 | void Inputpwd::toinputpwdhome() 93 | { 94 | QMetaObject::activate(this, &staticMetaObject, 1, 0); 95 | } 96 | 97 | // SIGNAL 2 98 | void Inputpwd::toinputpwdmenu() 99 | { 100 | QMetaObject::activate(this, &staticMetaObject, 2, 0); 101 | } 102 | QT_END_MOC_NAMESPACE 103 | -------------------------------------------------------------------------------- /moc_inputpwd.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_inputpwd.o -------------------------------------------------------------------------------- /moc_login.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'login.h' 3 | ** 4 | ** Created: Wed Apr 10 10:57:23 2013 5 | ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.3) 6 | ** 7 | ** WARNING! All changes made in this file will be lost! 8 | *****************************************************************************/ 9 | 10 | #include "login.h" 11 | #if !defined(Q_MOC_OUTPUT_REVISION) 12 | #error "The header file 'login.h' doesn't include ." 13 | #elif Q_MOC_OUTPUT_REVISION != 62 14 | #error "This file was generated using the moc from 4.7.3. It" 15 | #error "cannot be used with the include files from this version of Qt." 16 | #error "(The moc has changed too much.)" 17 | #endif 18 | 19 | QT_BEGIN_MOC_NAMESPACE 20 | static const uint qt_meta_data_Login[] = { 21 | 22 | // content: 23 | 5, // revision 24 | 0, // classname 25 | 0, 0, // classinfo 26 | 7, 14, // methods 27 | 0, 0, // properties 28 | 0, 0, // enums/sets 29 | 0, 0, // constructors 30 | 0, // flags 31 | 3, // signalCount 32 | 33 | // signals: signature, parameters, type, tag, flags 34 | 7, 6, 6, 6, 0x05, 35 | 22, 6, 6, 6, 0x05, 36 | 39, 6, 6, 6, 0x05, 37 | 38 | // slots: signature, parameters, type, tag, flags 39 | 54, 6, 6, 6, 0x08, 40 | 78, 6, 6, 6, 0x08, 41 | 92, 6, 6, 6, 0x08, 42 | 106, 6, 6, 6, 0x08, 43 | 44 | 0 // eod 45 | }; 46 | 47 | static const char qt_meta_stringdata_Login[] = { 48 | "Login\0\0tologin2home()\0tomenu2general()\0" 49 | "tohome2input()\0on_pushButton_clicked()\0" 50 | "login2recog()\0longinputxx()\0hidelogin()\0" 51 | }; 52 | 53 | const QMetaObject Login::staticMetaObject = { 54 | { &QWidget::staticMetaObject, qt_meta_stringdata_Login, 55 | qt_meta_data_Login, 0 } 56 | }; 57 | 58 | #ifdef Q_NO_DATA_RELOCATION 59 | const QMetaObject &Login::getStaticMetaObject() { return staticMetaObject; } 60 | #endif //Q_NO_DATA_RELOCATION 61 | 62 | const QMetaObject *Login::metaObject() const 63 | { 64 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 65 | } 66 | 67 | void *Login::qt_metacast(const char *_clname) 68 | { 69 | if (!_clname) return 0; 70 | if (!strcmp(_clname, qt_meta_stringdata_Login)) 71 | return static_cast(const_cast< Login*>(this)); 72 | return QWidget::qt_metacast(_clname); 73 | } 74 | 75 | int Login::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 76 | { 77 | _id = QWidget::qt_metacall(_c, _id, _a); 78 | if (_id < 0) 79 | return _id; 80 | if (_c == QMetaObject::InvokeMetaMethod) { 81 | switch (_id) { 82 | case 0: tologin2home(); break; 83 | case 1: tomenu2general(); break; 84 | case 2: tohome2input(); break; 85 | case 3: on_pushButton_clicked(); break; 86 | case 4: login2recog(); break; 87 | case 5: longinputxx(); break; 88 | case 6: hidelogin(); break; 89 | default: ; 90 | } 91 | _id -= 7; 92 | } 93 | return _id; 94 | } 95 | 96 | // SIGNAL 0 97 | void Login::tologin2home() 98 | { 99 | QMetaObject::activate(this, &staticMetaObject, 0, 0); 100 | } 101 | 102 | // SIGNAL 1 103 | void Login::tomenu2general() 104 | { 105 | QMetaObject::activate(this, &staticMetaObject, 1, 0); 106 | } 107 | 108 | // SIGNAL 2 109 | void Login::tohome2input() 110 | { 111 | QMetaObject::activate(this, &staticMetaObject, 2, 0); 112 | } 113 | QT_END_MOC_NAMESPACE 114 | -------------------------------------------------------------------------------- /moc_login.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_login.o -------------------------------------------------------------------------------- /moc_mainkeyboard.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_mainkeyboard.o -------------------------------------------------------------------------------- /moc_mainmenu.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'mainmenu.h' 3 | ** 4 | ** Created: Wed Apr 10 10:57:23 2013 5 | ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.3) 6 | ** 7 | ** WARNING! All changes made in this file will be lost! 8 | *****************************************************************************/ 9 | 10 | #include "mainmenu.h" 11 | #if !defined(Q_MOC_OUTPUT_REVISION) 12 | #error "The header file 'mainmenu.h' doesn't include ." 13 | #elif Q_MOC_OUTPUT_REVISION != 62 14 | #error "This file was generated using the moc from 4.7.3. It" 15 | #error "cannot be used with the include files from this version of Qt." 16 | #error "(The moc has changed too much.)" 17 | #endif 18 | 19 | QT_BEGIN_MOC_NAMESPACE 20 | static const uint qt_meta_data_Mainmenu[] = { 21 | 22 | // content: 23 | 5, // revision 24 | 0, // classname 25 | 0, 0, // classinfo 26 | 6, 14, // methods 27 | 0, 0, // properties 28 | 0, 0, // enums/sets 29 | 0, 0, // constructors 30 | 0, // flags 31 | 1, // signalCount 32 | 33 | // signals: signature, parameters, type, tag, flags 34 | 10, 9, 9, 9, 0x05, 35 | 36 | // slots: signature, parameters, type, tag, flags 37 | 25, 9, 9, 9, 0x08, 38 | 51, 9, 9, 9, 0x08, 39 | 75, 9, 9, 9, 0x08, 40 | 101, 9, 9, 9, 0x08, 41 | 127, 9, 9, 9, 0x08, 42 | 43 | 0 // eod 44 | }; 45 | 46 | static const char qt_meta_stringdata_Mainmenu[] = { 47 | "Mainmenu\0\0tomenu2login()\0" 48 | "on_pushButton_2_clicked()\0" 49 | "on_menureturn_clicked()\0" 50 | "on_security_bnz_clicked()\0" 51 | "on_advicesetbnz_clicked()\0" 52 | "on_systemsetbnz_clicked()\0" 53 | }; 54 | 55 | const QMetaObject Mainmenu::staticMetaObject = { 56 | { &QWidget::staticMetaObject, qt_meta_stringdata_Mainmenu, 57 | qt_meta_data_Mainmenu, 0 } 58 | }; 59 | 60 | #ifdef Q_NO_DATA_RELOCATION 61 | const QMetaObject &Mainmenu::getStaticMetaObject() { return staticMetaObject; } 62 | #endif //Q_NO_DATA_RELOCATION 63 | 64 | const QMetaObject *Mainmenu::metaObject() const 65 | { 66 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 67 | } 68 | 69 | void *Mainmenu::qt_metacast(const char *_clname) 70 | { 71 | if (!_clname) return 0; 72 | if (!strcmp(_clname, qt_meta_stringdata_Mainmenu)) 73 | return static_cast(const_cast< Mainmenu*>(this)); 74 | return QWidget::qt_metacast(_clname); 75 | } 76 | 77 | int Mainmenu::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 78 | { 79 | _id = QWidget::qt_metacall(_c, _id, _a); 80 | if (_id < 0) 81 | return _id; 82 | if (_c == QMetaObject::InvokeMetaMethod) { 83 | switch (_id) { 84 | case 0: tomenu2login(); break; 85 | case 1: on_pushButton_2_clicked(); break; 86 | case 2: on_menureturn_clicked(); break; 87 | case 3: on_security_bnz_clicked(); break; 88 | case 4: on_advicesetbnz_clicked(); break; 89 | case 5: on_systemsetbnz_clicked(); break; 90 | default: ; 91 | } 92 | _id -= 6; 93 | } 94 | return _id; 95 | } 96 | 97 | // SIGNAL 0 98 | void Mainmenu::tomenu2login() 99 | { 100 | QMetaObject::activate(this, &staticMetaObject, 0, 0); 101 | } 102 | QT_END_MOC_NAMESPACE 103 | -------------------------------------------------------------------------------- /moc_mainmenu.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_mainmenu.o -------------------------------------------------------------------------------- /moc_networkset.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'networkset.h' 3 | ** 4 | ** Created: Wed Apr 10 10:57:38 2013 5 | ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.3) 6 | ** 7 | ** WARNING! All changes made in this file will be lost! 8 | *****************************************************************************/ 9 | 10 | #include "networkset.h" 11 | #if !defined(Q_MOC_OUTPUT_REVISION) 12 | #error "The header file 'networkset.h' doesn't include ." 13 | #elif Q_MOC_OUTPUT_REVISION != 62 14 | #error "This file was generated using the moc from 4.7.3. It" 15 | #error "cannot be used with the include files from this version of Qt." 16 | #error "(The moc has changed too much.)" 17 | #endif 18 | 19 | QT_BEGIN_MOC_NAMESPACE 20 | static const uint qt_meta_data_Networkset[] = { 21 | 22 | // content: 23 | 5, // revision 24 | 0, // classname 25 | 0, 0, // classinfo 26 | 7, 14, // methods 27 | 0, 0, // properties 28 | 0, 0, // enums/sets 29 | 0, 0, // constructors 30 | 0, // flags 31 | 1, // signalCount 32 | 33 | // signals: signature, parameters, type, tag, flags 34 | 12, 11, 11, 11, 0x05, 35 | 36 | // slots: signature, parameters, type, tag, flags 37 | 31, 11, 11, 11, 0x08, 38 | 61, 11, 11, 11, 0x08, 39 | 83, 11, 11, 11, 0x08, 40 | 107, 11, 11, 11, 0x08, 41 | 131, 11, 11, 11, 0x08, 42 | 154, 11, 11, 11, 0x08, 43 | 44 | 0 // eod 45 | }; 46 | 47 | static const char qt_meta_stringdata_Networkset[] = { 48 | "Networkset\0\0tonetwork2advice()\0" 49 | "on_networkreturnbnz_clicked()\0" 50 | "on_ip_input_clicked()\0on_mask_input_clicked()\0" 51 | "on_rout_input_clicked()\0on_dns_input_clicked()\0" 52 | "setip(QString)\0" 53 | }; 54 | 55 | const QMetaObject Networkset::staticMetaObject = { 56 | { &QWidget::staticMetaObject, qt_meta_stringdata_Networkset, 57 | qt_meta_data_Networkset, 0 } 58 | }; 59 | 60 | #ifdef Q_NO_DATA_RELOCATION 61 | const QMetaObject &Networkset::getStaticMetaObject() { return staticMetaObject; } 62 | #endif //Q_NO_DATA_RELOCATION 63 | 64 | const QMetaObject *Networkset::metaObject() const 65 | { 66 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 67 | } 68 | 69 | void *Networkset::qt_metacast(const char *_clname) 70 | { 71 | if (!_clname) return 0; 72 | if (!strcmp(_clname, qt_meta_stringdata_Networkset)) 73 | return static_cast(const_cast< Networkset*>(this)); 74 | return QWidget::qt_metacast(_clname); 75 | } 76 | 77 | int Networkset::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 78 | { 79 | _id = QWidget::qt_metacall(_c, _id, _a); 80 | if (_id < 0) 81 | return _id; 82 | if (_c == QMetaObject::InvokeMetaMethod) { 83 | switch (_id) { 84 | case 0: tonetwork2advice(); break; 85 | case 1: on_networkreturnbnz_clicked(); break; 86 | case 2: on_ip_input_clicked(); break; 87 | case 3: on_mask_input_clicked(); break; 88 | case 4: on_rout_input_clicked(); break; 89 | case 5: on_dns_input_clicked(); break; 90 | case 6: setip((*reinterpret_cast< QString(*)>(_a[1]))); break; 91 | default: ; 92 | } 93 | _id -= 7; 94 | } 95 | return _id; 96 | } 97 | 98 | // SIGNAL 0 99 | void Networkset::tonetwork2advice() 100 | { 101 | QMetaObject::activate(this, &staticMetaObject, 0, 0); 102 | } 103 | QT_END_MOC_NAMESPACE 104 | -------------------------------------------------------------------------------- /moc_networkset.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_networkset.o -------------------------------------------------------------------------------- /moc_numkeyboard.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_numkeyboard.o -------------------------------------------------------------------------------- /moc_numkeylogin.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_numkeylogin.o -------------------------------------------------------------------------------- /moc_pingb.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'pingb.h' 3 | ** 4 | ** Created: Wed Apr 10 10:57:45 2013 5 | ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.3) 6 | ** 7 | ** WARNING! All changes made in this file will be lost! 8 | *****************************************************************************/ 9 | 10 | #include "pingb.h" 11 | #if !defined(Q_MOC_OUTPUT_REVISION) 12 | #error "The header file 'pingb.h' doesn't include ." 13 | #elif Q_MOC_OUTPUT_REVISION != 62 14 | #error "This file was generated using the moc from 4.7.3. It" 15 | #error "cannot be used with the include files from this version of Qt." 16 | #error "(The moc has changed too much.)" 17 | #endif 18 | 19 | QT_BEGIN_MOC_NAMESPACE 20 | static const uint qt_meta_data_Pingb[] = { 21 | 22 | // content: 23 | 5, // revision 24 | 0, // classname 25 | 0, 0, // classinfo 26 | 1, 14, // methods 27 | 0, 0, // properties 28 | 0, 0, // enums/sets 29 | 0, 0, // constructors 30 | 0, // flags 31 | 0, // signalCount 32 | 33 | // slots: signature, parameters, type, tag, flags 34 | 7, 6, 6, 6, 0x08, 35 | 36 | 0 // eod 37 | }; 38 | 39 | static const char qt_meta_stringdata_Pingb[] = { 40 | "Pingb\0\0timerUpDate()\0" 41 | }; 42 | 43 | const QMetaObject Pingb::staticMetaObject = { 44 | { &QWidget::staticMetaObject, qt_meta_stringdata_Pingb, 45 | qt_meta_data_Pingb, 0 } 46 | }; 47 | 48 | #ifdef Q_NO_DATA_RELOCATION 49 | const QMetaObject &Pingb::getStaticMetaObject() { return staticMetaObject; } 50 | #endif //Q_NO_DATA_RELOCATION 51 | 52 | const QMetaObject *Pingb::metaObject() const 53 | { 54 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 55 | } 56 | 57 | void *Pingb::qt_metacast(const char *_clname) 58 | { 59 | if (!_clname) return 0; 60 | if (!strcmp(_clname, qt_meta_stringdata_Pingb)) 61 | return static_cast(const_cast< Pingb*>(this)); 62 | return QWidget::qt_metacast(_clname); 63 | } 64 | 65 | int Pingb::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 66 | { 67 | _id = QWidget::qt_metacall(_c, _id, _a); 68 | if (_id < 0) 69 | return _id; 70 | if (_c == QMetaObject::InvokeMetaMethod) { 71 | switch (_id) { 72 | case 0: timerUpDate(); break; 73 | default: ; 74 | } 75 | _id -= 1; 76 | } 77 | return _id; 78 | } 79 | QT_END_MOC_NAMESPACE 80 | -------------------------------------------------------------------------------- /moc_pingb.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_pingb.o -------------------------------------------------------------------------------- /moc_recfailtip.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'recfailtip.h' 3 | ** 4 | ** Created: Wed Apr 10 10:57:22 2013 5 | ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.3) 6 | ** 7 | ** WARNING! All changes made in this file will be lost! 8 | *****************************************************************************/ 9 | 10 | #include "recfailtip.h" 11 | #if !defined(Q_MOC_OUTPUT_REVISION) 12 | #error "The header file 'recfailtip.h' doesn't include ." 13 | #elif Q_MOC_OUTPUT_REVISION != 62 14 | #error "This file was generated using the moc from 4.7.3. It" 15 | #error "cannot be used with the include files from this version of Qt." 16 | #error "(The moc has changed too much.)" 17 | #endif 18 | 19 | QT_BEGIN_MOC_NAMESPACE 20 | static const uint qt_meta_data_Recfailtip[] = { 21 | 22 | // content: 23 | 5, // revision 24 | 0, // classname 25 | 0, 0, // classinfo 26 | 0, 0, // methods 27 | 0, 0, // properties 28 | 0, 0, // enums/sets 29 | 0, 0, // constructors 30 | 0, // flags 31 | 0, // signalCount 32 | 33 | 0 // eod 34 | }; 35 | 36 | static const char qt_meta_stringdata_Recfailtip[] = { 37 | "Recfailtip\0" 38 | }; 39 | 40 | const QMetaObject Recfailtip::staticMetaObject = { 41 | { &QWidget::staticMetaObject, qt_meta_stringdata_Recfailtip, 42 | qt_meta_data_Recfailtip, 0 } 43 | }; 44 | 45 | #ifdef Q_NO_DATA_RELOCATION 46 | const QMetaObject &Recfailtip::getStaticMetaObject() { return staticMetaObject; } 47 | #endif //Q_NO_DATA_RELOCATION 48 | 49 | const QMetaObject *Recfailtip::metaObject() const 50 | { 51 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 52 | } 53 | 54 | void *Recfailtip::qt_metacast(const char *_clname) 55 | { 56 | if (!_clname) return 0; 57 | if (!strcmp(_clname, qt_meta_stringdata_Recfailtip)) 58 | return static_cast(const_cast< Recfailtip*>(this)); 59 | return QWidget::qt_metacast(_clname); 60 | } 61 | 62 | int Recfailtip::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 63 | { 64 | _id = QWidget::qt_metacall(_c, _id, _a); 65 | if (_id < 0) 66 | return _id; 67 | return _id; 68 | } 69 | QT_END_MOC_NAMESPACE 70 | -------------------------------------------------------------------------------- /moc_recfailtip.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_recfailtip.o -------------------------------------------------------------------------------- /moc_recognition.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_recognition.o -------------------------------------------------------------------------------- /moc_recsuccession.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'recsuccession.h' 3 | ** 4 | ** Created: Wed Apr 10 10:57:29 2013 5 | ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.3) 6 | ** 7 | ** WARNING! All changes made in this file will be lost! 8 | *****************************************************************************/ 9 | 10 | #include "recsuccession.h" 11 | #if !defined(Q_MOC_OUTPUT_REVISION) 12 | #error "The header file 'recsuccession.h' doesn't include ." 13 | #elif Q_MOC_OUTPUT_REVISION != 62 14 | #error "This file was generated using the moc from 4.7.3. It" 15 | #error "cannot be used with the include files from this version of Qt." 16 | #error "(The moc has changed too much.)" 17 | #endif 18 | 19 | QT_BEGIN_MOC_NAMESPACE 20 | static const uint qt_meta_data_Recsuccession[] = { 21 | 22 | // content: 23 | 5, // revision 24 | 0, // classname 25 | 0, 0, // classinfo 26 | 0, 0, // methods 27 | 0, 0, // properties 28 | 0, 0, // enums/sets 29 | 0, 0, // constructors 30 | 0, // flags 31 | 0, // signalCount 32 | 33 | 0 // eod 34 | }; 35 | 36 | static const char qt_meta_stringdata_Recsuccession[] = { 37 | "Recsuccession\0" 38 | }; 39 | 40 | const QMetaObject Recsuccession::staticMetaObject = { 41 | { &QWidget::staticMetaObject, qt_meta_stringdata_Recsuccession, 42 | qt_meta_data_Recsuccession, 0 } 43 | }; 44 | 45 | #ifdef Q_NO_DATA_RELOCATION 46 | const QMetaObject &Recsuccession::getStaticMetaObject() { return staticMetaObject; } 47 | #endif //Q_NO_DATA_RELOCATION 48 | 49 | const QMetaObject *Recsuccession::metaObject() const 50 | { 51 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 52 | } 53 | 54 | void *Recsuccession::qt_metacast(const char *_clname) 55 | { 56 | if (!_clname) return 0; 57 | if (!strcmp(_clname, qt_meta_stringdata_Recsuccession)) 58 | return static_cast(const_cast< Recsuccession*>(this)); 59 | return QWidget::qt_metacast(_clname); 60 | } 61 | 62 | int Recsuccession::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 63 | { 64 | _id = QWidget::qt_metacall(_c, _id, _a); 65 | if (_id < 0) 66 | return _id; 67 | return _id; 68 | } 69 | QT_END_MOC_NAMESPACE 70 | -------------------------------------------------------------------------------- /moc_recsuccession.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_recsuccession.o -------------------------------------------------------------------------------- /moc_security.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'security.h' 3 | ** 4 | ** Created: Wed Apr 10 10:57:30 2013 5 | ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.3) 6 | ** 7 | ** WARNING! All changes made in this file will be lost! 8 | *****************************************************************************/ 9 | 10 | #include "security.h" 11 | #if !defined(Q_MOC_OUTPUT_REVISION) 12 | #error "The header file 'security.h' doesn't include ." 13 | #elif Q_MOC_OUTPUT_REVISION != 62 14 | #error "This file was generated using the moc from 4.7.3. It" 15 | #error "cannot be used with the include files from this version of Qt." 16 | #error "(The moc has changed too much.)" 17 | #endif 18 | 19 | QT_BEGIN_MOC_NAMESPACE 20 | static const uint qt_meta_data_Security[] = { 21 | 22 | // content: 23 | 5, // revision 24 | 0, // classname 25 | 0, 0, // classinfo 26 | 4, 14, // methods 27 | 0, 0, // properties 28 | 0, 0, // enums/sets 29 | 0, 0, // constructors 30 | 0, // flags 31 | 1, // signalCount 32 | 33 | // signals: signature, parameters, type, tag, flags 34 | 10, 9, 9, 9, 0x05, 35 | 36 | // slots: signature, parameters, type, tag, flags 37 | 28, 9, 9, 9, 0x08, 38 | 50, 9, 9, 9, 0x08, 39 | 81, 9, 9, 9, 0x08, 40 | 41 | 0 // eod 42 | }; 43 | 44 | static const char qt_meta_stringdata_Security[] = { 45 | "Security\0\0tosecurity2menu()\0" 46 | "on_adminbnz_clicked()\0" 47 | "on_securityreturnbnz_clicked()\0" 48 | "on_secritypwd_clicked()\0" 49 | }; 50 | 51 | const QMetaObject Security::staticMetaObject = { 52 | { &QWidget::staticMetaObject, qt_meta_stringdata_Security, 53 | qt_meta_data_Security, 0 } 54 | }; 55 | 56 | #ifdef Q_NO_DATA_RELOCATION 57 | const QMetaObject &Security::getStaticMetaObject() { return staticMetaObject; } 58 | #endif //Q_NO_DATA_RELOCATION 59 | 60 | const QMetaObject *Security::metaObject() const 61 | { 62 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 63 | } 64 | 65 | void *Security::qt_metacast(const char *_clname) 66 | { 67 | if (!_clname) return 0; 68 | if (!strcmp(_clname, qt_meta_stringdata_Security)) 69 | return static_cast(const_cast< Security*>(this)); 70 | return QWidget::qt_metacast(_clname); 71 | } 72 | 73 | int Security::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 74 | { 75 | _id = QWidget::qt_metacall(_c, _id, _a); 76 | if (_id < 0) 77 | return _id; 78 | if (_c == QMetaObject::InvokeMetaMethod) { 79 | switch (_id) { 80 | case 0: tosecurity2menu(); break; 81 | case 1: on_adminbnz_clicked(); break; 82 | case 2: on_securityreturnbnz_clicked(); break; 83 | case 3: on_secritypwd_clicked(); break; 84 | default: ; 85 | } 86 | _id -= 4; 87 | } 88 | return _id; 89 | } 90 | 91 | // SIGNAL 0 92 | void Security::tosecurity2menu() 93 | { 94 | QMetaObject::activate(this, &staticMetaObject, 0, 0); 95 | } 96 | QT_END_MOC_NAMESPACE 97 | -------------------------------------------------------------------------------- /moc_security.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_security.o -------------------------------------------------------------------------------- /moc_systemset.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'systemset.h' 3 | ** 4 | ** Created: Wed Apr 10 10:57:39 2013 5 | ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.3) 6 | ** 7 | ** WARNING! All changes made in this file will be lost! 8 | *****************************************************************************/ 9 | 10 | #include "systemset.h" 11 | #if !defined(Q_MOC_OUTPUT_REVISION) 12 | #error "The header file 'systemset.h' doesn't include ." 13 | #elif Q_MOC_OUTPUT_REVISION != 62 14 | #error "This file was generated using the moc from 4.7.3. It" 15 | #error "cannot be used with the include files from this version of Qt." 16 | #error "(The moc has changed too much.)" 17 | #endif 18 | 19 | QT_BEGIN_MOC_NAMESPACE 20 | static const uint qt_meta_data_Systemset[] = { 21 | 22 | // content: 23 | 5, // revision 24 | 0, // classname 25 | 0, 0, // classinfo 26 | 5, 14, // methods 27 | 0, 0, // properties 28 | 0, 0, // enums/sets 29 | 0, 0, // constructors 30 | 0, // flags 31 | 1, // signalCount 32 | 33 | // signals: signature, parameters, type, tag, flags 34 | 11, 10, 10, 10, 0x05, 35 | 36 | // slots: signature, parameters, type, tag, flags 37 | 27, 10, 10, 10, 0x08, 38 | 56, 10, 10, 10, 0x08, 39 | 80, 10, 10, 10, 0x08, 40 | 103, 10, 10, 10, 0x08, 41 | 42 | 0 // eod 43 | }; 44 | 45 | static const char qt_meta_stringdata_Systemset[] = { 46 | "Systemset\0\0tosystem2menu()\0" 47 | "on_systemreturnbnz_clicked()\0" 48 | "on_versionbnz_clicked()\0on_volumebnz_clicked()\0" 49 | "on_varbnz_clicked()\0" 50 | }; 51 | 52 | const QMetaObject Systemset::staticMetaObject = { 53 | { &QWidget::staticMetaObject, qt_meta_stringdata_Systemset, 54 | qt_meta_data_Systemset, 0 } 55 | }; 56 | 57 | #ifdef Q_NO_DATA_RELOCATION 58 | const QMetaObject &Systemset::getStaticMetaObject() { return staticMetaObject; } 59 | #endif //Q_NO_DATA_RELOCATION 60 | 61 | const QMetaObject *Systemset::metaObject() const 62 | { 63 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 64 | } 65 | 66 | void *Systemset::qt_metacast(const char *_clname) 67 | { 68 | if (!_clname) return 0; 69 | if (!strcmp(_clname, qt_meta_stringdata_Systemset)) 70 | return static_cast(const_cast< Systemset*>(this)); 71 | return QWidget::qt_metacast(_clname); 72 | } 73 | 74 | int Systemset::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 75 | { 76 | _id = QWidget::qt_metacall(_c, _id, _a); 77 | if (_id < 0) 78 | return _id; 79 | if (_c == QMetaObject::InvokeMetaMethod) { 80 | switch (_id) { 81 | case 0: tosystem2menu(); break; 82 | case 1: on_systemreturnbnz_clicked(); break; 83 | case 2: on_versionbnz_clicked(); break; 84 | case 3: on_volumebnz_clicked(); break; 85 | case 4: on_varbnz_clicked(); break; 86 | default: ; 87 | } 88 | _id -= 5; 89 | } 90 | return _id; 91 | } 92 | 93 | // SIGNAL 0 94 | void Systemset::tosystem2menu() 95 | { 96 | QMetaObject::activate(this, &staticMetaObject, 0, 0); 97 | } 98 | QT_END_MOC_NAMESPACE 99 | -------------------------------------------------------------------------------- /moc_systemset.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_systemset.o -------------------------------------------------------------------------------- /moc_systemtime.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_systemtime.o -------------------------------------------------------------------------------- /moc_user.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_user.o -------------------------------------------------------------------------------- /moc_varmessage.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'varmessage.h' 3 | ** 4 | ** Created: Wed Apr 10 10:57:46 2013 5 | ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.3) 6 | ** 7 | ** WARNING! All changes made in this file will be lost! 8 | *****************************************************************************/ 9 | 10 | #include "varmessage.h" 11 | #if !defined(Q_MOC_OUTPUT_REVISION) 12 | #error "The header file 'varmessage.h' doesn't include ." 13 | #elif Q_MOC_OUTPUT_REVISION != 62 14 | #error "This file was generated using the moc from 4.7.3. It" 15 | #error "cannot be used with the include files from this version of Qt." 16 | #error "(The moc has changed too much.)" 17 | #endif 18 | 19 | QT_BEGIN_MOC_NAMESPACE 20 | static const uint qt_meta_data_Varmessage[] = { 21 | 22 | // content: 23 | 5, // revision 24 | 0, // classname 25 | 0, 0, // classinfo 26 | 2, 14, // methods 27 | 0, 0, // properties 28 | 0, 0, // enums/sets 29 | 0, 0, // constructors 30 | 0, // flags 31 | 1, // signalCount 32 | 33 | // signals: signature, parameters, type, tag, flags 34 | 12, 11, 11, 11, 0x05, 35 | 36 | // slots: signature, parameters, type, tag, flags 37 | 27, 11, 11, 11, 0x08, 38 | 39 | 0 // eod 40 | }; 41 | 42 | static const char qt_meta_stringdata_Varmessage[] = { 43 | "Varmessage\0\0tovar2system()\0" 44 | "on_pushButton_clicked()\0" 45 | }; 46 | 47 | const QMetaObject Varmessage::staticMetaObject = { 48 | { &QWidget::staticMetaObject, qt_meta_stringdata_Varmessage, 49 | qt_meta_data_Varmessage, 0 } 50 | }; 51 | 52 | #ifdef Q_NO_DATA_RELOCATION 53 | const QMetaObject &Varmessage::getStaticMetaObject() { return staticMetaObject; } 54 | #endif //Q_NO_DATA_RELOCATION 55 | 56 | const QMetaObject *Varmessage::metaObject() const 57 | { 58 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 59 | } 60 | 61 | void *Varmessage::qt_metacast(const char *_clname) 62 | { 63 | if (!_clname) return 0; 64 | if (!strcmp(_clname, qt_meta_stringdata_Varmessage)) 65 | return static_cast(const_cast< Varmessage*>(this)); 66 | return QWidget::qt_metacast(_clname); 67 | } 68 | 69 | int Varmessage::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 70 | { 71 | _id = QWidget::qt_metacall(_c, _id, _a); 72 | if (_id < 0) 73 | return _id; 74 | if (_c == QMetaObject::InvokeMetaMethod) { 75 | switch (_id) { 76 | case 0: tovar2system(); break; 77 | case 1: on_pushButton_clicked(); break; 78 | default: ; 79 | } 80 | _id -= 2; 81 | } 82 | return _id; 83 | } 84 | 85 | // SIGNAL 0 86 | void Varmessage::tovar2system() 87 | { 88 | QMetaObject::activate(this, &staticMetaObject, 0, 0); 89 | } 90 | QT_END_MOC_NAMESPACE 91 | -------------------------------------------------------------------------------- /moc_varmessage.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_varmessage.o -------------------------------------------------------------------------------- /moc_version.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'version.h' 3 | ** 4 | ** Created: Wed Apr 10 10:57:40 2013 5 | ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.3) 6 | ** 7 | ** WARNING! All changes made in this file will be lost! 8 | *****************************************************************************/ 9 | 10 | #include "version.h" 11 | #if !defined(Q_MOC_OUTPUT_REVISION) 12 | #error "The header file 'version.h' doesn't include ." 13 | #elif Q_MOC_OUTPUT_REVISION != 62 14 | #error "This file was generated using the moc from 4.7.3. It" 15 | #error "cannot be used with the include files from this version of Qt." 16 | #error "(The moc has changed too much.)" 17 | #endif 18 | 19 | QT_BEGIN_MOC_NAMESPACE 20 | static const uint qt_meta_data_Version[] = { 21 | 22 | // content: 23 | 5, // revision 24 | 0, // classname 25 | 0, 0, // classinfo 26 | 2, 14, // methods 27 | 0, 0, // properties 28 | 0, 0, // enums/sets 29 | 0, 0, // constructors 30 | 0, // flags 31 | 1, // signalCount 32 | 33 | // signals: signature, parameters, type, tag, flags 34 | 9, 8, 8, 8, 0x05, 35 | 36 | // slots: signature, parameters, type, tag, flags 37 | 28, 8, 8, 8, 0x08, 38 | 39 | 0 // eod 40 | }; 41 | 42 | static const char qt_meta_stringdata_Version[] = { 43 | "Version\0\0toversion2system()\0" 44 | "on_versionreturnbnz_clicked()\0" 45 | }; 46 | 47 | const QMetaObject Version::staticMetaObject = { 48 | { &QWidget::staticMetaObject, qt_meta_stringdata_Version, 49 | qt_meta_data_Version, 0 } 50 | }; 51 | 52 | #ifdef Q_NO_DATA_RELOCATION 53 | const QMetaObject &Version::getStaticMetaObject() { return staticMetaObject; } 54 | #endif //Q_NO_DATA_RELOCATION 55 | 56 | const QMetaObject *Version::metaObject() const 57 | { 58 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 59 | } 60 | 61 | void *Version::qt_metacast(const char *_clname) 62 | { 63 | if (!_clname) return 0; 64 | if (!strcmp(_clname, qt_meta_stringdata_Version)) 65 | return static_cast(const_cast< Version*>(this)); 66 | return QWidget::qt_metacast(_clname); 67 | } 68 | 69 | int Version::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 70 | { 71 | _id = QWidget::qt_metacall(_c, _id, _a); 72 | if (_id < 0) 73 | return _id; 74 | if (_c == QMetaObject::InvokeMetaMethod) { 75 | switch (_id) { 76 | case 0: toversion2system(); break; 77 | case 1: on_versionreturnbnz_clicked(); break; 78 | default: ; 79 | } 80 | _id -= 2; 81 | } 82 | return _id; 83 | } 84 | 85 | // SIGNAL 0 86 | void Version::toversion2system() 87 | { 88 | QMetaObject::activate(this, &staticMetaObject, 0, 0); 89 | } 90 | QT_END_MOC_NAMESPACE 91 | -------------------------------------------------------------------------------- /moc_version.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/moc_version.o -------------------------------------------------------------------------------- /networkset.cpp: -------------------------------------------------------------------------------- 1 | #include "networkset.h" 2 | #include "ui_networkset.h" 3 | #include "numkeyboard.h" 4 | #include 5 | #include "common.h" 6 | 7 | Networkset::Networkset(QWidget *parent) : 8 | QWidget(parent), 9 | ui(new Ui::Networkset) 10 | { 11 | ui->setupUi(this); 12 | setWindowFlags(Qt::FramelessWindowHint); 13 | 14 | numkeyboard=new Numkeyboard(); 15 | numkeyboard->setnetmask(); 16 | connect(numkeyboard,SIGNAL(tonetworkip(QString)),this,SLOT(setip(QString))); 17 | connect(numkeyboard,SIGNAL(tonetworkmask(QString)),this,SLOT(setip(QString))); 18 | connect(numkeyboard,SIGNAL(tonetworkrout(QString)),this,SLOT(setip(QString))); 19 | connect(numkeyboard,SIGNAL(tonetworkdns(QString)),this,SLOT(setip(QString))); 20 | } 21 | 22 | Networkset::~Networkset() 23 | { 24 | delete ui; 25 | } 26 | 27 | void Networkset::on_networkreturnbnz_clicked() 28 | { 29 | hide(); 30 | emit tonetwork2advice(); 31 | } 32 | 33 | void Networkset::on_ip_input_clicked() 34 | { 35 | isip=true; 36 | numkeyboard->show(); 37 | } 38 | 39 | void Networkset::on_mask_input_clicked() 40 | { 41 | ismask=true; 42 | numkeyboard->show(); 43 | } 44 | 45 | void Networkset::on_rout_input_clicked() 46 | { 47 | isrout=true; 48 | numkeyboard->show(); 49 | } 50 | void Networkset::on_dns_input_clicked() 51 | { 52 | isdns=true; 53 | numkeyboard->show(); 54 | } 55 | 56 | void Networkset::setip(QString str) 57 | { 58 | //qDebug()<<"isip"<ip_input->setText(str); 63 | } 64 | else if(ismask) 65 | { 66 | ismask=false; 67 | ui->mask_input->setText(str); 68 | } 69 | else if(isrout) 70 | { 71 | isrout=false; 72 | ui->rout_input->setText(str); 73 | } 74 | else if(isdns) 75 | { 76 | isdns=false; 77 | ui->dns_input->setText(str); 78 | } 79 | 80 | } 81 | 82 | -------------------------------------------------------------------------------- /networkset.h: -------------------------------------------------------------------------------- 1 | #ifndef NETWORKSET_H 2 | #define NETWORKSET_H 3 | 4 | #include 5 | class Numkeyboard; 6 | 7 | namespace Ui { 8 | class Networkset; 9 | } 10 | 11 | class Networkset : public QWidget 12 | { 13 | Q_OBJECT 14 | 15 | public: 16 | explicit Networkset(QWidget *parent = 0); 17 | ~Networkset(); 18 | signals: 19 | void tonetwork2advice(); 20 | private slots: 21 | void on_networkreturnbnz_clicked(); 22 | void on_ip_input_clicked(); 23 | void on_mask_input_clicked(); 24 | void on_rout_input_clicked(); 25 | void on_dns_input_clicked(); 26 | void setip(QString); 27 | private: 28 | Ui::Networkset *ui; 29 | Numkeyboard *numkeyboard; 30 | }; 31 | 32 | #endif // NETWORKSET_H 33 | -------------------------------------------------------------------------------- /networkset.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/networkset.o -------------------------------------------------------------------------------- /nihao.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/nihao.wav -------------------------------------------------------------------------------- /noidx.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/noidx.wav -------------------------------------------------------------------------------- /numkeyboard.h: -------------------------------------------------------------------------------- 1 | #ifndef NUMKEYBOARD_H 2 | #define NUMKEYBOARD_H 3 | 4 | #include 5 | class QRegExpValidator; 6 | 7 | namespace Ui { 8 | class Numkeyboard; 9 | } 10 | 11 | class Numkeyboard : public QWidget 12 | { 13 | Q_OBJECT 14 | 15 | public: 16 | explicit Numkeyboard(QWidget *parent = 0); 17 | ~Numkeyboard(); 18 | void setnetmask(); 19 | signals: 20 | void toclosehome(); 21 | void tofind(const QString &); 22 | void todoorpwd(); 23 | void tobase(QString); 24 | void tosysyearset(QString); 25 | void tosysmonset(QString); 26 | void tosysdayset(QString); 27 | void tosyshourset(QString); 28 | void tosysminset(QString); 29 | void tonetworkip(QString); 30 | void tonetworkmask(QString); 31 | void tonetworkrout(QString); 32 | void tonetworkdns(QString); 33 | private slots: 34 | void on_numButton1_clicked(); 35 | void on_numButton2_clicked(); 36 | void on_numButton3_clicked(); 37 | void on_numButton4_clicked(); 38 | void on_numButton5_clicked(); 39 | void on_numButton6_clicked(); 40 | void on_numButton7_clicked(); 41 | void on_numButton8_clicked(); 42 | void on_numButton9_clicked(); 43 | void on_numButtonx_clicked(); 44 | void on_numButton0_clicked(); 45 | void on_numButtonj_clicked(); 46 | private: 47 | Ui::Numkeyboard *ui; 48 | QRegExpValidator *pValidator; 49 | }; 50 | 51 | #endif // NUMKEYBOARD_H 52 | -------------------------------------------------------------------------------- /numkeyboard.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/numkeyboard.o -------------------------------------------------------------------------------- /numkeyboardlogin.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/numkeyboardlogin.o -------------------------------------------------------------------------------- /numkeylogin.h: -------------------------------------------------------------------------------- 1 | #ifndef NUBKEYBOARD_H 2 | #define NUBKEYBOARD_H 3 | 4 | #include 5 | #include 6 | #include 7 | #include "recognition.h" 8 | 9 | class QSound; 10 | class Data; 11 | 12 | namespace Ui { 13 | class Numkeylogin; 14 | } 15 | class Numkeylogin : public QWidget 16 | { 17 | Q_OBJECT 18 | public: 19 | explicit Numkeylogin(QWidget *parent = 0); 20 | ~Numkeylogin(); 21 | signals: 22 | void tologin2menu(); 23 | void tologin2recog(); 24 | void toinputpwdlogin(); 25 | void tologin2home(); 26 | 27 | private slots: 28 | void on_numButton0_clicked(); 29 | void on_numButton1_clicked(); 30 | void on_numButton2_clicked(); 31 | void on_numButton3_clicked(); 32 | void on_numButtonx_clicked(); 33 | void on_numButton4_clicked(); 34 | void on_numButton5_clicked(); 35 | void on_numButton6_clicked(); 36 | void on_numButton7_clicked(); 37 | void on_numButton8_clicked(); 38 | void on_numButton9_clicked(); 39 | void on_numButtonj_clicked(); 40 | private: 41 | Ui::Numkeylogin *ui; 42 | QLineEdit nmlineEdit; 43 | QSound *noid; 44 | QSound *pwderror; 45 | Data *data; 46 | }; 47 | 48 | #endif // NUBKEYBOARD_H 49 | -------------------------------------------------------------------------------- /numkeylogin.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/numkeylogin.o -------------------------------------------------------------------------------- /object_script.hj_face_project.Debug: -------------------------------------------------------------------------------- 1 | INPUT( 2 | ./debug\main.o 3 | ./debug\recognition.o 4 | ./debug\avthread.o 5 | ./debug\user.o 6 | ./debug\adduser.o 7 | ./debug\recfailtip.o 8 | ./debug\mainmenu.o 9 | ./debug\mainkeyboard.o 10 | ./debug\login.o 11 | ./debug\numkeylogin.o 12 | ./debug\home.o 13 | ./debug\numkeyboard.o 14 | ./debug\informationface.o 15 | ./debug\recsuccession.o 16 | ./debug\security.o 17 | ./debug\administrator.o 18 | ./debug\addadminisrator.o 19 | ./debug\inputpwd.o 20 | ./debug\advancedsetup.o 21 | ./debug\baseset.o 22 | ./debug\systemtime.o 23 | ./debug\networkset.o 24 | ./debug\systemset.o 25 | ./debug\version.o 26 | ./debug\generaluser.o 27 | ./debug\finduser.o 28 | ./debug\doorpwd.o 29 | ./debug\capacity.o 30 | ./debug\application.o 31 | ./debug\pingb.o 32 | ./debug\varmessage.o 33 | ./debug\data.o 34 | ./debug\moc_recognition.o 35 | ./debug\moc_avthread.o 36 | ./debug\moc_user.o 37 | ./debug\moc_adduser.o 38 | ./debug\moc_mainkeyboard.o 39 | ./debug\moc_recfailtip.o 40 | ./debug\moc_mainmenu.o 41 | ./debug\moc_login.o 42 | ./debug\moc_numkeylogin.o 43 | ./debug\moc_home.o 44 | ./debug\moc_numkeyboard.o 45 | ./debug\moc_informationface.o 46 | ./debug\moc_recsuccession.o 47 | ./debug\moc_security.o 48 | ./debug\moc_administrator.o 49 | ./debug\moc_addadminisrator.o 50 | ./debug\moc_inputpwd.o 51 | ./debug\moc_advancedsetup.o 52 | ./debug\moc_baseset.o 53 | ./debug\moc_systemtime.o 54 | ./debug\moc_networkset.o 55 | ./debug\moc_systemset.o 56 | ./debug\moc_version.o 57 | ./debug\moc_generaluser.o 58 | ./debug\moc_finduser.o 59 | ./debug\moc_doorpwd.o 60 | ./debug\moc_capacity.o 61 | ./debug\moc_application.o 62 | ./debug\moc_pingb.o 63 | ./debug\moc_varmessage.o 64 | ./debug\qrc_resource.o 65 | ); 66 | -------------------------------------------------------------------------------- /object_script.hj_face_project.Release: -------------------------------------------------------------------------------- 1 | INPUT( 2 | ./release\main.o 3 | ./release\recognition.o 4 | ./release\avthread.o 5 | ./release\user.o 6 | ./release\adduser.o 7 | ./release\recfailtip.o 8 | ./release\mainmenu.o 9 | ./release\mainkeyboard.o 10 | ./release\login.o 11 | ./release\numkeylogin.o 12 | ./release\home.o 13 | ./release\numkeyboard.o 14 | ./release\informationface.o 15 | ./release\recsuccession.o 16 | ./release\security.o 17 | ./release\administrator.o 18 | ./release\addadminisrator.o 19 | ./release\inputpwd.o 20 | ./release\advancedsetup.o 21 | ./release\baseset.o 22 | ./release\systemtime.o 23 | ./release\networkset.o 24 | ./release\systemset.o 25 | ./release\version.o 26 | ./release\generaluser.o 27 | ./release\finduser.o 28 | ./release\doorpwd.o 29 | ./release\capacity.o 30 | ./release\application.o 31 | ./release\pingb.o 32 | ./release\varmessage.o 33 | ./release\data.o 34 | ./release\moc_recognition.o 35 | ./release\moc_avthread.o 36 | ./release\moc_user.o 37 | ./release\moc_adduser.o 38 | ./release\moc_mainkeyboard.o 39 | ./release\moc_recfailtip.o 40 | ./release\moc_mainmenu.o 41 | ./release\moc_login.o 42 | ./release\moc_numkeylogin.o 43 | ./release\moc_home.o 44 | ./release\moc_numkeyboard.o 45 | ./release\moc_informationface.o 46 | ./release\moc_recsuccession.o 47 | ./release\moc_security.o 48 | ./release\moc_administrator.o 49 | ./release\moc_addadminisrator.o 50 | ./release\moc_inputpwd.o 51 | ./release\moc_advancedsetup.o 52 | ./release\moc_baseset.o 53 | ./release\moc_systemtime.o 54 | ./release\moc_networkset.o 55 | ./release\moc_systemset.o 56 | ./release\moc_version.o 57 | ./release\moc_generaluser.o 58 | ./release\moc_finduser.o 59 | ./release\moc_doorpwd.o 60 | ./release\moc_capacity.o 61 | ./release\moc_application.o 62 | ./release\moc_pingb.o 63 | ./release\moc_varmessage.o 64 | ./release\qrc_resource.o 65 | ); 66 | -------------------------------------------------------------------------------- /pic/0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/pic/0.jpg -------------------------------------------------------------------------------- /pic/00.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/pic/00.jpg -------------------------------------------------------------------------------- /pic/1288172870_4170.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/pic/1288172870_4170.jpg -------------------------------------------------------------------------------- /pic/ok.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/pic/ok.jpg -------------------------------------------------------------------------------- /pic/sbsb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/pic/sbsb.jpg -------------------------------------------------------------------------------- /pic/u=1929233181,4287244579&fm=0&gp=0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/pic/u=1929233181,4287244579&fm=0&gp=0.jpg -------------------------------------------------------------------------------- /pic/u=2805919660,579717014&fm=23&gp=0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/pic/u=2805919660,579717014&fm=23&gp=0.jpg -------------------------------------------------------------------------------- /pic/u=3382082192,2758083263&fm=0&gp=0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/pic/u=3382082192,2758083263&fm=0&gp=0.jpg -------------------------------------------------------------------------------- /pic/x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/pic/x.jpg -------------------------------------------------------------------------------- /pic/xx.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/pic/xx.jpg -------------------------------------------------------------------------------- /pic/xxx.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/pic/xxx.jpg -------------------------------------------------------------------------------- /pingb.cpp: -------------------------------------------------------------------------------- 1 | #include "pingb.h" 2 | #include "ui_pingb.h" 3 | #include 4 | #include 5 | #include 6 | #include 7 | 8 | Pingb::Pingb(QWidget *parent) : 9 | QWidget(parent), 10 | ui(new Ui::Pingb) 11 | { 12 | ui->setupUi(this); 13 | setWindowFlags(Qt::FramelessWindowHint); 14 | 15 | setAutoFillBackground(true); 16 | QPalette palette = this->palette(); 17 | palette.setBrush(QPalette::Window,QBrush(QPixmap("pic/00.jpg").scaled( size(), Qt::IgnoreAspectRatio,Qt::SmoothTransformation))); // 使用平滑的缩放方式 18 | setPalette(palette); 19 | 20 | QTimer *timer = new QTimer(this); 21 | connect(timer,SIGNAL(timeout()),this,SLOT(timerUpDate())); 22 | timer->start(1000); 23 | 24 | } 25 | Pingb::~Pingb() 26 | { 27 | delete ui; 28 | } 29 | void Pingb::timerUpDate() 30 | { 31 | QDateTime time = QDateTime::currentDateTime(); 32 | QString strTime = time.toString("hh:mm:ss "); 33 | ui->labelTime->setText(strTime); 34 | 35 | QString strDate = time.toString("yyyy-MM-dd "); 36 | ui->labelDate->setText(strDate); 37 | 38 | QString strWeek = time.toString("dddd"); 39 | if ("Monday" == strWeek) 40 | ui->labelWeek->setText(tr("星期一")); 41 | if ("Tuesday" == strWeek) 42 | ui->labelWeek->setText(tr("星期二")); 43 | if ("Wednesday" == strWeek) 44 | ui->labelWeek->setText(tr("星期三")); 45 | if ("Thursday" == strWeek) 46 | ui->labelWeek->setText(tr("星期四")); 47 | if ("Friday" == strWeek) 48 | ui->labelWeek->setText(tr("星期五")); 49 | if ("Saturday" == strWeek) 50 | ui->labelWeek->setText(tr("星期六")); 51 | if ("Sunday" == strWeek) 52 | ui->labelWeek->setText(tr("星期日")); 53 | } 54 | -------------------------------------------------------------------------------- /pingb.h: -------------------------------------------------------------------------------- 1 | #ifndef PINGB_H 2 | #define PINGB_H 3 | 4 | #include 5 | 6 | namespace Ui { 7 | class Pingb; 8 | } 9 | 10 | class Pingb : public QWidget 11 | { 12 | Q_OBJECT 13 | 14 | public: 15 | explicit Pingb(QWidget *parent = 0); 16 | ~Pingb(); 17 | private slots: 18 | void timerUpDate(); 19 | 20 | private: 21 | Ui::Pingb *ui; 22 | }; 23 | 24 | #endif // PINGB_H 25 | -------------------------------------------------------------------------------- /pingb.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/pingb.o -------------------------------------------------------------------------------- /q.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/q.jpg -------------------------------------------------------------------------------- /qq.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/qq.gif -------------------------------------------------------------------------------- /qrc_resource.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/qrc_resource.o -------------------------------------------------------------------------------- /recfailtip.cpp: -------------------------------------------------------------------------------- 1 | #include "recfailtip.h" 2 | #include "ui_recfailtip.h" 3 | #include "recognition.h" 4 | #include "login.h" 5 | #include 6 | #include 7 | 8 | 9 | Recfailtip::Recfailtip(QWidget *parent) : 10 | QWidget(parent), 11 | ui(new Ui::Recfailtip) 12 | { 13 | ui->setupUi(this); 14 | setWindowFlags(Qt::FramelessWindowHint); 15 | QFont ft; 16 | ft.setPixelSize(14); 17 | 18 | ui->label_2->setFont(ft); 19 | 20 | ui->label_2->setText(" 不好意思,识别失败\n 请重新识别或与管理员联系"); 21 | QPixmap pix,pix2; 22 | 23 | pix.load("pic/sbsb.jpg"); 24 | pix2=pix.scaled(101,131); 25 | ui->label_3->setPixmap(pix2); 26 | } 27 | Recfailtip::~Recfailtip() 28 | { 29 | delete ui; 30 | } 31 | -------------------------------------------------------------------------------- /recfailtip.h: -------------------------------------------------------------------------------- 1 | #ifndef RECFAILTIP_H 2 | #define RECFAILTIP_H 3 | 4 | #include 5 | //#include "home.h" 6 | //#include "recognition.h" 7 | //#include "avthread.h" 8 | class Recognition; 9 | class Login; 10 | 11 | 12 | namespace Ui { 13 | class Recfailtip; 14 | } 15 | 16 | class Recfailtip : public QWidget 17 | { 18 | Q_OBJECT 19 | 20 | public: 21 | explicit Recfailtip(QWidget *parent = 0); 22 | ~Recfailtip(); 23 | private: 24 | Ui::Recfailtip *ui; 25 | Recognition *recognition; 26 | }; 27 | 28 | #endif // RECFAILTIP_H 29 | -------------------------------------------------------------------------------- /recfailtip.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/recfailtip.o -------------------------------------------------------------------------------- /recoging.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/recoging.wav -------------------------------------------------------------------------------- /recognition.h: -------------------------------------------------------------------------------- 1 | #ifndef RECOGNITION_H 2 | #define RECOGNITION_H 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include 11 | #include 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include "avthread.h" 17 | 18 | #include 19 | #include "common.h" 20 | #include 21 | 22 | class QSound; 23 | class Data; 24 | 25 | 26 | 27 | //注意这里 28 | class Recfailtip; 29 | class Login; 30 | class Recsuccession; 31 | 32 | 33 | #define CLEAR(x) memset (&(x), 0, sizeof (x)) 34 | 35 | namespace Ui { 36 | class Recognition; 37 | } 38 | 39 | class Recognition : public QWidget 40 | { 41 | Q_OBJECT 42 | 43 | public: 44 | //explicit Recognition(QWidget *parent = 0); 45 | 46 | 47 | static Recognition *getinstance(); 48 | 49 | unsigned char *rgb_buf; 50 | QImage *image,*imgScaled ; 51 | Avthread *avthread; 52 | Recfailtip *recfailtip; 53 | Login *login; 54 | QTimer *sharetimer; 55 | QTimer *standingtime; 56 | QTimer *recfailtiptimer; 57 | QTimer *shibietimer; 58 | QTimer *paintre; 59 | Recsuccession *recsuccession; 60 | QSound *reqfinished; 61 | QSound *hello; 62 | QSound *reconfail; 63 | QSound *shibiefail; 64 | QSound *enterpwd; 65 | QSound *far; 66 | QSound *near; 67 | //Data *data; 68 | 69 | 70 | int xioctl(int fd,int request, void *arg); 71 | void start_capturing(); 72 | void init_mmap(void); 73 | void mainloop (void); 74 | int read_frame(void); 75 | void stop_capturing(void); 76 | void uninit_device(void); 77 | void close_device(void); 78 | void errno_exit(const char *s); 79 | void process_image(const void *p,int len); 80 | void startavthread(); 81 | void recordvar(QString name,QString str); 82 | void getOkfaces(); 83 | 84 | signals: 85 | void passwordtip(); 86 | void pwt(void); 87 | void informationshow(); 88 | void savedata(); 89 | void torecog2home(); 90 | void tohome2menu(); 91 | void tolong2input(); 92 | 93 | //void tolong2input(); 94 | void tohome2input(); 95 | private slots: 96 | void recsuccessfunc(int result); 97 | void on_recog2homebtn_clicked(); 98 | void recfaildeal(); 99 | void shibdeal(); 100 | void paintrect(/*CvRect facerect*/); 101 | 102 | private: 103 | Ui::Recognition *ui; 104 | explicit Recognition(QWidget *parent = 0); 105 | ~Recognition(); 106 | //Recognition(); 107 | static Recognition *recognition; 108 | 109 | }; 110 | 111 | #endif // RECOGNITION_H 112 | -------------------------------------------------------------------------------- /recognition.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/recognition.o -------------------------------------------------------------------------------- /reconfail.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/reconfail.wav -------------------------------------------------------------------------------- /recsuccession.cpp: -------------------------------------------------------------------------------- 1 | #include "recsuccession.h" 2 | #include "ui_recsuccession.h" 3 | #include 4 | #include 5 | 6 | 7 | Recsuccession::Recsuccession(QWidget *parent) : 8 | QWidget(parent), 9 | ui(new Ui::Recsuccession) 10 | { 11 | ui->setupUi(this); 12 | setWindowFlags(Qt::FramelessWindowHint); 13 | 14 | QPixmap pix,pix2; 15 | pix.load("pic/ok.jpg"); 16 | pix2=pix.scaled(80,80); 17 | ui->label_2->setPixmap(pix2); 18 | } 19 | 20 | Recsuccession::~Recsuccession() 21 | { 22 | delete ui; 23 | } 24 | void Recsuccession::loadimage(QString imagepath) 25 | { 26 | ui->imagelabel->setPixmap(imagepath); 27 | } 28 | void Recsuccession::setname(QString name) 29 | { 30 | ui->namelabel->setText("姓名: "+name); 31 | } 32 | void Recsuccession::settime(QString timestr) 33 | { 34 | ui->mytimelabel->setText(timestr); 35 | } 36 | -------------------------------------------------------------------------------- /recsuccession.h: -------------------------------------------------------------------------------- 1 | #ifndef RECSUCCESSION_H 2 | #define RECSUCCESSION_H 3 | 4 | 5 | #include 6 | #include 7 | 8 | namespace Ui { 9 | class Recsuccession; 10 | } 11 | 12 | class Recsuccession : public QWidget 13 | { 14 | Q_OBJECT 15 | 16 | public: 17 | explicit Recsuccession(QWidget *parent = 0); 18 | ~Recsuccession(); 19 | void loadimage(QString); 20 | void setname(QString); 21 | void settime(QString); 22 | 23 | private: 24 | Ui::Recsuccession *ui; 25 | }; 26 | 27 | #endif // RECSUCCESSION_H 28 | -------------------------------------------------------------------------------- /recsuccession.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/recsuccession.o -------------------------------------------------------------------------------- /release/avthread.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/release/avthread.o -------------------------------------------------------------------------------- /release/hj_face_project.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/release/hj_face_project.exe -------------------------------------------------------------------------------- /release/home.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/release/home.o -------------------------------------------------------------------------------- /release/main.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/release/main.o -------------------------------------------------------------------------------- /release/moc_home.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'home.h' 3 | ** 4 | ** Created: Mon Jan 7 10:43:33 2013 5 | ** by: The Qt Meta Object Compiler version 63 (Qt 4.8.2) 6 | ** 7 | ** WARNING! All changes made in this file will be lost! 8 | *****************************************************************************/ 9 | 10 | #include "../home.h" 11 | #if !defined(Q_MOC_OUTPUT_REVISION) 12 | #error "The header file 'home.h' doesn't include ." 13 | #elif Q_MOC_OUTPUT_REVISION != 63 14 | #error "This file was generated using the moc from 4.8.2. It" 15 | #error "cannot be used with the include files from this version of Qt." 16 | #error "(The moc has changed too much.)" 17 | #endif 18 | 19 | QT_BEGIN_MOC_NAMESPACE 20 | static const uint qt_meta_data_Home[] = { 21 | 22 | // content: 23 | 6, // revision 24 | 0, // classname 25 | 0, 0, // classinfo 26 | 0, 0, // methods 27 | 0, 0, // properties 28 | 0, 0, // enums/sets 29 | 0, 0, // constructors 30 | 0, // flags 31 | 0, // signalCount 32 | 33 | 0 // eod 34 | }; 35 | 36 | static const char qt_meta_stringdata_Home[] = { 37 | "Home\0" 38 | }; 39 | 40 | void Home::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 41 | { 42 | Q_UNUSED(_o); 43 | Q_UNUSED(_id); 44 | Q_UNUSED(_c); 45 | Q_UNUSED(_a); 46 | } 47 | 48 | const QMetaObjectExtraData Home::staticMetaObjectExtraData = { 49 | 0, qt_static_metacall 50 | }; 51 | 52 | const QMetaObject Home::staticMetaObject = { 53 | { &QWidget::staticMetaObject, qt_meta_stringdata_Home, 54 | qt_meta_data_Home, &staticMetaObjectExtraData } 55 | }; 56 | 57 | #ifdef Q_NO_DATA_RELOCATION 58 | const QMetaObject &Home::getStaticMetaObject() { return staticMetaObject; } 59 | #endif //Q_NO_DATA_RELOCATION 60 | 61 | const QMetaObject *Home::metaObject() const 62 | { 63 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 64 | } 65 | 66 | void *Home::qt_metacast(const char *_clname) 67 | { 68 | if (!_clname) return 0; 69 | if (!strcmp(_clname, qt_meta_stringdata_Home)) 70 | return static_cast(const_cast< Home*>(this)); 71 | return QWidget::qt_metacast(_clname); 72 | } 73 | 74 | int Home::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 75 | { 76 | _id = QWidget::qt_metacall(_c, _id, _a); 77 | if (_id < 0) 78 | return _id; 79 | return _id; 80 | } 81 | QT_END_MOC_NAMESPACE 82 | -------------------------------------------------------------------------------- /release/moc_home.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/release/moc_home.o -------------------------------------------------------------------------------- /release/moc_recognition.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'recognition.h' 3 | ** 4 | ** Created: Mon Jan 7 10:44:17 2013 5 | ** by: The Qt Meta Object Compiler version 63 (Qt 4.8.2) 6 | ** 7 | ** WARNING! All changes made in this file will be lost! 8 | *****************************************************************************/ 9 | 10 | #include "../recognition.h" 11 | #if !defined(Q_MOC_OUTPUT_REVISION) 12 | #error "The header file 'recognition.h' doesn't include ." 13 | #elif Q_MOC_OUTPUT_REVISION != 63 14 | #error "This file was generated using the moc from 4.8.2. It" 15 | #error "cannot be used with the include files from this version of Qt." 16 | #error "(The moc has changed too much.)" 17 | #endif 18 | 19 | QT_BEGIN_MOC_NAMESPACE 20 | static const uint qt_meta_data_Recognition[] = { 21 | 22 | // content: 23 | 6, // revision 24 | 0, // classname 25 | 0, 0, // classinfo 26 | 0, 0, // methods 27 | 0, 0, // properties 28 | 0, 0, // enums/sets 29 | 0, 0, // constructors 30 | 0, // flags 31 | 0, // signalCount 32 | 33 | 0 // eod 34 | }; 35 | 36 | static const char qt_meta_stringdata_Recognition[] = { 37 | "Recognition\0" 38 | }; 39 | 40 | void Recognition::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 41 | { 42 | Q_UNUSED(_o); 43 | Q_UNUSED(_id); 44 | Q_UNUSED(_c); 45 | Q_UNUSED(_a); 46 | } 47 | 48 | const QMetaObjectExtraData Recognition::staticMetaObjectExtraData = { 49 | 0, qt_static_metacall 50 | }; 51 | 52 | const QMetaObject Recognition::staticMetaObject = { 53 | { &QWidget::staticMetaObject, qt_meta_stringdata_Recognition, 54 | qt_meta_data_Recognition, &staticMetaObjectExtraData } 55 | }; 56 | 57 | #ifdef Q_NO_DATA_RELOCATION 58 | const QMetaObject &Recognition::getStaticMetaObject() { return staticMetaObject; } 59 | #endif //Q_NO_DATA_RELOCATION 60 | 61 | const QMetaObject *Recognition::metaObject() const 62 | { 63 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 64 | } 65 | 66 | void *Recognition::qt_metacast(const char *_clname) 67 | { 68 | if (!_clname) return 0; 69 | if (!strcmp(_clname, qt_meta_stringdata_Recognition)) 70 | return static_cast(const_cast< Recognition*>(this)); 71 | return QWidget::qt_metacast(_clname); 72 | } 73 | 74 | int Recognition::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 75 | { 76 | _id = QWidget::qt_metacall(_c, _id, _a); 77 | if (_id < 0) 78 | return _id; 79 | return _id; 80 | } 81 | QT_END_MOC_NAMESPACE 82 | -------------------------------------------------------------------------------- /release/moc_recognition.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/release/moc_recognition.o -------------------------------------------------------------------------------- /release/recognition.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/release/recognition.o -------------------------------------------------------------------------------- /reqfinished .wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/reqfinished .wav -------------------------------------------------------------------------------- /resource.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | abc.jpg 4 | 5 | 6 | -------------------------------------------------------------------------------- /security.cpp: -------------------------------------------------------------------------------- 1 | #include "security.h" 2 | #include "ui_security.h" 3 | #include "administrator.h" 4 | #include "doorpwd.h" 5 | #include 6 | 7 | extern bool isdoorpwd; 8 | extern bool adminflag; 9 | 10 | Security::Security(QWidget *parent) : 11 | QWidget(parent), 12 | ui(new Ui::Security) 13 | { 14 | ui->setupUi(this); 15 | setWindowFlags(Qt::FramelessWindowHint); 16 | 17 | administrator=new Administrator(); 18 | doorpwd=new Doorpwd(); 19 | connect(doorpwd,SIGNAL(todoorpwd2secr()),this,SLOT(show())); 20 | connect(administrator,SIGNAL(toadminstrotomenu()),this,SLOT(show())); 21 | } 22 | 23 | Security::~Security() 24 | { 25 | delete ui; 26 | } 27 | void Security::on_adminbnz_clicked() 28 | { 29 | adminflag=true; 30 | hide(); 31 | administrator->show(); 32 | 33 | QTime dieTime = QTime::currentTime().addMSecs(10); 34 | while( QTime::currentTime() < dieTime ) 35 | QCoreApplication::processEvents(QEventLoop::AllEvents, 10); 36 | administrator->initadmin(); 37 | } 38 | void Security::on_securityreturnbnz_clicked() 39 | { 40 | adminflag=false; 41 | hide(); 42 | emit tosecurity2menu(); 43 | } 44 | void Security::on_secritypwd_clicked() 45 | { 46 | hide(); 47 | isdoorpwd=true; 48 | doorpwd->show(); 49 | } 50 | -------------------------------------------------------------------------------- /security.h: -------------------------------------------------------------------------------- 1 | #ifndef SECURITY_H 2 | #define SECURITY_H 3 | 4 | #include 5 | 6 | class Administrator; 7 | class Doorpwd; 8 | 9 | namespace Ui { 10 | class Security; 11 | } 12 | 13 | class Security : public QWidget 14 | { 15 | Q_OBJECT 16 | 17 | public: 18 | explicit Security(QWidget *parent = 0); 19 | ~Security(); 20 | signals: 21 | void tosecurity2menu(); 22 | private slots: 23 | void on_adminbnz_clicked(); 24 | void on_securityreturnbnz_clicked(); 25 | void on_secritypwd_clicked(); 26 | private: 27 | Ui::Security *ui; 28 | Administrator *administrator; 29 | Doorpwd *doorpwd; 30 | }; 31 | 32 | #endif // SECURITY_H 33 | -------------------------------------------------------------------------------- /security.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/security.o -------------------------------------------------------------------------------- /shibiefail.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/shibiefail.wav -------------------------------------------------------------------------------- /systemset.cpp: -------------------------------------------------------------------------------- 1 | #include "systemset.h" 2 | #include "ui_systemset.h" 3 | #include "version.h" 4 | #include "capacity.h" 5 | #include "varmessage.h" 6 | #include 7 | #include 8 | #include 9 | 10 | Systemset::Systemset(QWidget *parent) : 11 | QWidget(parent), 12 | ui(new Ui::Systemset) 13 | { 14 | ui->setupUi(this); 15 | setWindowFlags(Qt::FramelessWindowHint); 16 | 17 | version=new Version(); 18 | capacity=new Capacity(); 19 | varmessage=new Varmessage(); 20 | 21 | connect(varmessage,SIGNAL(tovar2system()),this,SLOT(show())); 22 | connect(version,SIGNAL(toversion2system()),this,SLOT(show())); 23 | connect(capacity,SIGNAL(tocapac2system()),this,SLOT(show())); 24 | } 25 | 26 | Systemset::~Systemset() 27 | { 28 | delete ui; 29 | } 30 | 31 | void Systemset::on_systemreturnbnz_clicked() 32 | { 33 | hide(); 34 | emit tosystem2menu(); 35 | } 36 | 37 | void Systemset::on_versionbnz_clicked() 38 | { 39 | hide(); 40 | version->show(); 41 | } 42 | 43 | void Systemset::on_volumebnz_clicked() 44 | { 45 | hide(); 46 | capacity->show(); 47 | QTime dieTime = QTime::currentTime().addMSecs(1000); 48 | while( QTime::currentTime() < dieTime ) 49 | QCoreApplication::processEvents(QEventLoop::AllEvents, 1000); 50 | capacity->volumecheck(); 51 | } 52 | 53 | void Systemset::on_varbnz_clicked() 54 | { 55 | hide(); 56 | varmessage->writevar(); 57 | varmessage->show(); 58 | 59 | } 60 | -------------------------------------------------------------------------------- /systemset.h: -------------------------------------------------------------------------------- 1 | #ifndef SYSTEMSET_H 2 | #define SYSTEMSET_H 3 | 4 | #include 5 | class Version; 6 | class Capacity; 7 | class Varmessage; 8 | 9 | namespace Ui { 10 | class Systemset; 11 | } 12 | 13 | class Systemset : public QWidget 14 | { 15 | Q_OBJECT 16 | // 17 | public: 18 | explicit Systemset(QWidget *parent = 0); 19 | ~Systemset(); 20 | signals: 21 | void tosystem2menu(); 22 | private slots: 23 | void on_systemreturnbnz_clicked(); 24 | void on_versionbnz_clicked(); 25 | void on_volumebnz_clicked(); 26 | void on_varbnz_clicked(); 27 | 28 | private: 29 | Ui::Systemset *ui; 30 | Version *version; 31 | Capacity *capacity; 32 | Varmessage *varmessage; 33 | }; 34 | 35 | #endif // SYSTEMSET_H 36 | -------------------------------------------------------------------------------- /systemset.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/systemset.o -------------------------------------------------------------------------------- /systemtime.h: -------------------------------------------------------------------------------- 1 | #ifndef SYSTEMTIME_H 2 | #define SYSTEMTIME_H 3 | 4 | #include 5 | class QStringList; 6 | class QCompleter; 7 | class Numkeyboard; 8 | 9 | namespace Ui { 10 | class Systemtime; 11 | } 12 | 13 | class Systemtime : public QWidget 14 | { 15 | Q_OBJECT 16 | 17 | public: 18 | explicit Systemtime(QWidget *parent = 0); 19 | ~Systemtime(); 20 | int setRealTime(); 21 | int set_date(struct tm *p_tm); 22 | signals: 23 | void tosystem2advice(); 24 | 25 | private slots: 26 | void on_systemreturnbnz_clicked(); 27 | void on_year_intput_clicked(); 28 | void on_month_intput_clicked(); 29 | void on_day_intput_clicked(); 30 | void on_hour_intput_clicked(); 31 | void on_min_intput_clicked(); 32 | void dealyear(QString); 33 | void dealmon(QString); 34 | void dealday(QString); 35 | void dealhour(QString); 36 | void dealmin(QString); 37 | private: 38 | Ui::Systemtime *ui; 39 | QStringList strings_timezone; 40 | QCompleter *timezonecombox; 41 | Numkeyboard *numkeyboard; 42 | }; 43 | 44 | #endif // SYSTEMTIME_H 45 | -------------------------------------------------------------------------------- /systemtime.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/systemtime.o -------------------------------------------------------------------------------- /temp.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/temp.jpg -------------------------------------------------------------------------------- /temp2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/temp2.jpg -------------------------------------------------------------------------------- /test.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/test.bmp -------------------------------------------------------------------------------- /ui_form.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************** 2 | ** Form generated from reading UI file 'form.ui' 3 | ** 4 | ** Created: Mon Feb 25 16:30:36 2013 5 | ** by: Qt User Interface Compiler version 4.7.3 6 | ** 7 | ** WARNING! All changes made in this file will be lost when recompiling UI file! 8 | ********************************************************************************/ 9 | 10 | #ifndef UI_FORM_H 11 | #define UI_FORM_H 12 | 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | 20 | QT_BEGIN_NAMESPACE 21 | 22 | class Ui_Form 23 | { 24 | public: 25 | 26 | void setupUi(QWidget *Form) 27 | { 28 | if (Form->objectName().isEmpty()) 29 | Form->setObjectName(QString::fromUtf8("Form")); 30 | Form->resize(320, 240); 31 | 32 | retranslateUi(Form); 33 | 34 | QMetaObject::connectSlotsByName(Form); 35 | } // setupUi 36 | 37 | void retranslateUi(QWidget *Form) 38 | { 39 | Form->setWindowTitle(QApplication::translate("Form", "Form", 0, QApplication::UnicodeUTF8)); 40 | } // retranslateUi 41 | 42 | }; 43 | 44 | namespace Ui { 45 | class Form: public Ui_Form {}; 46 | } // namespace Ui 47 | 48 | QT_END_NAMESPACE 49 | 50 | #endif // UI_FORM_H 51 | -------------------------------------------------------------------------------- /ui_homelogin.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************** 2 | ** Form generated from reading UI file 'homelogin.ui' 3 | ** 4 | ** Created: Wed Jan 9 15:54:39 2013 5 | ** by: Qt User Interface Compiler version 4.7.3 6 | ** 7 | ** WARNING! All changes made in this file will be lost when recompiling UI file! 8 | ********************************************************************************/ 9 | 10 | #ifndef UI_HOMELOGIN_H 11 | #define UI_HOMELOGIN_H 12 | 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | #include 20 | 21 | QT_BEGIN_NAMESPACE 22 | 23 | class Ui_Home 24 | { 25 | public: 26 | QPushButton *pushButton; 27 | 28 | void setupUi(QWidget *Home) 29 | { 30 | if (Home->objectName().isEmpty()) 31 | Home->setObjectName(QString::fromUtf8("Home")); 32 | Home->resize(320, 240); 33 | pushButton = new QPushButton(Home); 34 | pushButton->setObjectName(QString::fromUtf8("pushButton")); 35 | pushButton->setGeometry(QRect(230, 10, 91, 41)); 36 | 37 | retranslateUi(Home); 38 | 39 | QMetaObject::connectSlotsByName(Home); 40 | } // setupUi 41 | 42 | void retranslateUi(QWidget *Home) 43 | { 44 | Home->setWindowTitle(QApplication::translate("Home", "Home", 0, QApplication::UnicodeUTF8)); 45 | pushButton->setText(QApplication::translate("Home", "\350\277\224\345\233\236", 0, QApplication::UnicodeUTF8)); 46 | } // retranslateUi 47 | 48 | }; 49 | 50 | namespace Ui { 51 | class Home: public Ui_Home {}; 52 | } // namespace Ui 53 | 54 | QT_END_NAMESPACE 55 | 56 | #endif // UI_HOMELOGIN_H 57 | -------------------------------------------------------------------------------- /ui_informationface.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************** 2 | ** Form generated from reading UI file 'informationface.ui' 3 | ** 4 | ** Created: Wed Apr 10 10:56:10 2013 5 | ** by: Qt User Interface Compiler version 4.7.3 6 | ** 7 | ** WARNING! All changes made in this file will be lost when recompiling UI file! 8 | ********************************************************************************/ 9 | 10 | #ifndef UI_INFORMATIONFACE_H 11 | #define UI_INFORMATIONFACE_H 12 | 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | 20 | QT_BEGIN_NAMESPACE 21 | 22 | class Ui_Informationface 23 | { 24 | public: 25 | 26 | void setupUi(QWidget *Informationface) 27 | { 28 | if (Informationface->objectName().isEmpty()) 29 | Informationface->setObjectName(QString::fromUtf8("Informationface")); 30 | Informationface->resize(400, 300); 31 | QPalette palette; 32 | QBrush brush(QColor(255, 255, 255, 255)); 33 | brush.setStyle(Qt::SolidPattern); 34 | palette.setBrush(QPalette::Active, QPalette::Base, brush); 35 | QBrush brush1(QColor(91, 91, 91, 255)); 36 | brush1.setStyle(Qt::SolidPattern); 37 | palette.setBrush(QPalette::Active, QPalette::Window, brush1); 38 | palette.setBrush(QPalette::Inactive, QPalette::Base, brush); 39 | palette.setBrush(QPalette::Inactive, QPalette::Window, brush1); 40 | palette.setBrush(QPalette::Disabled, QPalette::Base, brush1); 41 | palette.setBrush(QPalette::Disabled, QPalette::Window, brush1); 42 | Informationface->setPalette(palette); 43 | 44 | retranslateUi(Informationface); 45 | 46 | QMetaObject::connectSlotsByName(Informationface); 47 | } // setupUi 48 | 49 | void retranslateUi(QWidget *Informationface) 50 | { 51 | Informationface->setWindowTitle(QApplication::translate("Informationface", "Form", 0, QApplication::UnicodeUTF8)); 52 | } // retranslateUi 53 | 54 | }; 55 | 56 | namespace Ui { 57 | class Informationface: public Ui_Informationface {}; 58 | } // namespace Ui 59 | 60 | QT_END_NAMESPACE 61 | 62 | #endif // UI_INFORMATIONFACE_H 63 | -------------------------------------------------------------------------------- /ui_inputpwd.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************** 2 | ** Form generated from reading UI file 'inputpwd.ui' 3 | ** 4 | ** Created: Wed Apr 10 10:56:11 2013 5 | ** by: Qt User Interface Compiler version 4.7.3 6 | ** 7 | ** WARNING! All changes made in this file will be lost when recompiling UI file! 8 | ********************************************************************************/ 9 | 10 | #ifndef UI_INPUTPWD_H 11 | #define UI_INPUTPWD_H 12 | 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | 20 | QT_BEGIN_NAMESPACE 21 | 22 | class Ui_Inputpwd 23 | { 24 | public: 25 | 26 | void setupUi(QWidget *Inputpwd) 27 | { 28 | if (Inputpwd->objectName().isEmpty()) 29 | Inputpwd->setObjectName(QString::fromUtf8("Inputpwd")); 30 | Inputpwd->resize(320, 240); 31 | QPalette palette; 32 | QBrush brush(QColor(255, 255, 255, 255)); 33 | brush.setStyle(Qt::SolidPattern); 34 | palette.setBrush(QPalette::Active, QPalette::Base, brush); 35 | QBrush brush1(QColor(91, 91, 91, 255)); 36 | brush1.setStyle(Qt::SolidPattern); 37 | palette.setBrush(QPalette::Active, QPalette::Window, brush1); 38 | palette.setBrush(QPalette::Inactive, QPalette::Base, brush); 39 | palette.setBrush(QPalette::Inactive, QPalette::Window, brush1); 40 | palette.setBrush(QPalette::Disabled, QPalette::Base, brush1); 41 | palette.setBrush(QPalette::Disabled, QPalette::Window, brush1); 42 | Inputpwd->setPalette(palette); 43 | 44 | retranslateUi(Inputpwd); 45 | 46 | QMetaObject::connectSlotsByName(Inputpwd); 47 | } // setupUi 48 | 49 | void retranslateUi(QWidget *Inputpwd) 50 | { 51 | Inputpwd->setWindowTitle(QApplication::translate("Inputpwd", "Form", 0, QApplication::UnicodeUTF8)); 52 | } // retranslateUi 53 | 54 | }; 55 | 56 | namespace Ui { 57 | class Inputpwd: public Ui_Inputpwd {}; 58 | } // namespace Ui 59 | 60 | QT_END_NAMESPACE 61 | 62 | #endif // UI_INPUTPWD_H 63 | -------------------------------------------------------------------------------- /ui_recfailtip.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************** 2 | ** Form generated from reading UI file 'recfailtip.ui' 3 | ** 4 | ** Created: Wed Apr 10 10:56:10 2013 5 | ** by: Qt User Interface Compiler version 4.7.3 6 | ** 7 | ** WARNING! All changes made in this file will be lost when recompiling UI file! 8 | ********************************************************************************/ 9 | 10 | #ifndef UI_RECFAILTIP_H 11 | #define UI_RECFAILTIP_H 12 | 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | #include 20 | 21 | QT_BEGIN_NAMESPACE 22 | 23 | class Ui_Recfailtip 24 | { 25 | public: 26 | QLabel *label; 27 | QLabel *label_2; 28 | QLabel *label_3; 29 | 30 | void setupUi(QWidget *Recfailtip) 31 | { 32 | if (Recfailtip->objectName().isEmpty()) 33 | Recfailtip->setObjectName(QString::fromUtf8("Recfailtip")); 34 | Recfailtip->resize(320, 240); 35 | QPalette palette; 36 | QBrush brush(QColor(255, 255, 255, 255)); 37 | brush.setStyle(Qt::SolidPattern); 38 | palette.setBrush(QPalette::Active, QPalette::WindowText, brush); 39 | palette.setBrush(QPalette::Active, QPalette::Base, brush); 40 | QBrush brush1(QColor(91, 91, 91, 255)); 41 | brush1.setStyle(Qt::SolidPattern); 42 | palette.setBrush(QPalette::Active, QPalette::Window, brush1); 43 | palette.setBrush(QPalette::Inactive, QPalette::WindowText, brush); 44 | palette.setBrush(QPalette::Inactive, QPalette::Base, brush); 45 | palette.setBrush(QPalette::Inactive, QPalette::Window, brush1); 46 | QBrush brush2(QColor(120, 120, 120, 255)); 47 | brush2.setStyle(Qt::SolidPattern); 48 | palette.setBrush(QPalette::Disabled, QPalette::WindowText, brush2); 49 | palette.setBrush(QPalette::Disabled, QPalette::Base, brush1); 50 | palette.setBrush(QPalette::Disabled, QPalette::Window, brush1); 51 | Recfailtip->setPalette(palette); 52 | label = new QLabel(Recfailtip); 53 | label->setObjectName(QString::fromUtf8("label")); 54 | label->setGeometry(QRect(110, 20, 141, 51)); 55 | label_2 = new QLabel(Recfailtip); 56 | label_2->setObjectName(QString::fromUtf8("label_2")); 57 | label_2->setGeometry(QRect(30, 90, 91, 121)); 58 | label_3 = new QLabel(Recfailtip); 59 | label_3->setObjectName(QString::fromUtf8("label_3")); 60 | label_3->setGeometry(QRect(150, 100, 91, 41)); 61 | 62 | retranslateUi(Recfailtip); 63 | 64 | QMetaObject::connectSlotsByName(Recfailtip); 65 | } // setupUi 66 | 67 | void retranslateUi(QWidget *Recfailtip) 68 | { 69 | Recfailtip->setWindowTitle(QApplication::translate("Recfailtip", "Form", 0, QApplication::UnicodeUTF8)); 70 | label->setText(QApplication::translate("Recfailtip", " \350\257\206\345\210\253\350\257\206\345\210\253", 0, QApplication::UnicodeUTF8)); 71 | label_2->setText(QString()); 72 | label_3->setText(QString()); 73 | } // retranslateUi 74 | 75 | }; 76 | 77 | namespace Ui { 78 | class Recfailtip: public Ui_Recfailtip {}; 79 | } // namespace Ui 80 | 81 | QT_END_NAMESPACE 82 | 83 | #endif // UI_RECFAILTIP_H 84 | -------------------------------------------------------------------------------- /user.h: -------------------------------------------------------------------------------- 1 | #ifndef USER_H 2 | #define USER_H 3 | 4 | #include 5 | #include 6 | 7 | class Adduser; 8 | class QSqlRelationalTableModel; 9 | class Recognition; 10 | class Informationface; 11 | class QDataWidgetMapper; 12 | class Finduser; 13 | class Data; 14 | class QSqlQueryModel; 15 | class Dealdata; 16 | 17 | namespace Ui { 18 | class User; 19 | } 20 | 21 | class User : public QWidget 22 | { 23 | Q_OBJECT 24 | 25 | public: 26 | explicit User(QWidget *parent = 0); 27 | ~User(); 28 | void inituser(); 29 | signals: 30 | void returnmenu(); 31 | void returngeneral(); 32 | private slots: 33 | void on_pushButton_clicked(); 34 | //void writetodata(); 35 | //void savemodify(); 36 | void dealadduser(); 37 | void showrecog(); 38 | void showinformation(); 39 | void on_pushButton_5_clicked(); 40 | void on_deleteuserbutton_clicked(); 41 | void on_modifyuserbutton_clicked(); 42 | void on_userfindbnz_clicked(); 43 | void updatauser(int); 44 | void hideuser(); 45 | private: 46 | Ui::User *ui; 47 | Adduser *adduser; 48 | Recognition *recognition; 49 | //QSqlQueryModel *modelcommon; 50 | QSqlRelationalTableModel *modelcommon; 51 | QSqlRelationalTableModel *updatamodel; 52 | Informationface *informationface; 53 | QDataWidgetMapper *mapper; 54 | Finduser *finduser; 55 | Data *usrlist; 56 | Dealdata *dealdata; 57 | 58 | 59 | 60 | }; 61 | 62 | #endif // USER_H 63 | -------------------------------------------------------------------------------- /user.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/user.o -------------------------------------------------------------------------------- /varmessage.cpp: -------------------------------------------------------------------------------- 1 | #include "varmessage.h" 2 | #include "ui_varmessage.h" 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include "common.h" 8 | 9 | Varmessage::Varmessage(QWidget *parent) : 10 | QWidget(parent), 11 | ui(new Ui::Varmessage) 12 | { 13 | ui->setupUi(this); 14 | setWindowFlags(Qt::FramelessWindowHint); 15 | } 16 | 17 | Varmessage::~Varmessage() 18 | { 19 | delete ui; 20 | } 21 | 22 | void Varmessage::on_pushButton_clicked() 23 | { 24 | hide(); 25 | emit tovar2system(); 26 | } 27 | void Varmessage::writevar() 28 | { 29 | QFile file("/message.txt"); 30 | if(file.open(QIODevice::ReadOnly)) 31 | { 32 | QTextStream stream(&file); 33 | QString line; 34 | QString::fromUtf8(line.toLocal8Bit()); 35 | int n = 0; 36 | while ( !stream.atEnd() ) { 37 | line = stream.readLine(); 38 | n++; 39 | if(n>=50) 40 | break; 41 | ui->textBrowser->setFontPointSize(10); 42 | ui->textBrowser->append(QString::fromUtf8(line.toLocal8Bit())); 43 | } 44 | file.close(); 45 | } 46 | } 47 | 48 | -------------------------------------------------------------------------------- /varmessage.h: -------------------------------------------------------------------------------- 1 | #ifndef VARMESSAGE_H 2 | #define VARMESSAGE_H 3 | 4 | #include 5 | 6 | namespace Ui { 7 | class Varmessage; 8 | } 9 | 10 | class Varmessage : public QWidget 11 | { 12 | Q_OBJECT 13 | 14 | public: 15 | explicit Varmessage(QWidget *parent = 0); 16 | ~Varmessage(); 17 | void writevar(); 18 | signals: 19 | void tovar2system(); 20 | private slots: 21 | void on_pushButton_clicked(); 22 | 23 | private: 24 | Ui::Varmessage *ui; 25 | }; 26 | 27 | #endif // VARMESSAGE_H 28 | -------------------------------------------------------------------------------- /varmessage.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/varmessage.o -------------------------------------------------------------------------------- /version.cpp: -------------------------------------------------------------------------------- 1 | #include "version.h" 2 | #include "ui_version.h" 3 | #include 4 | #include "common.h" 5 | 6 | Version::Version(QWidget *parent) : 7 | QWidget(parent), 8 | ui(new Ui::Version) 9 | { 10 | ui->setupUi(this); 11 | setWindowFlags(Qt::FramelessWindowHint); 12 | connect(&globaltimer,SIGNAL(timeout()),this,SLOT(hide())); 13 | } 14 | 15 | Version::~Version() 16 | { 17 | delete ui; 18 | } 19 | 20 | void Version::on_versionreturnbnz_clicked() 21 | { 22 | hide(); 23 | emit toversion2system(); 24 | } 25 | -------------------------------------------------------------------------------- /version.h: -------------------------------------------------------------------------------- 1 | #ifndef VERSION_H 2 | #define VERSION_H 3 | 4 | #include 5 | 6 | namespace Ui { 7 | class Version; 8 | } 9 | 10 | class Version : public QWidget 11 | { 12 | Q_OBJECT 13 | 14 | public: 15 | explicit Version(QWidget *parent = 0); 16 | ~Version(); 17 | signals: 18 | void toversion2system(); 19 | private slots: 20 | void on_versionreturnbnz_clicked(); 21 | private: 22 | Ui::Version *ui; 23 | }; 24 | 25 | #endif // VERSION_H 26 | -------------------------------------------------------------------------------- /version.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/version.o -------------------------------------------------------------------------------- /wav/NoID.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/wav/NoID.wav -------------------------------------------------------------------------------- /wav/enterpwd.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/wav/enterpwd.wav -------------------------------------------------------------------------------- /wav/far.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/wav/far.wav -------------------------------------------------------------------------------- /wav/near.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/wav/near.wav -------------------------------------------------------------------------------- /wav/nihao.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/wav/nihao.wav -------------------------------------------------------------------------------- /wav/noidx.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/wav/noidx.wav -------------------------------------------------------------------------------- /wav/pwderror.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/wav/pwderror.wav -------------------------------------------------------------------------------- /wav/recoging.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/wav/recoging.wav -------------------------------------------------------------------------------- /wav/reconfail.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/wav/reconfail.wav -------------------------------------------------------------------------------- /wav/reqfinished .wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/wav/reqfinished .wav -------------------------------------------------------------------------------- /wav/reqfinished.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/wav/reqfinished.wav -------------------------------------------------------------------------------- /wav/shibiefail.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/wav/shibiefail.wav -------------------------------------------------------------------------------- /wav/ID.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/wav/ID.wav -------------------------------------------------------------------------------- /wav/没有这个用户名 (2).wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/wav/没有这个用户名 (2).wav -------------------------------------------------------------------------------- /wav/没有这个用户名.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/wav/没有这个用户名.wav -------------------------------------------------------------------------------- /xxx.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/xxx.bmp -------------------------------------------------------------------------------- /xxxx.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/xxxx.jpg -------------------------------------------------------------------------------- /zk.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyysu/facerecognition/ed28c55f29c18ae7005d83c3e87e9d025f695fec/zk.txt --------------------------------------------------------------------------------