Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
face-detection
Project
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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Антон Горшенин
face-detection
Commits
43a9a496
Commit
43a9a496
authored
Jul 06, 2017
by
Евгений Снитко
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spot & disable streams sequence fix
parent
7bee119c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
face.cpp
face.cpp
+3
-6
No files found.
face.cpp
View file @
43a9a496
...
...
@@ -286,9 +286,10 @@ int Loop()
}
}
if
(
device
->
is_streaming
())
device
->
stop
();
//std::this_thread::sleep_for(std::chrono::milliseconds(100));
std
::
this_thread
::
sleep_for
(
std
::
chrono
::
milliseconds
(
100
));
for
(
int
j
=
0
;
j
<
4
;
++
j
)
{
...
...
@@ -296,10 +297,6 @@ int Loop()
if
(
device
->
is_stream_enabled
(
s
))
device
->
disable_stream
(
s
);
}
if
(
device
->
is_streaming
())
device
->
stop
();
looping
=
false
;
return
0
;
}
...
...
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