Skip to content

Commit 72fb962

Browse files
authored
Merge pull request #762 from thomasjacquin/getTickCount
capture.cpp: getTickCount
2 parents 8639ae1 + e63a231 commit 72fb962

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/capture.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ void *SaveImgThd(void *para)
295295
// so set "cmd" before imwrite().
296296
// The temperature must be a 2-digit number with an optional "-" sign.
297297
sprintf(cmd, "%s %s '%s' '%2.0f' %ld &", s, dayOrNight.c_str(), fileName, (float) actualTemp/10, current_exposure_us);
298-
st = cvGetTickCount();
298+
st = cv::getTickCount();
299299
try
300300
{
301301
result = imwrite(fileName, pRgb, compression_parameters);
@@ -304,7 +304,7 @@ void *SaveImgThd(void *para)
304304
{
305305
printf("*** ERROR: Exception saving image: %s\n", ex.what());
306306
}
307-
et = cvGetTickCount();
307+
et = cv::getTickCount();
308308

309309
if (result)
310310
system(cmd);

0 commit comments

Comments
 (0)