People counting system have wide potential application including video surveillance and public resources management. Also with rapid development of economic society, crowd flowing in varies public places and facility is more and more frequent. Effectively managing and controlling crowd in public places become an important issue. People counting system based on this kind of demand arises, which can be used in commercial domain such as market survey, traffic management as well as architectural design domain. For example suppose there is a crowd gathering at specific place then it indicates an unusual situation and second one if counting of people is done in shopping mall then it provides valuable information for optimizing trading hours, as well as evaluating the attractiveness of some shopping areas.