Commit 3244184d authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #2148 from lyron3:3.4

parents cd7276f4 9267b485
......@@ -68,7 +68,10 @@ int main(int argc, char* argv[])
else
videoCapture.open(parser.get<int>("camera"));
if (videoCapture.isOpened())
{
videoCapture >> inputFrame;
}
if(inputFrame.empty())
{
......
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