Improved examples

This commit is contained in:
gineshidalgo99
2017-05-31 12:51:57 -04:00
parent a3b86c6109
commit 550be9a7d6
5 changed files with 5 additions and 5 deletions
@@ -146,7 +146,7 @@ public:
if (datumsPtr != nullptr && !datumsPtr->empty())
{
cv::imshow("User worker GUI", datumsPtr->at(0).cvOutputData);
cv::waitKey(500); // It sleeps 500 ms just to let the user see the output. Change to 33ms for normal 30 fps display
cv::waitKey(1); // It displays the image and sleeps at least 1 ms (it usually sleeps ~5-10 msec to display the image)
}
}
catch (const std::exception& e)
@@ -158,7 +158,7 @@ public:
if (datumsPtr != nullptr && !datumsPtr->empty())
{
cv::imshow("User worker GUI", datumsPtr->at(0).cvOutputData);
cv::waitKey(500); // It sleeps 500 ms just to let the user see the output. Change to 33ms for normal 30 fps display
cv::waitKey(1); // It displays the image and sleeps at least 1 ms (it usually sleeps ~5-10 msec to display the image)
}
}
catch (const std::exception& e)