Skip to content

Commit

Permalink
strand-cam: show image processing duration
Browse files Browse the repository at this point in the history
  • Loading branch information
astraw committed Jan 4, 2021
1 parent 7ae8fe7 commit b38e1e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions strand-cam/src/strand-cam.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1269,7 +1269,7 @@ fn frame_process_thread(
}

if let Some(corners) = corners {
info!("Found {} chessboard corners.", corners.len());
info!("Found {} chessboard corners in {} msec.", corners.len(), work_duration.as_millis());
results = corners.iter().map(|(x,y)| {
video_streaming::Point {
x: *x,
Expand All @@ -1293,7 +1293,7 @@ fn frame_process_thread(
});
}
} else {
info!("Found no chessboard corners.");
info!("Found no chessboard corners in {} msec.", work_duration.as_millis());
}
}
}
Expand Down

0 comments on commit b38e1e8

Please sign in to comment.