Line 134... |
Line 134... |
134 |
calibrationWorkerThread->setObjectName("calibrationWorkerThread");
|
134 |
calibrationWorkerThread->setObjectName("calibrationWorkerThread");
|
135 |
calibrationWorker->moveToThread(captureWorkerThread);
|
135 |
calibrationWorker->moveToThread(captureWorkerThread);
|
136 |
calibrationWorkerThread->start();
|
136 |
calibrationWorkerThread->start();
|
137 |
|
137 |
|
138 |
// Connections
|
138 |
// Connections
|
139 |
connect(calibrationWorker, SIGNAL(newSetProcessed(int)), this, SLOT(onSMCalibrationSetProcessed(int)));
|
139 |
connect(calibrationWorker, SIGNAL(newSetProcessed(int)), this, SLOT(onCalibrationSetProcessed(int)));
|
140 |
connect(calibrationWorker, SIGNAL(newFrameResult(int,int,cv::Mat)), this, SLOT(onCalibrationFrameResult(int,int,cv::Mat)));
|
140 |
connect(calibrationWorker, SIGNAL(newFrameResult(int,int,cv::Mat)), this, SLOT(onCalibrationFrameResult(int,int,cv::Mat)));
|
141 |
connect(calibrationWorker, SIGNAL(done()), this, SLOT(onCalibrationDone()));
|
141 |
connect(calibrationWorker, SIGNAL(done()), this, SLOT(onCalibrationDone()));
|
142 |
connect(calibrationWorker, SIGNAL(done()), calibrationWorkerThread, SLOT(quit()));
|
142 |
connect(calibrationWorker, SIGNAL(done()), calibrationWorkerThread, SLOT(quit()));
|
143 |
connect(calibrationWorker, SIGNAL(done()), calibrationWorker, SLOT(deleteLater()));
|
143 |
connect(calibrationWorker, SIGNAL(done()), calibrationWorker, SLOT(deleteLater()));
|
144 |
|
144 |
|