Method for solving accuracy rate of identifying new energy automobile license plate through checkpoint
By obtaining the longitude and latitude of the bayonet equipment and matching the passing data of new energy vehicles, the accuracy of the license plate recognition of the bayonet equipment is calculated, which solves the problem of the low accuracy of license plate recognition that cannot be found in time in the existing technology, and realizes the The automatic evaluation of bayonet equipment and timely processing of accuracy improve the quality of road monitoring data collection.
Patent Information
- Application Number
- CN202410822976.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-06
AI Technical Summary
Existing bayonet equipment cannot detect the problem of low license plate recognition accuracy in time after it is installed on the road, which affects the collection of road monitoring data.
By obtaining the longitude and latitude data of the bayonet equipment and the passing data of new energy vehicles, using the preset time threshold and distance threshold for matching, the accuracy of the license plate recognition of the bayonet equipment is calculated, and automatic identification of all bayonet equipment in the area is achieved. Evaluate.
It achieves timely assessment of the license plate recognition accuracy of bayonet equipment, can promptly detect and process equipment with low recognition accuracy, and improves the collection quality of road monitoring data.
Smart Images

Figure CN118609376A
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of bayonet equipment, and in particular to a method for solving the accuracy rate of bayonet recognition of license plates of new energy vehicles. Background Art
[0002] The accuracy of license plate recognition by the bayonet is affected by many factors such as the degree of lens contamination, installation position and installation angle. Therefore, after the road surface is installed, the equipment needs to be inspected and maintained to maintain a high license plate recognition accuracy. However, there is currently no effective means to evaluate the license plate recognition accuracy of installed bayonet in batches, and it is unnecessary and time-consuming to inspect and maintain all bayonet on the road surface at one time. Therefore, most of the existing timely inspections are based on the experience of maintenance personnel, or all equipment is grouped, and then regular maintenance is arranged for each group of equipment. However, in the existing group regular maintenance method, once the maintenance cycle has passed but the next maintenance cycle has not yet arrived, if a bayonet device cannot accurately recognize the license plate due to an accident, it cannot be discovered and handled in time, which will directly affect the collection of road monitoring data. Summary of the invention
[0003] In order to solve the problem in the prior art that toll gate devices with low license plate recognition accuracy cannot be found in time, the present invention provides a method for solving the accuracy of toll gate recognition of new energy vehicle license plates, which can automatically evaluate the license plate recognition accuracy of all toll gate devices in the area, and then can timely and targetedly find toll gate devices with low recognition accuracy.
[0004] The technical solution of the present invention is as follows: a method for solving the accuracy of bayonet recognition of new energy vehicle license plates, characterized in that it comprises the following steps:
[0005] S1: Obtain the checkpoint devices in the area to be confirmed one by one, recorded as: checkpoint devices to be evaluated,
[0006] Obtaining the latitude and longitude data corresponding to the bayonet device to be evaluated;
[0007] S2: within the specified evaluation time period, obtain the vehicle passing data of all new energy vehicles of the checkpoint device to be evaluated, which is recorded as: the vehicle passing data set to be confirmed;
[0008] The fields of the vehicle passing data include: vehicle license plate number, vehicle passing timestamp and checkpoint latitude and longitude;
[0009] S3: taking out each piece of data in the to-be-confirmed vehicle passing data set one by one, and recording it as: to-be-confirmed checkpoint data;
[0010] The vehicle passing timestamp corresponding to the checkpoint data to be confirmed is recorded as: the screening time ts;
[0011] S4: Access the vehicle driving records of new energy vehicles;
[0012] The fields of the vehicle driving record include: vehicle license plate number, vehicle latitude and longitude, and location data timestamp;
[0013] S5: Filtering data that simultaneously satisfies all the filtering conditions in the vehicle driving record;
[0014] The screening conditions include:
[0015] Screening condition 1: The passing time tb of new energy vehicles meets the condition: -t≤(tb-ts)≤t;
[0016] Among them, t is a preset time threshold, which represents the maximum time difference between the timestamp of the new energy vehicle passing recorded by the checkpoint and the timestamp of the location data of the new energy vehicle that is effectively matched;
[0017] Filter condition 2: The distance between the longitude and latitude of the checkpoint and the location data of the new energy vehicle is less than or equal to the preset distance threshold s;
[0018] The distance threshold s represents: the maximum distance between the longitude and latitude of the checkpoint and the longitude and latitude of a new energy vehicle that is effectively matched once;
[0019] If a vehicle driving record that satisfies the screening conditions can be found, the to-be-confirmed checkpoint data is recorded as the screened checkpoint data, and the corresponding vehicle driving record data is recorded as the screened vehicle driving record data;
[0020] Otherwise, if no vehicle driving record that satisfies the screening conditions is found, the to-be-confirmed checkpoint data is deleted;
[0021] S6: cyclically executing steps S3 to S5 until every piece of data in the to-be-confirmed vehicle passing data set is involved in the calculation, and then executing step S7;
[0022] S7: Record the vehicle license plate number in each piece of vehicle passing data in the filtered checkpoint data as the license plate to be confirmed;
[0023] S8: According to the license plate number of the to-be-confirmed license plate, confirm whether there is vehicle driving record data with the same vehicle license plate number in the corresponding filtered vehicle driving record data;
[0024] If it exists, the vehicle passing data corresponding to the license plate to be confirmed is recorded as: the post-matching checkpoint data;
[0025] S9: Count the number of all the filtered checkpoint data corresponding to the to-be-confirmed vehicle data set of the to-be-evaluated checkpoint device, recorded as: N1; count the number of all the matched checkpoint data corresponding to the to-be-confirmed vehicle data set, recorded as: N2;
[0026] Calculate the license plate recognition accuracy of the bayonet device to be evaluated:
[0027] The license plate recognition accuracy rate = N2 / N1;
[0028] S10: Execute steps S1 to S9 in a loop until all the checkpoint devices in the area to be confirmed have participated in the calculation.
[0029] It is further characterized by:
[0030] It also includes the following steps:
[0031] According to a preset cycle period, steps S1 to S10 are executed cyclically;
[0032] Before step S6 is implemented, the following steps need to be performed:
[0033] A minimum screening number threshold θ is preset, where θ is a positive integer;
[0034] Compare the number N1 of the selected bayonet data with θ;
[0035] If N1≥θ, execute step S6; otherwise, stop the subsequent calculation for the bayonet device to be evaluated;
[0036] The minimum screening number threshold θ is set to 2;
[0037] The vehicle passing data corresponding to the checkpoint device is stored in the traffic management data platform;
[0038] The vehicle driving record of the new energy vehicle is stored in the new energy vehicle database;
[0039] Before step S1 is implemented, the following steps are implemented:
[0040] Setting a license plate recognition accuracy monitoring server for a checkpoint device, wherein the license plate recognition accuracy monitoring server for a checkpoint device is communicatively connected to the traffic management data platform and the new energy vehicle database;
[0041] The distance threshold s is set to 100 meters;
[0042] The time threshold t is set to 5 minutes.
[0043] The present application provides a method for solving the accuracy of the license plate recognition of new energy vehicles at a checkpoint, which matches all new energy vehicles passing through the checkpoint according to the checkpoint's passing time and the checkpoint's latitude and longitude, and then uses the vehicle driving records uploaded by the new energy vehicles themselves, based on the new energy vehicle's passing time and new energy vehicle's location data, to filter and match according to specified conditions to find a data set in the vehicle driving record; for the matched data set, the numerator is set to the number of vehicle passing records that can be associated with the new energy vehicle's location data to the same license plate number, and the denominator is set to the number of vehicle passing records that can match the new energy vehicle's location data, thereby calculating the license plate recognition accuracy of the checkpoint device. This method can automatically evaluate the license plate recognition accuracy of all checkpoint devices in the area, and can then timely and targetedly find checkpoint devices with low recognition accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 A schematic diagram of the system structure of a method for solving the accuracy of license plate recognition of new energy vehicles at a checkpoint;
[0045] Figure 2 The figure is a flow chart of a method for solving the accuracy rate of license plate recognition of new energy vehicles at the checkpoint. DETAILED DESCRIPTION
[0046] like Figure 1 As shown, the checkpoint equipment installed on the road surface will upload the collected process record data to the traffic management data platform in real time. The new energy vehicle will upload its own vehicle driving record data to the database of the new energy vehicle during operation. The present application calculates the license plate recognition accuracy of the checkpoint equipment by comparing the data in two independent databases. In the present method, a checkpoint equipment license plate recognition accuracy monitoring server is set, and the checkpoint equipment license plate recognition accuracy monitoring server is communicatively connected to the traffic management data platform and the new energy vehicle database, and the required data can be obtained in real time as required.
[0047] like Figure 2 As shown, the present invention includes a method for solving the accuracy of bayonet recognition of new energy vehicle license plates, which includes the following steps.
[0048] S1: Obtain the checkpoint devices in the area to be confirmed one by one, recorded as: checkpoint devices to be evaluated,
[0049] Get the latitude and longitude data corresponding to the camera device to be evaluated.
[0050] S2: within the specified evaluation period, obtain the vehicle passing data of all new energy vehicles of the checkpoint equipment to be evaluated, which is recorded as the vehicle passing data set to be confirmed;
[0051] The fields of vehicle passing data include: vehicle license plate number, vehicle passing timestamp and checkpoint latitude and longitude.
[0052] S3: Take out each piece of data in the to-be-confirmed vehicle passing data set one by one, and record it as: to-be-confirmed checkpoint data;
[0053] The vehicle passing timestamp corresponding to the checkpoint data to be confirmed is recorded as: waiting screening time ts.
[0054] S4: Access the vehicle driving records of new energy vehicles;
[0055] The fields of the vehicle driving record include: vehicle license plate number, vehicle latitude and longitude, and location data timestamp.
[0056] S5: Filtering data that simultaneously meets all the filtering conditions in the vehicle driving records;
[0057] Filters include:
[0058] Screening condition 1: The passing time tb of new energy vehicles meets the condition: -t≤(tb-ts)≤t;
[0059] Among them, t is a preset time threshold, which represents the maximum time difference between the timestamp of the new energy vehicle passing recorded by the checkpoint and the timestamp of the location data of the new energy vehicle that is effectively matched;
[0060] Filter condition 2: The distance between the longitude and latitude of the checkpoint and the location data of the new energy vehicle is less than or equal to the preset distance threshold s;
[0061] The distance threshold s represents: the maximum distance between the longitude and latitude of the checkpoint and the longitude and latitude of a new energy vehicle that is effectively matched once;
[0062] If a vehicle driving record that satisfies the screening conditions can be found, the to-be-confirmed checkpoint data is recorded as: the screened checkpoint data, and the corresponding vehicle driving record data is recorded as: the screened vehicle driving record data;
[0063] Otherwise, if no vehicle driving record that satisfies the screening conditions can be found, the checkpoint data to be confirmed will be deleted.
[0064] Before step S6 is implemented, the following steps need to be performed:
[0065] A minimum screening number threshold θ is preset, where θ is a positive integer;
[0066] Compare the number of bayonet data after screening, N1, and θ;
[0067] If N1≥θ, step S6 is executed; otherwise, the subsequent calculation for the bayonet device to be evaluated is stopped.
[0068] The effectiveness of the final calculated accuracy is controlled by the minimum screening number threshold θ. When the screened checkpoint data is too small, such as only one data, the calculated accuracy is meaningless. Therefore, according to the specific accuracy requirements or the average traffic volume of the road section where the checkpoint equipment is located, the minimum screening number threshold θ is set. When N1<θ, the calculation is stopped. Invalid data will mislead maintenance personnel.
[0069] S6: Execute steps S3 to S5 in a loop until every piece of data in the to-be-confirmed vehicle passing data set is involved in the calculation, and then execute step S7.
[0070] S7: Record the vehicle license plate number in each piece of vehicle passing data in the filtered checkpoint data one by one as: license plate to be confirmed.
[0071] S8: According to the license plate number of the to-be-confirmed license plate, confirm whether there is vehicle driving record data with the same vehicle license plate number in the corresponding filtered vehicle driving record data;
[0072] If it exists, the vehicle passing data corresponding to the license plate to be confirmed will be recorded as: matching checkpoint data.
[0073] S9: Count the number of all the filtered checkpoint data corresponding to the to-be-confirmed vehicle data set of the to-be-evaluated checkpoint device, recorded as: N1; count the number of all the matched checkpoint data corresponding to the to-be-confirmed vehicle data set, recorded as: N2;
[0074] Calculate the license plate recognition accuracy of the bayonet device to be evaluated:
[0075] License plate recognition accuracy = N2 / N1.
[0076] S10: Execute steps S1 to S9 in a loop until all the checkpoint devices in the area to be confirmed have participated in the calculation.
[0077] It also includes the following steps:
[0078] Steps S1 to S10 are executed cyclically according to a preset cycle period.
[0079] Assume that the checkpoint data within a period of time is extracted from the checkpoint device on a certain urban road section; assume that the checkpoint device to be evaluated is numbered 1, and the corresponding checkpoint vehicle passing records within the specified evaluation period are the vehicle passing data set to be confirmed, as shown in Table 1.
[0080] Table 1: Example of a dataset of vehicles to be confirmed
[0081] ID Mount number Passing time Vehicle license plate Bayonet longitude Mount latitude 1 1 2021-09-08 10:10:10 Su BD12345 120.1 30.1 2 1 2021-09-08 10:15:10 SuBD23456 120.1 30.1 3 1 2021-09-08 10:25:10 SuBD56789 120.1 30.1
[0082] Access the database of new energy vehicles. Assume that the vehicle driving records of new energy vehicles stored in the database are as shown in Table 2.
[0083] Table 2: Example of vehicle driving record
[0084] ID Vehicle license plate Location data time Vehicle position longitude Vehicle position latitude 1 Su BD12345 2021-09-08 10:08:10 120.1 30.1 2 Su BD12345 2021-09-08 10:10:10 120.2 30.2 3 SuBD23456 2021-09-08 10:25:15 120.1 30.1 4 SuBD56788 2021-09-08 10:24:10 120.1 30.1 5 SuBD56788 2021-09-08 10:26:10 120.10001 30.10001
[0085] In this embodiment, the minimum screening number threshold θ is set to 2. The distance threshold s is set to 100 meters; and the time threshold t is set to 5 minutes.
[0086] In the data set of vehicles to be confirmed, the first vehicle passing record with ID 1 is selected. Its passing time is 2021-09-08 10:10:10 and its longitude and latitude are (120.1, 30.1). In the vehicle records after screening, based on the vehicle location data of new energy vehicles, the records from 2021-09-08 10:05:10 to 2021-09-08 10:15:10 and the longitude and latitude points less than 100 meters from the checkpoint are found to form the following corresponding relationship, as shown in Table 3.
[0087] Table 3: Example of the relationship between vehicle passing records and vehicle driving data
[0088]
[0089] Based on what is shown in Table 1, in the data shown in Table 2, data that simultaneously meets all the screening conditions is screened, and the preliminary results of the vehicle driving record data after screening are obtained, as shown in Table 4 below.
[0090] Table 4: Example of preliminary results of vehicle driving record data after screening
[0091]
[0092] Based on the data in Table 4, it can be seen that the vehicle driving record with ID 2 cannot find a vehicle driving record that meets the screening conditions at the same time, so the checkpoint data to be confirmed is deleted. The content shown in Table 5 is obtained.
[0093] Table 5: Example of results of vehicle driving record data after screening
[0094]
[0095] According to the license plate number of the license plate to be confirmed, confirm whether there is vehicle driving record data with the same license plate number in the corresponding filtered vehicle driving record data; if so, the vehicle passing data corresponding to the license plate to be confirmed will be recorded as: matching checkpoint data.
[0096] Based on the content of Table 5, in the vehicle position data corresponding to the vehicle passing records with IDs 1 and 3, the number of all the filtered checkpoint data N1=2;
[0097] In all the filtered checkpoint data, we check whether there is any vehicle driving record data with the same license plate number. We find that only the license plate number of the record with ID 1 can be found in the matched vehicle location data. Then:
[0098] The number of matched bayonet data N2 = 1;
[0099] The license plate recognition accuracy rate of the bayonet device in this embodiment is: N2 / N1=1 / 2=50%.
[0100] In this embodiment, the cycle is set to 5 days, and the designated evaluation time period is 10:00-10:30. Then, every 5 days, steps S1-S10 are automatically executed for all the bayonet devices in the area to be evaluated. The evaluation method is started at 13:00 in the afternoon of the execution day, and the collected data is the bayonet process data between 10:00 and 10:30 in the morning of the same day. The license plate recognition accuracy of the bayonet device can be automatically evaluated without human intervention. In specific implementation, the evaluation results of the bayonet device of each round can also be recorded, with the evaluation results used as the ordinate and the number of comments used as the abscissa. A time series curve of the evaluation accuracy change is constructed for the data of each bayonet device, so that the changing trend of the recognition accuracy of each device can be seen more clearly, and the bayonet device can be maintained in a more targeted manner.
Claims
1. A method for solving the accuracy of bayonet recognition of new energy vehicle license plates, characterized in that: It includes the following steps: S1: Obtain the checkpoint devices in the area to be confirmed one by one, recorded as: checkpoint devices to be evaluated, Obtaining the latitude and longitude data corresponding to the bayonet device to be evaluated; S2: within the specified evaluation time period, obtain the vehicle passing data of all new energy vehicles of the checkpoint device to be evaluated, which is recorded as: the vehicle passing data set to be confirmed; The fields of the vehicle passing data include: vehicle license plate number, vehicle passing timestamp and checkpoint latitude and longitude; S3: taking out each piece of data in the to-be-confirmed vehicle passing data set one by one, and recording it as: to-be-confirmed checkpoint data; The vehicle passing timestamp corresponding to the checkpoint data to be confirmed is recorded as: the screening time ts; S4: Access the vehicle driving records of new energy vehicles; The fields of the vehicle driving record include: vehicle license plate number, vehicle latitude and longitude, and location data timestamp; S5: Filtering data that simultaneously satisfies all the filtering conditions in the vehicle driving record; The screening conditions include: Screening condition 1: The passing time tb of new energy vehicles meets the condition: -t≤(tb-ts)≤t; Among them, t is a preset time threshold, which represents the maximum time difference between the timestamp of the new energy vehicle passing recorded by the checkpoint and the timestamp of the location data of the new energy vehicle that is effectively matched; Filter condition 2: The distance between the longitude and latitude of the checkpoint and the location data of the new energy vehicle is less than or equal to the preset distance threshold s; The distance threshold s represents: the maximum distance between the longitude and latitude of the checkpoint and the longitude and latitude of a new energy vehicle that is effectively matched once; If a vehicle driving record that satisfies the screening conditions can be found, the to-be-confirmed checkpoint data is recorded as the screened checkpoint data, and the corresponding vehicle driving record data is recorded as the screened vehicle driving record data; Otherwise, if no vehicle driving record that satisfies the screening conditions is found, the to-be-confirmed checkpoint data is deleted; S6: cyclically executing steps S3 to S5 until every piece of data in the to-be-confirmed vehicle passing data set is involved in the calculation, and then executing step S7; S7: Record the vehicle license plate number in each piece of vehicle passing data in the filtered checkpoint data as the license plate to be confirmed; S8: According to the license plate number of the to-be-confirmed license plate, confirm whether there is vehicle driving record data with the same vehicle license plate number in the corresponding filtered vehicle driving record data; If it exists, the vehicle passing data corresponding to the license plate to be confirmed is recorded as: the post-matching checkpoint data; S9: Count the number of all the filtered checkpoint data corresponding to the to-be-confirmed vehicle data set of the to-be-evaluated checkpoint device, recorded as: N1; count the number of all the matched checkpoint data corresponding to the to-be-confirmed vehicle data set, recorded as: N2; Calculate the license plate recognition accuracy of the bayonet device to be evaluated: The license plate recognition accuracy = N2 / N1; S10: Execute steps S1 to S9 in a loop until all the card access devices in the area to be confirmed have participated in the calculation.
2. According to claim 1, a method for solving the accuracy of bayonet recognition of new energy vehicle license plates is characterized by: It also includes the following steps: According to the preset cycle period, steps S1 to S10 are executed cyclically.
3. According to claim 1, a method for solving the accuracy of bayonet recognition of new energy vehicle license plates is characterized by: Before step S6 is implemented, the following steps need to be performed: A minimum screening number threshold θ is preset, where θ is a positive integer; Compare the number N1 of the selected bayonet data with θ; If N1≥θ, step S6 is executed; otherwise, the subsequent calculation for the bayonet device to be evaluated is stopped.
4. According to claim 3, a method for solving the accuracy of bayonet recognition of new energy vehicle license plates is characterized by: The minimum screening number threshold θ is set to 2.
5. According to claim 1, a method for solving the accuracy of bayonet recognition of new energy vehicle license plates is characterized by: The vehicle passing data corresponding to the checkpoint device is stored in the traffic management data platform; The vehicle driving record of the new energy vehicle is stored in the new energy vehicle database.
6. According to claim 5, a method for solving the accuracy of bayonet recognition of new energy vehicle license plates is characterized by: Before step S1 is implemented, the following steps are implemented: A license plate recognition accuracy monitoring server for the checkpoint equipment is provided, and the license plate recognition accuracy monitoring server for the checkpoint equipment is communicatively connected to the traffic management data platform and the new energy vehicle database.
7. According to claim 1, a method for solving the accuracy of bayonet recognition of new energy vehicle license plates is characterized by: The distance threshold s is set to 100 meters; The time threshold t is set to 5 minutes.
