Fixed sleep_ms to use ms rather than microseconds

This commit is contained in:
Matt Hill
2014-08-28 07:29:46 -04:00
parent 583e85c036
commit 34e00793eb
2 changed files with 6 additions and 6 deletions

View File

@@ -155,7 +155,7 @@ int main( int argc, const char** argv )
while (cap.read(frame))
{
detectandshow(&alpr, frame, "", outputJson);
sleep_ms(1000);
sleep_ms(10);
framenum++;
}
}
@@ -180,7 +180,7 @@ int main( int argc, const char** argv )
}
// Sleep 10ms
sleep_ms(10000);
sleep_ms(10);
}
videoBuffer.disconnect();
@@ -208,7 +208,7 @@ int main( int argc, const char** argv )
detectandshow( &alpr, frame, "", outputJson);
//create a 1ms delay
sleep_ms(1000);
sleep_ms(1);
framenum++;
}
}