Automatic Number Plate Localization and Recognition (ANPR) is a method that uses template matching on images to read the number plate of vehicles. This paper presents a robust method of license plate localization, segmentation and recognition of the character present in the located plate using an algorithm, which is based on pixel. The whole process has been designed in such a way that it can detect the conventional English number plate and can also detect Bengali alphanumeric number plate with adjoined Bengali letter by an easy and efficient algorithm which is robust to work and less time consuming. The ANPR systems are largely recommended for security system like traffic monitoring, electronic toll collection, and surveillance device and safety supervision. This whole system has been developed using MATLAB R2009a.