Intelligent video based human activity analysis