Professional Documents
Culture Documents
Pergamon
(Received 26 January 1995; in revised form 7 November 1995;received for publication 24 November 1995)
Abstract--A method for counting the number of people in any pre-definedscene is described. The method
has three distinct stages:image pre-processing,background identificationand object search. The method was
designed to provide accurate counts, even when the background scenewas allowed to vary. This tolerance to
changes in the background scene was achieved using RAM-based neural network classifiers to identify
sections of the background scene in each test image. The system was implemented on relatively low cost
hardware and was found to give good results at moderately high frame rates. Copyright 1996 Pattern
Recognition Society. Published by Elsevier Science Ltd.
People counting
Serial search
Neural network
RAM-based classifier
Background identification
1.2. Applications
l . INTRODUCTION
1421
1422
a)
b)
c)
Fig. 1. (a) An example background scene with room lights on.
(b) The same scene with room lights off. Notice the strong
reflections on the floor in (b) and the general improvement in
contrast when the lights are on. (c) The same scene with seven
occupants.
estimate the number of individual objects. This problem might be tackled in two ways: object search, and
background identification.
Object search involves searching the image looking
for shapes that correspond to some archetypal (or model)
object shape (for example, see paper by Sullivant2~).
Although objects need not match the archetype exactly
to be counted, such methods perform best when the
1423
1425
ClassifierDam Ou---"~'x,t
Random
~
16
i
~ i
Sub-scrn~ed
.
~
\
.
x<16
....L...
i J
cx~xsseo~
1424
a)
b)
Fig. 2. The effects of resolution reduction and thresholding.
(a) A thresholded image of the background scene with the
lights off when the image used in the subtraction process had
the lights on. (b) The result of thresholding the image of
Fig. 1(c).
3. BACKGROUNDIDENTIFICATION
3.1. Introduction to R A M - b a s e d neural n e t w o r k
classifiers
The background removal method described here
utilized RAM-based neural networks that were conceptually similar in structure to the neural network
classifiers used in the WlSARD pattern recognition
system31'11 ) RAM-based networks have two advantages over other neural network architectures: they can
be trained using examples of a single training class and
they are fully trained after a single pass through the
training set. In the current application the RAM-based
networks were trained on examples of the background
images only (that is no examples of the scene including
people were presented to the network during training),
yet the system was able to discriminate between parts
of the background scene and non-background objects.
This is important since it would not have been practically possible to train a neural network on a representative set of all non-background scenes.
1426
A.J. S C H O F I E L D et al.
1427
o 7
o
"6
~s
r~
E
"-1
r- 4
"1o
(I)
c:2
S
I
1
I
2
I
3
I
4
I
5
I
6
I
7
REFERENCES
1428
4. S. A. Velatsin, J. H. Yin, A. C. Davies, M. A. Vicenciosilva, R. E. Allsop and A. Penn, Analysis of crowd movements and densities in built-up environments using image
processing, Proc. IEE Colloquium Image process. Transport Appl. Digest No: 1993/236 (1993).
5. A. Del Bimbo and P Nesi. A vision system for estimating
people flow. Technical report DSI-RT 15/93. Department
of Systems and Informatics, University of Florence, Italy
(1993).
6. M. Kilger and T. Dietl Interpretation-driven low-level
parameter adaption in scene analysis, Comput. Aided
Syst. Theory, EUROCAST '93. F. Pichler and R. Moreno
Diaz, eds, pp. 380-387. Springer-Verlag, Berlin (1993).
7. S. Brofferio and L. Carnimeo, A background updating algorithm for moving object scenes, Time Varying
Image Process Moving Object Recognition 2, 297-307
(1990).
8. K. Karmann and A. von Brandt, Moving object recognition using an adaptive background memory, Time
9.
10.
11.
12.
About the Author--ANDREW SCHOFIELD received his B.Eng. degree in Electronics from Brunel
University in 1990 and his Ph.D. in Neuroscience from Keele University, Staffordshire, U.K., in 1994. His
research interests are in image processing and neural network applications.
About the Author--PRATAP MEHTA is a Reader in the Department of Electrical Engineering and
Electronics at Brunel University, West London, U.K. His research interests include power electronics and
intelligent buildings.
About the Author--JOHN STONHAM is Professor of Neural Systems Engineering in the Department of
Electrical Engineering and Electronics at Brunel University, West London, U.K. He received his B.Sc. degree
in Electronics (1970) M.Sc. in Hybrid Computing (1972) and Ph.D. in Pattern Recognition (1974) from Kent
University, U.K. His research interests are the theory and applications of neural networks, pattern
recognition, image processing and image database management.