cotton_double/globals.cpp

21 lines
412 B
C++

// globals.cpp
#include "globals.h"
// 图片显示
QMutex gDispPicMutex0;
MIL_ID gDispCurrentPicId0 = 0;
QMutex gDispPicMutex1;
MIL_ID gDispCurrentPicId1 = 0;
// 检测结果
QMutex gMaskMutex0;
MIL_ID gMask0 = 0;
QMutex gMaskMutex1;
MIL_ID gMask1 = 0;
// 双相机结果同步
QMutex imgDetectionReady0Mutex;
QMutex imgDetectionReady1Mutex;
bool imgDetectionReady0 = false;
bool imgDetectionReady1 = false;