Human activity recognition using python