Scalable spatio-temporal clustering method for detection of crowd motion patterns. Implementation in Python 2.7