Skip to content

Commit

Permalink
Fix rssi min/max for entire window.
Browse files Browse the repository at this point in the history
  • Loading branch information
anarkiwi committed Nov 30, 2023
1 parent adfb7bf commit 559bc88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/image_inference_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,8 @@ void image_inference_impl::process_items_(size_t c, const input_type *&in) {
double points_min, points_max;
cv::minMaxLoc(new_rows, &points_min, &points_max);
if (points_buffer_->empty()) {
points_min_ = points_min_;
points_max_ = points_max_;
points_min_ = points_min;
points_max_ = points_max;
} else {
points_min_ = std::min(points_min_, points_min);
points_max_ = std::max(points_max_, points_max);
Expand Down

0 comments on commit 559bc88

Please sign in to comment.