Attach the perimeter to the polygons.

Change-Id: Ic278b68e2e0481d88869946a08588651e884a882
diff --git a/y2019/vision/target_sender.cc b/y2019/vision/target_sender.cc
index f67cea1..6dcf6c0 100644
--- a/y2019/vision/target_sender.cc
+++ b/y2019/vision/target_sender.cc
@@ -308,15 +308,15 @@
     LOG(INFO, "Blobs: (%zu).\n", imgs.size());
 
     constexpr bool verbose = false;
-    ::std::vector<std::vector<Segment<2>>> raw_polys;
+    ::std::vector<Polygon> raw_polys;
     for (const RangeImage &blob : imgs) {
       // Convert blobs to contours in the corrected space.
       ContourNode* contour = finder_.GetContour(blob);
-      const ::std::vector<::Eigen::Vector2f> unwarped_contour =
+      ::std::vector<::Eigen::Vector2f> unwarped_contour =
           finder_.UnWarpContour(contour);
-      ::std::vector<Segment<2>> polygon =
-          finder_.FillPolygon(unwarped_contour, verbose);
-      if (!polygon.empty()) {
+      const Polygon polygon =
+          finder_.FindPolygon(::std::move(unwarped_contour), verbose);
+      if (!polygon.segments.empty()) {
         raw_polys.push_back(polygon);
       }
     }