From 2fa290b4e7855305f0a11604498b96f8a11fd9d7 Mon Sep 17 00:00:00 2001 From: Kevron Rees Date: Sun, 13 Apr 2014 00:55:49 -0700 Subject: [PATCH] added velocity text to framewriter --- plugins/opencvlux/opencvluxplugin.cpp | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/plugins/opencvlux/opencvluxplugin.cpp b/plugins/opencvlux/opencvluxplugin.cpp index 460e908..6e8aaad 100644 --- a/plugins/opencvlux/opencvluxplugin.cpp +++ b/plugins/opencvlux/opencvluxplugin.cpp @@ -414,8 +414,39 @@ bool OpenCvLuxPlugin::init() void OpenCvLuxPlugin::writeVideoFrame(cv::Mat frame) { - //if(speed > 0) + if(speed > 0) { + std::stringstream str; + str<<"Speed: "<mWriter)<