PEOPLE IN SEATS COUNTING VIA SEAT DETECTION FOR MEETING SURVEILLANCE

Similar documents
Object detection using non-redundant local Binary Patterns

Human detection using local shape and nonredundant

Reliable Human Detection and Tracking in Top-View Depth Images

MULTI ORIENTATION PERFORMANCE OF FEATURE EXTRACTION FOR HUMAN HEAD RECOGNITION

Mobile Human Detection Systems based on Sliding Windows Approach-A Review

The Population Density of Early Warning System Based On Video Image

Histograms of Oriented Gradients

Category vs. instance recognition

Definition, Detection, and Evaluation of Meeting Events in Airport Surveillance Videos

Classification of objects from Video Data (Group 30)


Extracting Spatio-temporal Local Features Considering Consecutiveness of Motions

Deformable Part Models

Real-Time Human Detection using Relational Depth Similarity Features

Human Motion Detection and Tracking for Video Surveillance

FAST HUMAN DETECTION USING TEMPLATE MATCHING FOR GRADIENT IMAGES AND ASC DESCRIPTORS BASED ON SUBTRACTION STEREO

Automatic Shadow Removal by Illuminance in HSV Color Space

Graph Matching Iris Image Blocks with Local Binary Pattern

HOG-based Pedestriant Detector Training

Object Tracking Algorithm based on Combination of Edge and Color Information

Multiple-Person Tracking by Detection

Visual Detection and Species Classification of Orchid Flowers

Tri-modal Human Body Segmentation

Traffic Signs Recognition using HP and HOG Descriptors Combined to MLP and SVM Classifiers

Pedestrian Detection and Tracking in Images and Videos

Object Category Detection. Slides mostly from Derek Hoiem

PEDESTRIAN DETECTION IN CROWDED SCENES VIA SCALE AND OCCLUSION ANALYSIS

A New Strategy of Pedestrian Detection Based on Pseudo- Wavelet Transform and SVM

Category-level localization

Real-time TV Logo Detection based on Color and HOG Features

Human detection using histogram of oriented gradients. Srikumar Ramalingam School of Computing University of Utah

Object Category Detection: Sliding Windows

Efficient Acquisition of Human Existence Priors from Motion Trajectories

Research on Recognition and Classification of Moving Objects in Mixed Traffic Based on Video Detection

Object Detection Design challenges

CROWD DENSITY ANALYSIS USING SUBSPACE LEARNING ON LOCAL BINARY PATTERN. Hajer Fradi, Xuran Zhao, Jean-Luc Dugelay

HISTOGRAMS OF ORIENTATIO N GRADIENTS

An Adaptive Threshold LBP Algorithm for Face Recognition

DYNAMIC BACKGROUND SUBTRACTION BASED ON SPATIAL EXTENDED CENTER-SYMMETRIC LOCAL BINARY PATTERN. Gengjian Xue, Jun Sun, Li Song

A novel template matching method for human detection

Crowd Event Recognition Using HOG Tracker

Evaluation of Hardware Oriented MRCoHOG using Logic Simulation

Human Detection and Tracking for Video Surveillance: A Cognitive Science Approach

Non-rigid body Object Tracking using Fuzzy Neural System based on Multiple ROIs and Adaptive Motion Frame Method

Video annotation based on adaptive annular spatial partition scheme

Fast Human Detection Algorithm Based on Subtraction Stereo for Generic Environment

Bus Detection and recognition for visually impaired people

A Fast Caption Detection Method for Low Quality Video Images

REAL TIME TRACKING OF MOVING PEDESTRIAN IN SURVEILLANCE VIDEO

Large-Scale Traffic Sign Recognition based on Local Features and Color Segmentation

HUMAN POSTURE DETECTION WITH THE HELP OF LINEAR SVM AND HOG FEATURE ON GPU

Pedestrian Detection with Occlusion Handling

DPM Score Regressor for Detecting Occluded Humans from Depth Images

Recent Researches in Automatic Control, Systems Science and Communications

Feature descriptors. Alain Pagani Prof. Didier Stricker. Computer Vision: Object and People Tracking

Practical Camera Auto-Calibration Based on Object Appearance and Motion for Traffic Scene Visual Surveillance

Find that! Visual Object Detection Primer

A Feature Point Matching Based Approach for Video Objects Segmentation

Multi-Object Tracking Based on Tracking-Learning-Detection Framework

Visuelle Perzeption für Mensch- Maschine Schnittstellen

Object Classification for Video Surveillance

Human detection based on Sliding Window Approach

Effective Classifiers for Detecting Objects

An Object Detection System using Image Reconstruction with PCA

Part-based Face Recognition Using Near Infrared Images

Robust Human Tracking using Statistical Human Shape Model with Postural Variation

Human detection solution for a retail store environment

A Novel Multi-Planar Homography Constraint Algorithm for Robust Multi-People Location with Severe Occlusion

HYBRID CENTER-SYMMETRIC LOCAL PATTERN FOR DYNAMIC BACKGROUND SUBTRACTION. Gengjian Xue, Li Song, Jun Sun, Meng Wu

Histograms of Oriented Gradients for Human Detection p. 1/1

Previously. Part-based and local feature models for generic object recognition. Bag-of-words model 4/20/2011

Part-based Face Recognition Using Near Infrared Images

Relational HOG Feature with Wild-Card for Object Detection

Fast and Stable Human Detection Using Multiple Classifiers Based on Subtraction Stereo with HOG Features

An Object Detection Algorithm based on Deformable Part Models with Bing Features Chunwei Li1, a and Youjun Bu1, b

Part-based and local feature models for generic object recognition

A ROBUST DISCRIMINANT CLASSIFIER TO MAKE MATERIAL CLASSIFICATION MORE EFFICIENT

Summarization of Egocentric Moving Videos for Generating Walking Route Guidance

Classification and Detection in Images. D.A. Forsyth

Pedestrian counting in video sequences using optical flow clustering

Templates and Background Subtraction. Prof. D. Stricker Doz. G. Bleser

[2008] IEEE. Reprinted, with permission, from [Yan Chen, Qiang Wu, Xiangjian He, Wenjing Jia,Tom Hintz, A Modified Mahalanobis Distance for Human

An efficient face recognition algorithm based on multi-kernel regularization learning

Pairwise Threshold for Gaussian Mixture Classification and its Application on Human Tracking Enhancement

Research on Evaluation Method of Video Stabilization

Detection and Handling of Occlusion in an Object Detection System

Pedestrian Detection with Improved LBP and Hog Algorithm

Detection III: Analyzing and Debugging Detection Methods

C. Premsai 1, Prof. A. Kavya 2 School of Computer Science, School of Computer Science Engineering, Engineering VIT Chennai, VIT Chennai

Beyond Bags of Features

Recap Image Classification with Bags of Local Features

SUMMARY: DISTINCTIVE IMAGE FEATURES FROM SCALE- INVARIANT KEYPOINTS

Object Detection with Partial Occlusion Based on a Deformable Parts-Based Model

Colorado School of Mines. Computer Vision. Professor William Hoff Dept of Electrical Engineering &Computer Science.

Human-Robot Interaction

Discriminative classifiers for image recognition

Object Detection by 3D Aspectlets and Occlusion Reasoning

Detecting Printed and Handwritten Partial Copies of Line Drawings Embedded in Complex Backgrounds

Spatio-Temporal LBP based Moving Object Segmentation in Compressed Domain

An Approach for Real Time Moving Object Extraction based on Edge Region Determination

Transcription:

PEOPLE IN SEATS COUNTING VIA SEAT DETECTION FOR MEETING SURVEILLANCE Hongyu Liang, Jinchen Wu, and Kaiqi Huang National Laboratory of Pattern Recognition, Institute of Automation, Chinese Academy of Science {hyliang,jcwu,kqhuang}@nlpr.ia.ac.cn Abstract. People in seats counting is very important for meeting surveillance. While as a canonical pattern recognition problem, it s very difficult due to various appearances of people and other outliers such as bags and clothes. To solve this problem we propose a coarse-to-fine framework. Firstly, we use the coarse classification module to retrieve the completely empty seats. To overcome the influence of noises caused by shadows and light spots, we fuse multiple global features calculated by background subtraction. Then in the fine classification module, a proposed SW-HOG feature and the LBP feature are combined together to solve the problem of occlusion and make sure the classification is real time. Finally a time-related calibration module is applied to suppress some outliers across frames with condition that the video frames are not successive. Experiments on a real meeting dataset demonstrate that the accuracy of the proposed method reaches 99.88%. Keywords: people in seats counting, meeting surveillance, coarse-tofine classification 1 Introduction With more attention being paid to the security problem and intelligent commercial service in crowded places, such as airport, stadiums, squares and so on, the demand for people counting is increasing. Main challenges in people counting come from occlusions and background clutters. In the past years, many people counting methods have been proposed. These methods can be divided into 2D-based methods and 3D-based methods. 3D-based methods [1], [2] employ multiple cameras or stereo cameras to capture images, then implement 3D reconstruction to calculate the spatial location of each person. 3D-based methods are especially suitable for people counting at entrances of elevators and shopping malls. However, 3D reconstruction and people modeling are complicated and time-consuming for real time applications. Therefore we focus on 2D-based methods in this paper. Existing 2D-based people counting methods can be divided into four categories. 1) Mapping-based methods. Mapping-based methods [3, 4] achieve people

2 Hongyu Liang, Jinchen Wu, and Kaiqi Huang counting by establishing relationships between image features and the number of people. These methods ignore the integrity and independence of each person. Therefore, they are usually used for crowd density estimation. 2) Segmentationbased methods. Segmentation-based methods [5, 6] employ specific models to segment the foreground into individuals. The accuracy of these methods mainly depends on accurate segmentation, thus they will fail if there are background clutters. 3) Clustering-based methods. Clustering-based methods [7, 8] employ motion information instead of appearance models to avoid influence of occlusions. They suppose that the trajectories of feature points extracted from the same person are consistent. These methods are suitable for pedestrians counting. 4) Detection-based methods. In recent years, part based model [9, 10] is popular in solving the occlusion problem. However, to train a model for every part of person is time-consuming and difficult for real applications. In [11], a head-shoulder detector is proposed. Because this method only uses one part of a person, it s sensitive to the change of people s postures. In this paper, we only focus on people counting in meeting hall, where all the seats are fixed. For engineering applications, in a meeting hall which can hold thousands of people, PTZ cameras would be installed to scan the hall. This makes it hard to acquire accurate foreground or capture motion information. Therefore, we employ the detection-based people counting method. In this situation, the task has many specific characteristics: 1) various appearances of people. People seated only show the up bodies and are in various postures. The great appearance variation is the main challenge of people detection. 2) Occlusions. Although all the empty seats are of uniform appearance, some seats are occluded by people nearby, and some seats are occupied with bags or clothes. Occlusion makes the main challenge of empty seat detection. 3) Serious noises. Shadows of people and light spots due to reflection result in serious noises to the texture of seats. Based on above characteristics, this paper presents a people counting system for meeting hall. The system can give the state of each seat and the number of people during the meeting. People counting is achieved by detecting empty seats in a coarse-to-fine way. The rest of this paper is organized as follows. Sec. 2 describes the framework of the people counting system and every module in detail. Sec. 3 introduces the database we constructed. Sec. 4 presents experimental results and discussions. We conclude our work and give the future work in Sec. 5. 2 System Overview As shown in Fig. 1, seats can be divided into three classes according to different appearances: 1) completely empty ones are those without anything on, 2) occluded empty ones are occluded by people, or occupied with bags or clothes, 3) non-empty ones are seated with people. We propose a coarse-to-fine empty seat detection method for people counting in meeting hall. As shown in Fig. 2, the proposed method mainly contains four parts. 1) Preprocessing module partitions a fixed block for every seat. 2) Coarse

Title Suppressed Due to Excessive Length 3 Fig. 1. Samples of the 3 classes of seats. The top ones are completely empty seats, the middle ones are occluded empty seats, and the bottom ones are non-empty seats. Background Background subtraction subtraction Global lobal features features Seat Seat blocks blocks Coarse Coarse classification classification Fine classification Texture Texture analysis analysis N Completely Completelyy C empty? empty? Y Occluded ccluded empty empty seats seats Non-empty Non-empty seats seats Completely Completely empty empty seats seats Rough classification classification module aims at retrieving all the completely empty seats. 3) Fine classification module is used to detect the rest occluded empty seats. 4) Finally, a calibration module is applied to correct outliers across frames. Results Results calibration calibration of of multiple multiple frames frames The The number number of of people people and and the the state state of of each each seat seat Fig. 2. The framework of the proposed people counting system. 2.1 Preprocessing module In this paper, we only focus on the meeting hall where seats are fixed. Supposing that the state of a seat is independent of its neighbors states, we partition a fixed block for every seat by the minimum enclosing rectangle to avoid noises from neighbor seats. In detection phase, we slide the image block by block and only focus on whether each seat block is empty or not. 2.2 Coarse classification Coarse classification is used to detect the completely empty seats. A coarse classifier is trained based on multiple global features. The process is as follows. Firstly a background model is constructed. A video of background is prepared before the classification. In the video all the seats should be completely

4 Hongyu Liang, Jinchen Wu, and Kaiqi Huang empty, and the illumination should be the same as that in meeting. We get the background model by calculating the mean of the video frames. Then multiple global features calculated by background subtraction is fused. To be robust to illumination change, we employ background subtraction of gradient map and in HSV color space. The fusion method is described as follows: score i = w 1 s i grad + w 2 s i hsv + w 3 s i grad s + w 4 s i hsv s (1) where score i denotes the fusion score of the ith seat. s i grad, si hsv represent scores calculated by background subtraction of gradient map and in HSV color space, while w 1, w 2 represent their weights respectively. s grad s, s hsv s represent scores of background subtraction in a ROI of the seat block, while w 3, w 4 represent their weights respectively. The items of background subtraction in ROIs relax the restriction of the region, thus make detection results robust to tiny occlusions of people nearby. The ROI region can be chosen according to the possible occluded area. Here we set the center of the ROI the same as the seat block, and the size of the ROI 4/5 of the seat block. Finally, a coarse classifier is trained. Each seat can be described as (s i grad, s i hsv, s grad s, s hsv s, y i ), where y i is the label of the ith seat block. y i = 1 denotes the seat is empty, and y i = 1 denotes the seat is non-empty. Our goal is to construct a hyperplane to classify empty seats and non-empty seats while making sure false positive rate is zero. The classification problem can be solved by SVM model. 2.3 Fine classification After the coarse classification, all the completely empty seats should have been detected. We apply a fine classification module to detect the rest occluded empty seats. The basic idea is that occluded empty seats and non-empty seats differ in the degree and the position of occlusions. Occlusions often occur on the edge of seats, while people seated almost occupy the entire region of seats. The HOG feature introduced by Dalal [12] is powerful in the description of edge information, but it is time-consuming. Motivated by HOG feature and part based model [4], we propose a simplified weighted HOG feature (SW-HOG). By reducing the number of blocks to be processed, we speed up the feature extraction. The process of SW-HOG feature extraction is shown in Fig. 3. Firstly, for each seat block, the gradient map is calculated and divided into N*N equally sized cells. The gradient orientation is divided into 9 bins. Each pixel in the cell casts weighted votes for its neighbor bins by bilinear interpolation. For each cell a 1D histogram f i is formed. The cell feature reflects the edge information of the local region of a seat. Then for each cell a weight is studied, because the cells have different effects on distinguishing empty and non-empty seats due to different positions. We use SVM model to construct a classifier for each cell. The weights can be studied according to the classification ability of the models.

Seat block Gradient map N*N cells Title Suppressed Due to Excessive Length 5 Histogram of each cell Give each cell a weight Concatenate cell features Feature of seat Fig. 3. The process of extracting SW-HOG feature. Finally the simplified weighted HOG feature can be formed by concatenating all the weighted cell features, F SW HOG = {w 1 f 1, w 2 f 2,..., w N 2f N 2}. For people counting in meeting, changes of illumination and shadows of people may result in noises on seats contours. Therefore, we combine the LBP feature [13] with the SW-HOG feature to describe the texture of seats. Then the ultimate feature of a seat would be F = {F SW HOG, αf LBP }, where F LBP is to suppress noises, and α is to adjust the weights of the two features. We use linear SVM model as our classifier. 2.4 Result Calibration After fine classification, each seat is given a label to represent the state. However, the state of a seat may be subject to external disturbance. For example, someone passes by an empty seat, or a person leans across an empty seat too much, or an empty seat is placed with too many things. These actions may lead to some false classification results. Therefore, the calibration module is applied to filter the classification results and give the final stable results. As mentioned above, we employ PTZ cameras to scan the meeting hall. Therefore, intervals between neighbor frames are not regular. Sometime the interval is less than 1s, and sometime it s more than 30s. Thus we propose a time-related calibration algorithm. It is based on the following assumptions: 1) in a short time like (eg. 100s), the state of a seat changes no more than twice; 2) in a longer time (eg. 5 minutes), people change their gestures more or less. The process of calibration is shown as follows: 1) we use median filter to smooth results during every 100s; 2) the seat is supposed to be empty if there is no motion information in 5 minutes,. 3 Database To evaluate the proposed algorithm, a realistic people counting system is constructed. In a meeting hall which can hold about 500 people, a PTZ camera is installed in the front of the hall, overlooking the seats. A diagram of the hall is shown in Fig. 4. We set eight preset points for the camera. The camera stays in each for 2s, then turns to the next and finally comes back in about 30s. For acquired 1920*1080 images, the size of a seat is about 116*100 pixels in average. We only choose one preset point to test our algorithm, which covers 64 seats. Training set is collected from two conferences, and consists of manually extracted 1329 empty seats and 1949 non-empty seats. Testing set is collected from another conference. It consists of 213 images, including 4991 empty seats and 8641 non-empty seats. Samples of seat blocks are shown in Fig. 1.

6 Hongyu Liang, Jinchen Wu, and Kaiqi Huang Fig. 4. The diagram of the meeting hall, in which all the seats are fixed. The camera is installed in the front of the hall, and overlooks the seats. 4 Experiments and Discussions 4.1 Experimental Settings The coarse classification is to retrieve all the completely empty seats, thus we define them as positive samples, and occluded seats and non-empty seats as negative samples. Recall and false alarm are used as evaluation metrics. In the fine classification phase, each seat block is divided into 8*8 cells, and α is set to 10. We define occluded empty seats as positive samples, and define nonempty seats as negative samples. ROC curve is used to evaluate the proposed method. We implement our algorithm in C++ with a PC of 2.83 GHz dual core CPU and 8GB RAM. 4.2 Experimental Results For the coarse classification module, we employ linear SVM to calculate weights of fusion. We compare the results of the proposed fusion-based background subtraction method with traditional ones. Table 1 shows the recall of every method when the false alarm is zero. Table 1. Empty seats recall while false alarm is zero in the coarse classification module. s- means background subtraction in the ROI of the seat block. method Fusion HSV s-hsv Grad s-grad recall 100% 98.23% 97.96% 86.7% 48.66% We see that background subtraction of gradient map gets the worst result in all the methods. This results from noises caused by: 1) shadows of people nearby, 2) light spots which are caused by local reflection of seats. In contrast, background subtraction in the HSV color space is less sensitive to the noises. But this method will fail if the color of a person s cloth is similar to the seat. Therefore, the proposed fusion-based method employ gradient map to suppress errors caused by the similarity of colors. Experimental results prove the effectiveness of the proposed method. For the fine classification module, as shown in Fig. 5, the proposed SW-HOG feature gets almost the same performance with the HOG feature. That s because

Title Suppressed Due to Excessive Length 7 occluded empty seats reserve most appearance features of the empty seats. Thus these seats show consistent contours with completely empty ones. In contrast, non-empty seats are almost totally occluded by people in various gesture, and their contours are not regular. Because of illumination changes and shadows, the edges of some occluded empty seats are subject to severe noise. In this situation, both SW-HOG and HOG fail. By combining SW-HOG with LBP feature, the noises of edges are weakened, thus the proposed SW-HOG+LBP feature gets better performance. 1 0.95 Recall 0.9 0.85 0.8 0 0.1 0.2 0.3 0.4 0.5 FAR Fig. 5. ROC curve for various features. By classification, we get a label for every seat in each frame. The accuracy reaches 99.73%. In the calibration module, we implement median filter for every 7 frames, interval of which is about 100s. As shown in Fig. 6, after results calibration, some outliers among frames are eliminated, and the final accuracy reaches 99.88% in average. An error occurs from the beginning to 217s, which is 14th frame. This is because in these frames, a bag is placed in a seat, and is taken away in 247s, which is 15th frame. Considering that during this time, motion information is not working, the results is reasonable. detection rate 1 0.99 0.98 0.97 0.96 0.95 0 1000 2000 3000 time(s) (a) people number 46 44 42 40 38 36 34 32 0 1000 2000 3000 time(s) (b) Fig. 6. Results of single frame and after calibration. The isolated red triangles denote errors in classification of single frames, and blue stars represent results after calibration.

8 Hongyu Liang, Jinchen Wu, and Kaiqi Huang 5 Conclusions and Future Work In this paper, we present a system for people in seats counting for meeting hall. It meets the real-time requirement in real applications and meanwhile guarantees the accuracy of people counting. Experimental results on the realistic meeting data proved the effectiveness of our system. The only one error comes from an empty seat occupied by a bag and the bag is taken away after a few seconds. So our future work will focus on the understanding of texture information and motion information. References 1. Beymer, D.: Person counting using stereo. In: IEEE Workshop on Human Motion. (2000) 127 133 2. Yahiaoui, T., Meurie, C., Khoudour, L., Cabestaing, F.: A people counting system based on dense and close stereovision. In: Image and Signal Processing. (2008) 59 66 3. Davies, A., Yin, J., Velastin, S.: Crowd monitoring using image processing. In: Electronics & Communication Engineering Journal. Volume 7. (1995) 37 47 4. Marana, A., da Fontoura Costa, L., Lotufo, R., Velastin, S.: Estimating crowd density with minkowski fractal dimension. In: IEEE International Conference on Acoustics, Speech, and Signal Processing. Volume 6. (1999) 3521 3524 5. Zhao, T., Nevatia, R.: Bayesian human segmentation in crowded situations. In: IEEE Computer Society Conference on Computer Vision and Pattern Recognition. Volume 2. (2003) II 459 6. GAO, C., HUANG, K., TAN, T.: Improvements on mid based foreground segmentation using optical flow. In: 2th China-Japan-Korea Workshop on Pattern Recognition. (2010) 154 159 7. Rabaud, V., Belongie, S.: Counting crowded moving objects. In: IEEE Computer Society Conference on Computer Vision and Pattern Recognition. Volume 1. (2006) 705 711 8. Shi, J., Tomasi, C.: Good features to track. In: IEEE Computer Society Conference on Computer Vision and Pattern Recognition. (1994) 593 600 9. Felzenszwalb, P., Girshick, R., McAllester, D., Ramanan, D.: Object detection with discriminatively trained part-based models. In: IEEE Transactions on Pattern Analysis and Machine Intelligence. Volume 32. (2010) 1627 1645 10. Zhang, J., Huang, K., Yu, Y., Tan, T.: Boosted local structured hog-lbp for object localization. In: IEEE Computer Society Conference on Computer Vision and Pattern Recognition. (2011) 1393 1400 11. Li, M., Zhang, Z., Huang, K., Tan, T.: Estimating the number of people in crowded scenes by mid based foreground segmentation and head-shoulder detection. In: 19th International Conference on Pattern Recognition. (2008) 1 4 12. Dalal, N., Triggs, B.: Histograms of oriented gradients for human detection. In: IEEE Computer Society Conference on Computer Vision and Pattern Recognition. Volume 1. (2005) 886 893 13. Ojala, T., Pietikäinen, M., Harwood, D.: A comparative study of texture measures with classification based on featured distributions. In: Pattern recognition. Volume 29. (1996) 51 59