removed spaces at line endings, fixed warning

pull/7552/head
E Sommerlade 9 years ago
parent 41c47a84fc
commit c93de78ff6
  1. 6
      samples/cpp/dbt_face_detection.cpp

@ -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** )
} }
imshow(WindowName, ReferenceFrame); imshow(WindowName, ReferenceFrame);
} while (waitKey(30) < 0);
if (waitKey(30) >= 0) break;
}
Detector.stop(); Detector.stop();

Loading…
Cancel
Save