Text this: Robust and Accurate Curvature Estimation Using Adaptive Line Integrals