This document describes a system that uses a Raspberry Pi to recognize vehicle number plates and control access through a gate. The system uses an ultrasonic sensor to detect when a vehicle is near, a camera to capture an image of the vehicle's number plate, and optical character recognition (OCR) software to convert the image to text. The Raspberry Pi then compares the recognized text to a database of allowed number plates. If it matches, a servo motor opens the gate. If not, a buzzer sounds to alert authorities that an unauthorized vehicle has been detected. The system aims to provide security at facilities by only granting access to vehicles with valid number plates.