This paper proposes a fast zooming and focusing technique for implementing a real-time surveillance camera system which can capture a face image in less than l second. It determines the positions of zooming and focusing lenses using two-step algorithm. In the first step, it moves the zooming and focusing lenses simultaneously to the positions calculated using the lens equations for achieving the predetermined magnification. In the second step the focusing lens is adjusted so that it is positioned at the place where the focus measure is the maximum. The camera system implemented for the experiments has shown that the proposed algorithm spends about 0.56 second on average for obtaining a focused image.