Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gamera_videos_no_ui
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liusq
gamera_videos_no_ui
Commits
50f755c4
Commit
50f755c4
authored
Feb 17, 2025
by
“liusq”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
过滤特殊的sn02
parent
debe9bfc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
CameraHandle.cpp
+1
-1
mainwindow.cpp
+2
-2
No files found.
CameraHandle.cpp
View file @
50f755c4
...
...
@@ -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
);
}
...
...
mainwindow.cpp
View file @
50f755c4
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment