Text this: Curve analysis for real-time crowd estimation system