#include <opencv2/core.hpp>
#include <opencv2/videoio.hpp>
#include <opencv2/imgproc.hpp>
#include <iostream>
#include <stdio.h>
#include <queue>
#include "Camera.h"
#include "CNNProcessor.h"
#include "stdlib.h"
#include "Gui.h"
#include "PreProcessor.h"
#include "SignapseUtils.h"
#include "LinkSplitter.h"
Go to the source code of this file.
|
int | main (int argc, char *argv[]) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 20 of file main.cpp.
20 {
21 SignapseUtils::welcomeMessage();
22
23
24 QApplication app(argc, argv);
25 QMainWindow window;
26 Ui_MainWindow ui;
27
28
30 Camera camera(cameraSettings);
36 Gui gui(&window, &ui);
37
38
39 camera.RegisterCallback(&preProcessor);
40 preProcessor.RegisterCallback(&linkSplitter);
43 cnn.RegisterCallback(&gui);
44
45
46 cnn.Start();
47 camera.Start();
48
49
50 gui.SetVisible(true);
51 app.exec();
52
53
54 camera.Stop();
55 cnn.Stop();
56
57
58 return 0;
59}
void RegisterSecondaryCallback(SceneCallback *scb)
void RegisterCallback(SceneCallback *scb)