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/global_calibration.cc b/y2019/vision/global_calibration.cc
index c9646fc..6d4a21e 100644
--- a/y2019/vision/global_calibration.cc
+++ b/y2019/vision/global_calibration.cc
@@ -173,7 +173,7 @@
// Calculate each component side of a possible target.
const ::std::vector<TargetComponent> target_component_list =
- target_finder.FillTargetComponentList(raw_polys);
+ target_finder.FillTargetComponentList(raw_polys, verbose);
// Put the compenents together into targets.
const ::std::vector<Target> target_list =