Commit 50f755c4 by “liusq”

过滤特殊的sn02

parent debe9bfc
......@@ -477,7 +477,7 @@ void CameraHandle::sdkDevSnapSyn(XSDK_HANDLE hDevice, int nChannel){
cv::Mat image;
MediaFaceImage* mediaFaceImage= MediaFaceImage::getInstance();
qint64 currentTime= QDateTime::currentSecsSinceEpoch();
int ret =-1;
int ret =0;
if(sSn!="9189806d008ac359"){
ret=mediaFaceImage->FaceImageCallBack(hDevice,nChannel, image,sSn);
}
......
......@@ -179,9 +179,9 @@ bool MainWindow::getDeviceStatus(int UserId) {
if(UserId<0)return false;
bool devStatus =NET_DVR_RemoteControl(UserId, NET_DVR_CHECK_USER_STATUS, nullptr, 0);
if (devStatus) {
qInfo() << "设备在线";
qInfo() << "NET_DVR_RemoteControl 设备在线";
} else {
qInfo() << "设备不在线";
qInfo() << "NET_DVR_RemoteControl 设备不在线";
}
return devStatus;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment