summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/main.cpp
blob: 694715d14871d89f28f0026335b48e11866510e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "facetracknoir.h"
#include <QApplication>
#include <memory>

#ifdef _WIN32
#   include <objbase.h>
#endif

int main(int argc, char** argv)
{
#ifdef _WIN32
    CoInitializeEx(NULL, COINIT_MULTITHREADED);
#endif
    
    QApplication::setAttribute(Qt::AA_X11InitThreads, true);
    QApplication app(argc, argv);
    auto w = std::make_shared<FaceTrackNoIR>();

    w->show();
    app.exec();

    return 0;
}