In intelligent transportation systems, license plate detection and recognition are important links in achieving vehicle management and monitoring. Traditional license plate recognition algorithms have many problems in terms of positioning accuracy, recognition efficiency, and real time performance. This article proposes an end to end license plate detection and recognition system based on deep learning. The YOLOv8n algorithm is used for license plate localization, Space Transform Network (STN ) is used to correct tilted license plates, and PaddleOCR is used for character recognition. The experimental results show that the recognition accuracy of the proposed method on the CCPD dataset reaches 98.5%, and the detection and recognition time of a single image is controlled within 80ms, which is better than traditional methods.