Python instance calls Baidu API for license plate recognition

submited by
Style Pass
2021-05-28 05:42:28

Wang Shihao, male, School of Electronic Information, Xi'an Polytechnic University, Master's degree in 2020, Zhang Hongwei's artificial intelligence research group. Research direction: machine vision and artificial intelligence. Email: shauwang@foxmail.com

Support the identification of blue cards, yellow cards (single and double rows), green cards, large new energy (yellow-green), consulate license plates, police cards, armed police cards (single and double rows), military cards (single and double rows), The regional number and license plate number of Hong Kong and Macau entry and exit license plates, agricultural license plates, and civil aviation license plates, and can identify multiple license plates in the image at the same time.

First, open the Baidu Smart Cloud official website to register and log in. After logging in, select the text recognition service to create an application, then enter the application name, description, and select the application type as personal, and then click the "Create Now" button. After returning to the application list, you can see the applications that have been created for license plate recognition. The API Key and Secret Key are displayed here, which will be used in the program later.

Note: The free version of Baidu Smart Cloud License Plate Recognition API provides 200 free calls per day, and subsequent calls will fail. It is recommended to keep the API Key and Secret Key properly.

Leave a Comment