Text this: Abnormal-Trajectory Detection Method Based on Variable Grid Partitioning