double start fix

parent 28541ebd
...@@ -71,8 +71,11 @@ void FaceDetector::Start( ...@@ -71,8 +71,11 @@ void FaceDetector::Start(
faceCheckCallback = &checkCallback; faceCheckCallback = &checkCallback;
faceFrameReadyCallback = &faceCallback; faceFrameReadyCallback = &faceCallback;
if(!started)
{
started = true; started = true;
Loop(); Loop();
}
} }
/// ///
......
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