Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BrennoCaldato committed Apr 21, 2021
1 parent 4d9d6ec commit f412cae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/effects/ObjectDetection.cpp
Expand Up @@ -165,9 +165,8 @@ std::shared_ptr<Frame> ObjectDetection::GetFrame(std::shared_ptr<Frame> frame, i
Clip* childClip = parentTimeline->GetClip(trackedObject->ChildClipId());
if (childClip){
std::shared_ptr<Frame> f(new Frame(1, frame->GetWidth(), frame->GetHeight(), "#00000000"));
std::shared_ptr<Frame> childClipFrame = childClip->GetFrame(f, frame_number);
// Get the image of the child clip for this frame
std::shared_ptr<Frame> childClipFrame = childClip->GetFrame(frame_number);
std::shared_ptr<Frame> childClipFrame = childClip->GetFrame(f, frame_number);
childClipImages.push_back(childClipFrame->GetImage());

// Set the Qt rectangle with the bounding-box properties
Expand Down

0 comments on commit f412cae

Please sign in to comment.