From a972995308f0e50f300a9254bbabf4b4cb4ec3f8 Mon Sep 17 00:00:00 2001 From: Jonathan Thomas Date: Thu, 8 Apr 2021 22:36:28 -0500 Subject: [PATCH] Removing some debug logging related to opencv effects --- src/CVObjectDetection.cpp | 4 ---- src/CVStabilization.cpp | 5 ----- src/CVTracker.cpp | 5 ----- src/effects/Stabilizer.cpp | 5 ----- src/effects/Tracker.cpp | 5 ----- 5 files changed, 24 deletions(-) diff --git a/src/CVObjectDetection.cpp b/src/CVObjectDetection.cpp index c391197a..29a36631 100644 --- a/src/CVObjectDetection.cpp +++ b/src/CVObjectDetection.cpp @@ -477,10 +477,6 @@ bool CVObjectDetection::_LoadObjDetectdData(){ detectionsData[id] = CVDetectionData(classIds, confidences, boxes, id); } - // Show the time stamp from the last update in object detector data file - if (objMessage.has_last_updated()) - cout << " Loaded Data. Saved Time Stamp: " << TimeUtil::ToString(objMessage.last_updated()) << endl; - // Delete all global objects allocated by libprotobuf. google::protobuf::ShutdownProtobufLibrary(); diff --git a/src/CVStabilization.cpp b/src/CVStabilization.cpp index 12b124c9..3076ada8 100644 --- a/src/CVStabilization.cpp +++ b/src/CVStabilization.cpp @@ -417,11 +417,6 @@ bool CVStabilization::_LoadStabilizedData(){ transformationData[id] = TransformParam(dx,dy,da); } - // Show the time stamp from the last update in stabilization data file - if (stabilizationMessage.has_last_updated()) { - cout << " Loaded Data. Saved Time Stamp: " << TimeUtil::ToString(stabilizationMessage.last_updated()) << endl; - } - // Delete all global objects allocated by libprotobuf. google::protobuf::ShutdownProtobufLibrary(); diff --git a/src/CVTracker.cpp b/src/CVTracker.cpp index f8644859..f036ba7a 100644 --- a/src/CVTracker.cpp +++ b/src/CVTracker.cpp @@ -348,11 +348,6 @@ bool CVTracker::_LoadTrackedData(){ trackedDataById[id] = FrameData(id, rotation, x1, y1, x2, y2); } - // Show the time stamp from the last update in tracker data file - if (trackerMessage.has_last_updated()) { - cout << " Loaded Data. Saved Time Stamp: " << TimeUtil::ToString(trackerMessage.last_updated()) << endl; - } - // Delete all global objects allocated by libprotobuf. google::protobuf::ShutdownProtobufLibrary(); diff --git a/src/effects/Stabilizer.cpp b/src/effects/Stabilizer.cpp index baf531dc..69634571 100644 --- a/src/effects/Stabilizer.cpp +++ b/src/effects/Stabilizer.cpp @@ -156,11 +156,6 @@ bool Stabilizer::LoadStabilizedData(std::string inputFilePath){ transformationData[id] = EffectTransformParam(dx,dy,da); } - // Show the time stamp from the last update in stabilization data file - if (stabilizationMessage.has_last_updated()) { - cout << " Loaded Data. Saved Time Stamp: " << TimeUtil::ToString(stabilizationMessage.last_updated()) << endl; - } - // Delete all global objects allocated by libprotobuf. google::protobuf::ShutdownProtobufLibrary(); diff --git a/src/effects/Tracker.cpp b/src/effects/Tracker.cpp index 338d5d8f..b0d73e5b 100644 --- a/src/effects/Tracker.cpp +++ b/src/effects/Tracker.cpp @@ -138,11 +138,6 @@ bool Tracker::LoadTrackedData(std::string inputFilePath){ trackedDataById[id] = EffectFrameData(id, rotation, x1, y1, x2, y2); } - // Show the time stamp from the last update in tracker data file - if (trackerMessage.has_last_updated()) { - cout << " Loaded Data. Saved Time Stamp: " << TimeUtil::ToString(trackerMessage.last_updated()) << endl; - } - // Delete all global objects allocated by libprotobuf. google::protobuf::ShutdownProtobufLibrary();