An Efficient Feature-based Method for People Counting