Commit c93de78f authored by E Sommerlade's avatar E Sommerlade

removed spaces at line endings, fixed warning

parent 41c47a84
...@@ -81,7 +81,7 @@ int main(int , char** ) ...@@ -81,7 +81,7 @@ int main(int , char** )
Mat GrayFrame; Mat GrayFrame;
vector<Rect> Faces; vector<Rect> Faces;
while(true) do
{ {
VideoStream >> ReferenceFrame; VideoStream >> ReferenceFrame;
cvtColor(ReferenceFrame, GrayFrame, COLOR_RGB2GRAY); cvtColor(ReferenceFrame, GrayFrame, COLOR_RGB2GRAY);
...@@ -94,9 +94,7 @@ int main(int , char** ) ...@@ -94,9 +94,7 @@ int main(int , char** )
} }
imshow(WindowName, ReferenceFrame); imshow(WindowName, ReferenceFrame);
} while (waitKey(30) < 0);
if (waitKey(30) >= 0) break;
}
Detector.stop(); Detector.stop();
......
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