F1 score
A high F1 in segmentation means the model is finding most real crosswalk pixels and rarely mistaking other paint for them.
U-Net · Semantic segmentation
We use U-Net to find crosswalk paint in aerial imagery, covering every pixel and every block. Here's how it works, why its "U" shape is unusually well-suited to the job, and where it gets fooled.
Plain-language definition
U-Net is a semantic segmentation model. Where YOLO draws boxes, U-Net classifies every pixel. Show it an aerial tile and it returns a mask of the same size, with each pixel labeled "crosswalk" or "not crosswalk."
That distinction matters for planners. A bounding box gives you a rough location. A pixel mask gives you a shape you can measure (area, length, width, orientation) and convert into a polygon you can drop straight into ArcGIS or QGIS.
If YOLO is a quick spotter, U-Net is a careful colorist. It doesn't say "there's a crosswalk over there." It says "these exact 4,832 pixels are the crosswalk."
Why "U-Net"?
The left side compresses the image into "what's in it." The right side expands it back out into "where it is." Skip connections (the dashed arrows) carry fine detail across the U so the output stays sharp.
The encoder loses spatial detail in exchange for understanding. The decoder gets it back. Skip connections let the model reconstruct sharp boundaries, exactly what crosswalk edges need.
From tile to polygon
Aerial tile → pixel mask → polygons. The polygons are what actually ships in the GeoJSON layer.
In our pipeline
Results
A high F1 in segmentation means the model is finding most real crosswalk pixels and rarely mistaking other paint for them.
Recall slightly outpaces precision: the model errs toward finding everything painted, then we filter.
Each polygon is a planning-grade feature: usable for joining, measuring, and prioritizing.
Honest limits
Practical takeaway: the segmentation layer is excellent for "where are the painted crossings as of this imagery." It is not a substitute for an inventory tied to a permit system. Use it for screening; verify the rest with field walks.
Keep going
Companion model · Detection
U-Net handles paint; YOLO handles signs and lights. Same project, different question: boxes instead of pixels.
Read YOLO 101 →Try it
Pick a neighborhood and watch crosswalk polygons appear. Click through to verify them against Google Street View.
Open the app →