Skip to content
Snippets Groups Projects

Implements #196 stream capturing

Merged Nicolas Pope requested to merge bug/196/snapshotcapture into master
2 files
+ 4
0
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -71,6 +71,8 @@ int main(int argc, char **argv) {
}
if (!frame.empty()) {
double time = (double)(spkt.timestamp - r.getStartTime()) / 1000.0;
cv::putText(frame, std::string("Time: ") + std::to_string(time) + std::string("s"), cv::Point(10,20), cv::FONT_HERSHEY_PLAIN, 1, cv::Scalar(0,0,255));
cv::imshow("Player", frame);
}
int key = cv::waitKey(20);
Loading