Text this: Classification of abnormal crowd behavior using image processing and state machines