Skip to content

Commit

Permalink
* delete unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
lxowalle committed Jul 29, 2024
1 parent c0b35d4 commit 5f11f2b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions projects/app_find_blobs/main/app/app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ int app_loop(maix::image::Image *img)
int area_threshold = 500;
int pixels_threshold = 500;
std::vector<int> roi = {1, 1, img->width()- 1, img->height() - 1};
maix::image::Image *resize_img = img->resize(320, 240);
blobs = img->find_blobs(priv.thresholds, invert, roi, x_stride, y_stride, area_threshold, pixels_threshold);
for (auto &a : blobs) {
std::vector<std::vector<int>> mini_corners = a.mini_corners();
Expand All @@ -184,7 +183,6 @@ int app_loop(maix::image::Image *img)
maix::Bytes bytes(data, sizeof(data));
priv.ptl->report(APP_CMD_REPORT_FIND_BLOBS, &bytes);
}
delete(resize_img);
}

return 0;
Expand Down

0 comments on commit 5f11f2b

Please sign in to comment.