Skip to content

Commit

Permalink
object_detect_draw_stage: Remove restriction requiring a low res stream
Browse files Browse the repository at this point in the history
Allow the stage to run even if a low res stream is missing as it never
gets used by the stage.

Signed-off-by: Naushir Patuck <[email protected]>
  • Loading branch information
naushir authored and davidplowman committed Jan 15, 2024
1 parent 2d56ae8 commit 9d81389
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions post_processing_stages/object_detect_draw_cv_stage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ char const *ObjectDetectDrawCvStage::Name() const

void ObjectDetectDrawCvStage::Configure()
{
// Only draw on image if a low res stream was specified.
stream_ = app_->LoresStream() ? app_->GetMainStream() : nullptr;
stream_ = app_->GetMainStream();
}

void ObjectDetectDrawCvStage::Read(boost::property_tree::ptree const &params)
Expand Down

0 comments on commit 9d81389

Please sign in to comment.