Expand description
Rectangle fitting via L-shape search.
Fits a minimum bounding rectangle to a set of 2D points by searching over orientations and selecting the one that best matches according to a chosen criterion (area, closeness, or variance).
Reference: PythonRobotics rectangle_fitting by Atsushi Sakai. Based on “Efficient L-Shape Fitting for Vehicle Detection Using Laser Scanners” (CMU Robotics Institute).
Structs§
- LShape
Fitting - Configuration and entry point for the L-shape rectangle fitting algorithm.
- Rectangle
Data - Four-line representation of a fitted rectangle.
Enums§
- Criteria
- Criterion used to score rectangle orientations.