Add a foothill finder
We were having some corners which were really close to primary corners
but also kinda high. The fix for those is to ignore any peaks which
don't become small enough before running into previously counted peaks.
We call these peaks foothills.
Change-Id: I58243cd22d0ec9d224c48623551705ad5f3d1168
diff --git a/y2019/vision/target_finder.h b/y2019/vision/target_finder.h
index fcde358..83a1ebd 100644
--- a/y2019/vision/target_finder.h
+++ b/y2019/vision/target_finder.h
@@ -39,7 +39,8 @@
// Turn a bloblist into components of a target.
std::vector<TargetComponent> FillTargetComponentList(
- const std::vector<std::vector<aos::vision::Segment<2>>> &seg_list);
+ const std::vector<std::vector<aos::vision::Segment<2>>> &seg_list,
+ bool verbose);
// Piece the compenents together into a target.
std::vector<Target> FindTargetsFromComponents(