From f412cae5c6c4ba3ef8264358229dd255c756addc Mon Sep 17 00:00:00 2001 From: Brenno Date: Wed, 21 Apr 2021 13:46:10 -0300 Subject: [PATCH] small fix --- src/effects/ObjectDetection.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/effects/ObjectDetection.cpp b/src/effects/ObjectDetection.cpp index de91c7a71..9204a9510 100644 --- a/src/effects/ObjectDetection.cpp +++ b/src/effects/ObjectDetection.cpp @@ -165,9 +165,8 @@ std::shared_ptr ObjectDetection::GetFrame(std::shared_ptr frame, i Clip* childClip = parentTimeline->GetClip(trackedObject->ChildClipId()); if (childClip){ std::shared_ptr f(new Frame(1, frame->GetWidth(), frame->GetHeight(), "#00000000")); - std::shared_ptr childClipFrame = childClip->GetFrame(f, frame_number); // Get the image of the child clip for this frame - std::shared_ptr childClipFrame = childClip->GetFrame(frame_number); + std::shared_ptr childClipFrame = childClip->GetFrame(f, frame_number); childClipImages.push_back(childClipFrame->GetImage()); // Set the Qt rectangle with the bounding-box properties