ETC device activation method and system

By automatically identifying the ETC device code and installation location, automatic activation of ETC devices is realized, which solves the problems of cumbersome user operations and time-consuming manual review, and improves activation efficiency and accuracy.

CN118400728BActive Publication Date: 2024-09-06GUANGDONG CTV INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410836406.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-09-06
Estimated Expiration
2044-06-26

AI Technical Summary

Technical Problem

The activation process of ETC equipment is cumbersome and error-prone for users to manually operate, and requires operators to manually review and verify data, which is time-consuming and labor-intensive.

Method used

By obtaining the device code and vehicle image data, it automatically identifies the device code and installation location, controls the terminal to connect with the ETC device via Bluetooth, determines whether the device is installed correctly, and sends activation confirmation information to the operator server to obtain activation instructions to achieve automatic device activation.

Benefits of technology

It simplifies user operations, reduces errors during the activation process, eliminates the operator's manual review steps, and improves activation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118400728B
    Figure CN118400728B
Patent Text Reader

Abstract

The present invention discloses an ETC device activation method and system, the method comprising: identifying a device image, obtaining a device code of the ETC device to be activated, controlling the current terminal to perform a Bluetooth connection with the ETC device to be activated; sending the device code of the ETC device to be activated and the vehicle owner information to an operator server, so that the operator server determines whether the ETC device bound to the vehicle owner information and the ETC device to be activated are the same device; identifying the installation position of the ETC device to be activated on the vehicle and the license plate number of the installed vehicle, and determining whether the ETC device to be activated is correctly installed on the bound vehicle, and if so, sending activation confirmation information to the operator server, so that the operator server returns an activation instruction; controlling the ETC device to be activated to be activated according to the activation instruction. The present invention can realize automatic activation of ETC devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of ETC equipment, and in particular to an ETC equipment activation method and system. Background Art

[0002] ETC (Electronic Toll Collection) is an intelligent transportation system that uses modern wireless communication technology to enable vehicles to automatically pay road tolls without stopping. Through dedicated short-range communication between the on-board electronic tag installed on the vehicle windshield and the microwave antenna on the ETC lane at the toll station, computer networking technology is used to conduct back-end settlement processing with the bank, so that vehicles can pay highway or bridge fees without stopping at highway or bridge toll stations.

[0003] The activation of ETC equipment usually involves the following processes: (1) Preparation stage: Make sure that the ETC equipment is in an unactivated state and has been properly installed on the windshield of the vehicle, check whether the mobile phone supports the Bluetooth function, and ensure that the mobile phone and the ETC equipment can communicate normally; (2) Download the application: Download the corresponding mobile application according to the brand of the ETC equipment; (3) Turn on Bluetooth: Turn on the Bluetooth function in the mobile phone settings. Find the Bluetooth button on the ETC device or use the pin to touch the Bluetooth pinhole to turn on the Bluetooth connection mode of the device; (4) Connect the device: Select "Device Connection" or the corresponding option in the mobile phone APP, and wait patiently for the mobile phone to establish a connection with the ETC device; (5) Enter the laser number: Enter the laser number according to the APP prompt, that is, the capital code of the device manufacturer's name plus the last four digits of the number on the device; (6) Verify the information: Take photos of the inside and outside of the car and the flash video outside the car according to the instructions of the APP, and ensure that the ETC device and the license plate are clearly visible in the photos and videos. Submit the above information and wait for review. After the review is passed, you can proceed to the next step. (7) Complete activation: After the review is passed, click the "Activate" button in the APP to complete the activation process of the ETC device. Reinsert the ETC card and confirm that the device displays the amount before using it normally.

[0004] It can be seen that the activation of ETC equipment requires manual operation by users, which is cumbersome and prone to errors during the activation process, resulting in activation failure and affecting user experience. In addition, operators also have to arrange manual review of user verification information, which is time-consuming and labor-intensive. Summary of the invention

[0005] The present invention provides an ETC equipment activation method and system to solve the technical problems that the manual activation operation of users is cumbersome and error-prone, and the operator's backend needs to manually review the user's verification information.

[0006] In order to solve the above technical problems, an embodiment of the present invention provides an ETC device activation method, comprising:

[0007] Acquire a device image including a device code of the ETC device to be activated, vehicle owner information, and vehicle image data including an installation location of the ETC device to be activated and a license plate number of the vehicle on which the ETC device is installed;

[0008] Identify the device image to obtain the device code of the ETC device to be activated, and control the current terminal to establish a Bluetooth connection with the ETC device to be activated according to the device code of the ETC device to be activated;

[0009] Send the device code of the ETC device to be activated and the vehicle owner information to the operator server, so that the operator server can determine whether the ETC device bound to the vehicle owner information and the ETC device to be activated are the same device according to the device code and the vehicle owner information, and if so, return the license plate number information and vehicle model information bound to the ETC device to be activated;

[0010] According to the vehicle image data and the vehicle model information bound to the ETC device to be activated, the installation position of the ETC device to be activated on the vehicle and the license plate number of the installed vehicle are identified, and according to the installation position, the license plate number of the installed vehicle, and the license plate number information bound to the ETC device to be activated, it is determined whether the ETC device to be activated is correctly installed on the bound vehicle, and if so, an activation confirmation message is sent to the operator server, so that the operator server returns an activation instruction after receiving the activation confirmation message;

[0011] According to the activation instruction, the ETC device to be activated is controlled to be activated, and the activation result is returned.

[0012] As a preferred solution, the step of identifying the device image to obtain the device code of the ETC device to be activated includes:

[0013] Obtain the coded image of the preset ETC device;

[0014] Performing grayscale processing and binarization processing on the device image in sequence, separating the ETC device to be activated and the background in the device image, obtaining a first device image after removing the background, and aligning the first device image with the coded image;

[0015] The aligned first device image is rotated clockwise by 90° to obtain a second device image, 180° to obtain a third device image, and 270° to obtain a fourth device image;

[0016] Obtaining positions of character bounding boxes in the first device image, the second device image, the third device image, and the fourth device image, and identifying, according to the positions of the character bounding boxes, a device image in which characters are horizontally positively sorted from the first device image, the second device image, the third device image, and the fourth device image as a target device image;

[0017] Performing connected component processing on the target device image, marking target characters in the target device image, and segmenting a character image of each target character in the target device image according to the distance between each connected component;

[0018] Each of the character images is compared with the font images in the preset font library, and the maximum overlapping area between the target character in the character image and the font of each font image is calculated. When the overlapping area meets the preset conditions, the font of the corresponding font image is used as the target font, and then the target fonts are sorted to obtain the device code of the ETC device to be activated.

[0019] As a preferred solution, controlling the current terminal to establish a Bluetooth connection with the ETC device to be activated according to the device code of the ETC device to be activated includes:

[0020] Turn on the Bluetooth of the current terminal, and compare the device names of the connectable Bluetooth devices in the connectable Bluetooth device list of the current terminal with the device codes of the ETC device to be activated in order from top to bottom. If there is a connectable Bluetooth device that meets the preset comparison conditions, the connectable Bluetooth device that meets the preset comparison conditions is determined to be the ETC device to be activated, and the current terminal is controlled to establish a Bluetooth connection with the ETC device to be activated.

[0021] As a preferred solution, the controlling the current terminal to establish a Bluetooth connection with the ETC device to be activated includes:

[0022] Get the Bluetooth signal strength value of the ETC device to be activated at the current terminal location;

[0023] Determine the distance between the current terminal and the ETC device to be activated according to the Bluetooth signal strength value;

[0024] Determine whether the current terminal is in an area where it can be stably connected to the ETC device to be activated according to the distance; if so, directly control the current terminal to connect to the ETC device to be activated via Bluetooth; if not, calculate the moving distance that the current terminal needs to move when the current terminal falls into an area where it can be stably connected to the ETC device to be activated;

[0025] Based on the moving distance, the position movement prompt information of the current terminal is generated, so that the car owner can move the current terminal to the location of the ETC device to be activated according to the moving distance in the position movement prompt information, until it is determined that the current terminal falls into the area where it can be stably connected with the ETC device to be activated, and the current terminal is controlled to establish a Bluetooth connection with the ETC device to be activated.

[0026] As a preferred solution, the step of identifying the installation position of the ETC device to be activated on the vehicle and the license plate number of the installed vehicle based on the vehicle image data and the vehicle model information bound to the ETC device to be activated includes:

[0027] Identify the vehicle image data to obtain the license plate number of the installed vehicle;

[0028] Inputting the vehicle image data into a preset target recognition and positioning model, so that the target recognition and positioning model can recognize and locate the ETC device to be activated in the vehicle image data, and determine the position of the ETC device to be activated in the vehicle image data;

[0029] According to the vehicle model information bound to the ETC device to be activated, a front view of the vehicle body on which the device is installed is obtained from a preset vehicle model database;

[0030] grayscale processing is performed on the vehicle image data and the front view of the vehicle body, and a corresponding two-dimensional coordinate system is established with the processed vehicle image data and the intersection of the leftmost end of the vehicle and the ground in the front view of the vehicle body as the origin, the vertical line at the leftmost end of the vehicle as the Y axis, and the horizon as the X axis, and the vehicle image data is projected into the corresponding two-dimensional coordinate system;

[0031] Calculating the coordinate values ​​of a plurality of preset vehicle body position points in the vehicle image data and the vehicle body front view, comparing the coordinate values ​​corresponding to the vehicle image data with the coordinate values ​​corresponding to the vehicle body front view, and determining the offset angle of the vehicle image data;

[0032] The installation position of the ETC device to be activated on the vehicle is calculated based on the offset angle and the position of the ETC device to be activated in the vehicle image data.

[0033] As a preferred solution, the step of identifying the vehicle image data to obtain the license plate number of the installed vehicle includes:

[0034] Get the preset standard license plate image;

[0035] Sequentially performing grayscale processing and binarization processing on the vehicle image data, separating the license plate and the background in the vehicle image data, obtaining a first license plate image after removing the background, and aligning the first license plate image with the standard license plate image;

[0036] The aligned first license plate image is rotated clockwise by 90° to obtain a second license plate image, 180° to obtain a third license plate image, and 270° to obtain a fourth license plate image;

[0037] Obtaining positions of character bounding boxes in the first license plate image, the second license plate image, the third license plate image, and the fourth license plate image, and identifying a license plate image in which characters are horizontally sorted in a positive order from the first license plate image, the second license plate image, the third license plate image, and the fourth license plate image according to the positions of the character bounding boxes as a target license plate image;

[0038] Performing connected component processing on the target license plate image, marking target characters in the target license plate image, and segmenting a character image of each target character in the target license plate image according to the distance between each connected component;

[0039] Each of the character images is compared with the font images in the preset font library, and the maximum overlapping area between the target character in the character image and the font of each font image is calculated. When the overlapping area meets the preset conditions, the font of the corresponding font image is used as the target font, and then the target fonts are sorted to obtain the license plate number of the installed vehicle.

[0040] As a preferred solution, judging whether the ETC device to be activated is correctly installed on the bound vehicle according to the installation position, the license plate number of the installed vehicle, and the license plate number information bound to the ETC device to be activated includes:

[0041] Compare the license plate number of the installed vehicle with the license plate number information bound to the ETC device to be activated to determine whether the license plate number of the installed vehicle is consistent with the license plate number information bound to the ETC device to be activated. If they are inconsistent, generate a corresponding ETC device installation vehicle error prompt;

[0042] If they are consistent, it is determined that the ETC device to be activated has been installed on the bound vehicle, and according to the vehicle model information bound to the ETC device to be activated, the standard installation position of the ETC device corresponding to the vehicle model information is obtained in the preset database, and then the installation position is compared with the standard installation position to determine whether the installation position of the ETC device to be activated is correct. If it is correct, it is determined that the ETC device to be activated has been installed in the correct position on the bound vehicle. If it is incorrect, the corresponding ETC device installation position error prompt is generated.

[0043] Based on the above embodiment, another embodiment of the present invention provides an ETC device activation system, including: a data acquisition unit, a Bluetooth connection unit, an interaction unit, an activation confirmation unit and a device activation unit;

[0044] The data acquisition unit is used to acquire a device image including a device code of the ETC device to be activated, vehicle owner information, and vehicle image data including an installation location of the ETC device to be activated and a license plate number of the installed vehicle;

[0045] The Bluetooth connection unit is used to identify the device image to obtain the device code of the ETC device to be activated, and control the current terminal to establish a Bluetooth connection with the ETC device to be activated according to the device code of the ETC device to be activated;

[0046] The interaction unit is used to send the device code of the ETC device to be activated and the vehicle owner information to the operator server, so that the operator server determines whether the ETC device bound to the vehicle owner information and the ETC device to be activated are the same device according to the device code and the vehicle owner information, and if so, returns the license plate number information and vehicle model information bound to the ETC device to be activated;

[0047] The activation confirmation unit is used to identify the installation position of the ETC device to be activated on the vehicle and the license plate number of the installed vehicle according to the vehicle image data and the vehicle model information bound to the ETC device to be activated, and to determine whether the ETC device to be activated is correctly installed on the bound vehicle according to the installation position, the license plate number of the installed vehicle, and the license plate number information bound to the ETC device to be activated, and if so, to send activation confirmation information to the operator server, so that the operator server returns an activation instruction after receiving the activation confirmation information;

[0048] The device activation unit is used to control the ETC device to be activated to activate according to the activation instruction and return the activation result.

[0049] Based on the above embodiments, another embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, the ETC device activation method described in the above invention embodiments is implemented.

[0050] Based on the above embodiments, another embodiment of the present invention provides a storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the ETC device activation method described in the above invention embodiment.

[0051] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0052] The present invention provides an ETC device activation method, where a user only needs to upload a device image containing a device code of an ETC device to be activated, vehicle owner information, and vehicle image data containing an installation location of the ETC device to be activated and a license plate number of an installed vehicle on a current terminal, and the current terminal can automatically activate the ETC device according to the device image, vehicle owner information, and vehicle image data, thereby simplifying the user's ETC device activation operation, improving user experience, and making automatic program execution less prone to errors.

[0053] During the automatic activation process, the present invention can also identify the installation position of the ETC device to be activated on the vehicle and the license plate number of the installed vehicle based on the vehicle image data and the vehicle model information bound to the ETC device to be activated, and determine whether the ETC device to be activated is correctly installed on the bound vehicle based on the installation position, the license plate number of the installed vehicle, and the license plate number information bound to the ETC device to be activated. If so, an activation confirmation message is sent to the operator server. Through this operation, it is possible to determine whether the ETC device to be activated is correctly installed on the bound vehicle during the ETC activation process without the need for the operator backend to continue manual review, thereby speeding up the progress of the ETC device activation process and saving time and effort. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 It is a flowchart of an ETC device activation method provided by an embodiment of the present invention;

[0055] Figure 2 It is a structural diagram of an ETC device activation system provided by one embodiment of the present invention. DETAILED DESCRIPTION

[0056] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0057] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.

[0058] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.

[0059] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0060] In the description of the embodiments of the present application, the term "and / or" is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0061] In the description of the embodiments of the present application, the term "multiple" refers to more than two (including two). Similarly, "multiple groups" refers to more than two groups (including two groups), and "multiple pieces" refers to more than two pieces (including two pieces).

[0062] In the description of the embodiments of the present application, unless otherwise clearly specified and limited, technical terms such as "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal connection of two elements or the interaction relationship between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the embodiments of the present application can be understood according to the specific circumstances.

[0063] Embodiment 1

[0064] Please refer to Figure 1 , is a flow chart of an ETC device activation method provided by an embodiment of the present invention, comprising the following specific steps:

[0065] S1. Acquire a device image including a device code of the ETC device to be activated, vehicle owner information, and vehicle image data including an installation location of the ETC device to be activated and a license plate number of the vehicle on which the ETC device is installed;

[0066] Specifically, the ETC system is mainly composed of an on-board unit (OBU), a roadside unit (RSU) and a data processing center. The on-board unit is usually installed on the windshield of the vehicle, while the roadside unit is installed next to the toll booth. By communicating with the on-board unit, the vehicle identity is identified and the fee is deducted. The activation of the ETC device described in the present invention is a process in which the car owner applies for ETC at various channels such as highway entrances and exits / bank counters / offline mini-programs, obtains the ETC device (i.e., the on-board unit OBU), and installs the ETC device in an appropriate position on the car windshield, and then uses a mobile device such as a mobile phone to connect to the ETC device through Bluetooth to activate the ETC device.

[0067] However, in the existing ETC device activation process, car owners need to perform a series of tedious operations on their mobile phone applications. During the operation, some minor errors often lead to activation failures. Finally, they have to go to the corresponding offline service point to be assisted by staff for activation, which is time-consuming and laborious. Among them, in the existing ETC device activation process, the following problems often occur and lead to activation failures:

[0068] (1) Bluetooth connection problem: Bluetooth connection is a key step in the activation process of ETC devices. However, many users encounter problems with Bluetooth connection failure or unstable connection in actual operation.

[0069] (2) Operational errors: Even if the user follows the instructions of the software, some minor errors may occur during the operation, which the user may not notice and cause activation failure;

[0070] (3) Installation location issue: The installation location of the ETC device has a great impact on its performance. If the installation location is inappropriate, it may hinder signal transmission, causing the device to malfunction or fail to activate.

[0071] In view of the above-mentioned possible factors of activation failure, the present invention provides an automatic activation method for ETC equipment. The user only needs to take a device image containing the device code of the ETC equipment to be activated, and the vehicle image data containing the installation location of the ETC equipment to be activated and the license plate number of the installed vehicle, and upload the taken image data and the owner information on the mobile phone, click to confirm the activation, and the system will automatically control the current mobile phone terminal and the ETC equipment to be activated to connect via Bluetooth according to the information uploaded by the user, automatically execute various activation processes, and detect the installation location of the ETC equipment to be activated, and finally interact with the operator server to complete the activation of the ETC equipment. The specific activation steps of the system are as follows:

[0072] S101. Acquire information uploaded by the user: a device image including the device code of the ETC device to be activated, vehicle owner information, and vehicle image data including the installation location of the ETC device to be activated and the license plate number of the installed vehicle.

[0073] In a specific embodiment, the device code of the ETC device is generally located on the side of the ETC device, so the user can take a side picture of the ETC device, which is required to completely cover the device code of the ETC device to be activated, as the device image. In addition, since the ETC device needs to be installed on the windshield of the vehicle, the user can stand in front of or to the side of the vehicle after installing the ETC device to be activated, and take a picture of the vehicle including the ETC device and the license plate as the vehicle image data.

[0074] S2. Identify the device image to obtain the device code of the ETC device to be activated, and control the current terminal to establish a Bluetooth connection with the ETC device to be activated according to the device code of the ETC device to be activated;

[0075] Preferably, the identifying of the device image to obtain the device code of the ETC device to be activated includes: obtaining a coded image of a preset ETC device; performing grayscale processing and binarization processing on the device image in turn, separating the ETC device to be activated and the background in the device image, obtaining a first device image after removing the background and aligning the first device image with the coded image; rotating the aligned first device image clockwise by 90° to obtain a second device image, rotating 180° to obtain a third device image, and rotating 270° to obtain a fourth device image; obtaining the positions of the character boundary boxes in the first device image, the second device image, the third device image, and the fourth device image, and aligning the first device image with the coded image according to the character boundary box. According to the position of the bounding box, a device image with characters horizontally sorted in positive order is identified from the first device image, the second device image, the third device image and the fourth device image as the target device image; connected component processing is performed on the target device image, the target characters in the target device image are marked, and the character image of each target character in the target device image is segmented according to the distance between each connected component; each character image is compared with a font image in a preset font library, and the maximum overlap area between the target character in the character image and the font of each font image is calculated; when the overlap area meets the preset condition, the font of the corresponding font image is used as the target font, and then the target fonts are sorted to obtain the device code of the ETC device to be activated.

[0076] Preferably, the method of controlling the current terminal to establish a Bluetooth connection with the ETC device to be activated based on the device code of the ETC device to be activated includes: turning on the Bluetooth of the current terminal, and comparing the device names of the connectable Bluetooth devices in the connectable Bluetooth device list of the current terminal with the device codes of the ETC device to be activated in order from top to bottom; if there is a connectable Bluetooth device that meets the preset comparison conditions, the connectable Bluetooth device that meets the preset comparison conditions is determined to be the ETC device to be activated, and the current terminal is controlled to establish a Bluetooth connection with the ETC device to be activated.

[0077] Preferably, the controlling of the current terminal to establish a Bluetooth connection with the ETC device to be activated includes: obtaining the Bluetooth signal strength value of the ETC device to be activated at the location of the current terminal; determining the distance between the current terminal and the ETC device to be activated based on the Bluetooth signal strength value; judging whether the current terminal is in an area where it can be stably connected to the ETC device to be activated based on the distance; if so, directly controlling the current terminal to establish a Bluetooth connection with the ETC device to be activated; if not, calculating the moving distance that the current terminal needs to move when the current terminal falls into the area where it can be stably connected to the ETC device to be activated; generating position movement prompt information of the current terminal based on the moving distance, so that the car owner can move the current terminal to the location of the ETC device to be activated based on the moving distance in the position movement prompt information, until it is judged that the current terminal falls into the area where it can be stably connected to the ETC device to be activated, and then controlling the current terminal to establish a Bluetooth connection with the ETC device to be activated.

[0078] S102. Identify the device image uploaded by the user that contains the device code of the ETC device to be activated, obtain the device code of the ETC device to be activated, and control the current terminal to establish a Bluetooth connection with the ETC device to be activated according to the device code of the ETC device to be activated.

[0079] First, the device image uploaded by the user is identified to obtain the device code of the ETC device to be activated. The specific identification process is as follows:

[0080] (1) Obtain the coded image of the preset ETC device;

[0081] Among them, the coded image is a standard image pre-stored in the system, which only contains the ETC device code in horizontal positive order. It is subsequently used to compare with the device image of the ETC device to be activated, remove the image background in the device image of the ETC device to be activated and align the device image.

[0082] (2) performing grayscale processing and binarization processing on the device image in sequence, separating the ETC device to be activated and the background in the device image, obtaining a first device image after removing the background, and aligning the first device image with the coded image;

[0083] The device image of the ETC device to be activated is subjected to grayscale processing and binarization processing, and then the image background except the device code in the device image is removed to obtain a first device image, and the first device image is aligned with the code image.

[0084] (3) Rotate the aligned first device image clockwise by 90° to obtain the second device image, rotate by 180° to obtain the third device image, and rotate by 270° to obtain the fourth device image;

[0085] (4) obtaining positions of character bounding boxes in the first device image, the second device image, the third device image, and the fourth device image, and identifying, according to the positions of the character bounding boxes, a device image in which characters are horizontally sorted in a positive order from among the first device image, the second device image, the third device image, and the fourth device image as a target device image;

[0086] When users upload information, the ETC device in the device image they take may be crooked, and the image may be mirrored or upside down during the upload process, causing the device code of the ETC device in the device image received by the system to not be horizontally positive, resulting in incorrect or inverted device code identified from the device image, which in turn causes activation failure.

[0087] Therefore, before performing character recognition on the first device image, the present invention first rotates the center point of the first device image clockwise by 90° to obtain the second device image, rotates by 180° to obtain the third device image, and rotates by 270° to obtain the fourth device image. The position of the character boundary box in each image is then obtained. According to the position of the character boundary box, the device image with characters horizontally sorted in positive order is identified as the target device image to avoid the problem of incorrect or inverted device code recognition.

[0088] (5) performing connected component processing on the target device image, marking target characters in the target device image, and segmenting a character image of each target character in the target device image according to the distance between each connected component;

[0089] (6) Compare each of the character images with the font images in a preset font library, calculate the maximum overlapping area between the target character in the character image and the font of each font image, and when the overlapping area meets the preset conditions, use the font of the corresponding font image as the target font, and then sort the target fonts to obtain the device code of the ETC device to be activated.

[0090] The characters that may appear in the device code are collected in advance as the fonts in the system's font library for subsequent comparison, and then the font images corresponding to the fonts are collected and stored in the system's font library. After segmenting the character image of each target character in the target device image, each character image is compared with the font image in the font library one by one, and the maximum overlap area between the target character in the character image and each font is calculated. When the overlap area meets the preset conditions, the font of the corresponding font image is used as the target font, and then the target fonts are sorted to obtain the device code of the ETC device to be activated.

[0091] After obtaining the device code of the ETC device to be activated, the system can control the current terminal to establish a Bluetooth connection with the ETC device to be activated according to the device code of the ETC device to be activated. The specific connection steps are as follows:

[0092] (1) Turn on the Bluetooth of the current terminal and compare the device names of the connectable Bluetooth devices in the connectable Bluetooth device list of the current terminal with the device codes of the ETC devices to be activated in order from top to bottom;

[0093] In a specific embodiment, the Bluetooth device name of the general ETC devices currently on the market will be set to: the first 2 digits + the last 8 digits of the OBU (electronic tag) side device code, or CG + the last 4 digits of the OBU (electronic tag) side device code, that is, the Bluetooth device name of the ETC device will include the first 2 digits + the last 8 digits or the last 4 digits of its device code.

[0094] Therefore, when the system controls the current terminal and the ETC device to be activated to establish a Bluetooth connection, it first turns on the Bluetooth of the current terminal, and then obtains the list of connectable Bluetooth devices of the current terminal. Then, according to the order from top to bottom in the list of connectable Bluetooth devices, the device names of the connectable Bluetooth devices in the list are read in sequence. Since the Bluetooth device name of the ETC device to be activated will contain the first 2 digits + the last 8 digits or the last 4 digits of its device code, the device name in the list is compared with the device code of the ETC device to be activated, and the ETC device to be activated can be found from the list.

[0095] Compare the device name in the list with the device code of the ETC device to be activated. After finding the ETC device to be activated from the list, you can control the current terminal to establish a Bluetooth connection with the ETC device to be activated.

[0096] (2) If there is a connectable Bluetooth device that meets the preset comparison conditions, the connectable Bluetooth device that meets the preset comparison conditions is determined to be the ETC device to be activated, and the current terminal is controlled to establish a Bluetooth connection with the ETC device to be activated; the Bluetooth connection steps between the current terminal and the ETC device to be activated are as follows:

[0097] a) Obtain the Bluetooth signal strength value of the ETC device to be activated at the current terminal location;

[0098] During the Bluetooth connection process between the current terminal and the ETC device to be activated, if the current terminal is too far away from the ETC device to be activated, although the device to be activated will be displayed on the connectable Bluetooth list of the current terminal, the Bluetooth signal of the device to be activated received by the current device is weak, which will cause the Bluetooth connection between the two to fail and the activation to be terminated. Therefore, after finding the ETC device to be activated from the connectable list of the current terminal, the present invention also determines whether the location of the current terminal can be stably connected to the ETC device to be activated. If so, it is directly connected. If not, a location movement prompt is generated to prompt the user that the Bluetooth information of the ETC device to be activated is weak at this time, and it is necessary to move closer to the ETC device to be activated to ensure that the two can be stably connected.

[0099] Specifically, first obtain the Bluetooth signal strength value of the ETC device to be activated at the current terminal location;

[0100] b) determining the distance between the current terminal and the ETC device to be activated according to the Bluetooth signal strength value;

[0101] c) judging whether the current terminal is in an area where it can stably connect to the ETC device to be activated according to the distance; if so, directly controlling the current terminal to establish a Bluetooth connection with the ETC device to be activated; if not, calculating the moving distance that the current terminal needs to move when the current terminal falls into an area where it can stably connect to the ETC device to be activated;

[0102] Then, according to the distance between the current terminal and the ETC device to be activated, it is determined whether the ETC device to be activated is within the Bluetooth connectable area of ​​the current terminal. If so, the current terminal is directly controlled to connect to the ETC device to be activated via Bluetooth. If not, the current terminal needs to move a certain distance when it falls into the area where it can be stably connected to the ETC device to be activated.

[0103] d) generating location movement prompt information of the current terminal according to the moving distance, so that the vehicle owner moves the current terminal to the location of the ETC device to be activated according to the moving distance in the location movement prompt information, until it is determined that the current terminal falls into an area where it can be stably connected to the ETC device to be activated, and then controlling the current terminal to establish a Bluetooth connection with the ETC device to be activated;

[0104] Based on the moving distance, the position movement prompt information of the current terminal is generated, prompting the current terminal to move to the location of the ETC device to be activated so that the two can be stably connected.

[0105] S3, sending the device code of the ETC device to be activated and the vehicle owner information to the operator server, so that the operator server determines whether the ETC device bound to the vehicle owner information and the ETC device to be activated are the same device according to the device code and the vehicle owner information, and if so, returns the license plate number information and vehicle model information bound to the ETC device to be activated;

[0106] S103, sending the device code of the ETC device to be activated and the vehicle owner information to the operator server, so that the operator server determines whether the ETC device bound to the vehicle owner information and the ETC device to be activated are the same device according to the device code and the vehicle owner information;

[0107] When applying for ETC, users will register the corresponding car owner information, the vehicle information bound to the ETC device, and the bank card information used for subsequent deductions at the operator service point in advance. Since an ETC device can only be bound and installed on one vehicle, when activating the ETC device, the device code of the ETC device to be activated and the car owner information need to be sent to the operator server. The operator server will determine whether the ETC device bound to the car owner in advance and the ETC device currently being activated are the same device based on the information reserved by the car owner in advance. If so, there is no problem, and the next process will be continued, and the license plate number information and vehicle model information that were bound to the ETC device in advance when the car owner applied for the ETC device will be returned.

[0108] S4. Identify the installation position of the ETC device to be activated on the vehicle and the license plate number of the installed vehicle based on the vehicle image data and the vehicle model information bound to the ETC device to be activated, and determine whether the ETC device to be activated is correctly installed on the bound vehicle based on the installation position, the license plate number of the installed vehicle, and the license plate number information bound to the ETC device to be activated. If so, send activation confirmation information to the operator server, so that the operator server returns an activation instruction after receiving the activation confirmation information.

[0109] Preferably, the step of identifying the installation position of the ETC device to be activated on the vehicle and the license plate number of the installed vehicle based on the vehicle image data and the vehicle model information bound to the ETC device to be activated comprises: identifying the vehicle image data to obtain the license plate number of the installed vehicle; inputting the vehicle image data into a preset target recognition and positioning model so that the target recognition and positioning model identifies and locates the ETC device to be activated in the vehicle image data, and determines the position of the ETC device to be activated in the vehicle image data; obtaining a body front view of the installed vehicle in a preset vehicle model database based on the vehicle model information bound to the ETC device to be activated; and identifying the vehicle image data and the license plate number of the installed vehicle. The vehicle image data is gray-processed in grayscale in the vehicle body front view, and a corresponding two-dimensional coordinate system is established with the processed vehicle image data and the intersection of the leftmost end of the vehicle and the ground in the vehicle body front view as the origin, the vertical line at the leftmost end of the vehicle as the Y-axis, and the horizon as the X-axis, and the vehicle image data is projected in the corresponding two-dimensional coordinate system; the coordinate values ​​of the vehicle image data and several preset vehicle body position points in the vehicle body front view are calculated, the coordinate values ​​corresponding to the vehicle image data are compared with the coordinate values ​​corresponding to the vehicle body front view, and the offset angle of the vehicle image data is determined; according to the offset angle and the position of the ETC device to be activated in the vehicle image data, the installation position of the ETC device to be activated on the vehicle is calculated.

[0110] Preferably, the identification of the vehicle image data to obtain the license plate number of the installed vehicle includes: obtaining a preset standard license plate image; performing grayscale processing and binarization processing on the vehicle image data in sequence, separating the license plate and the background in the vehicle image data, obtaining a first license plate image after removing the background and aligning the first license plate image with the standard license plate image; rotating the aligned first license plate image clockwise around the center point of the image, rotating 90° to obtain a second license plate image, rotating 180° to obtain a third license plate image, and rotating 270° to obtain a fourth license plate image; obtaining the positions of the character boundary boxes in the first license plate image, the second license plate image, the third license plate image, and the fourth license plate image, according to the character boundary boxes. The method comprises the steps of: determining the position of the frame, identifying a license plate image with characters horizontally sorted in positive order from the first license plate image, the second license plate image, the third license plate image and the fourth license plate image as the target license plate image; performing connected component processing on the target license plate image, marking the target characters in the target license plate image, and segmenting the character image of each target character in the target license plate image according to the distance between each connected component; comparing each character image with a font image in a preset font library, calculating the maximum overlapping area between the target character in the character image and the font of each font image, and when the overlapping area meets the preset condition, taking the font of the corresponding font image as the target font, and then sorting each target font to obtain the license plate number of the installed vehicle.

[0111] Preferably, the method of judging whether the ETC device to be activated is correctly installed on the bound vehicle based on the installation position, the license plate number of the installed vehicle, and the license plate number information bound to the ETC device to be activated includes: comparing the license plate number of the installed vehicle with the license plate number information bound to the ETC device to be activated, judging whether the license plate number of the installed vehicle is consistent with the license plate number information bound to the ETC device to be activated; if they are inconsistent, generating a corresponding ETC device installation vehicle error prompt; if they are consistent, judging that the ETC device to be activated has been installed on the bound vehicle, and according to the vehicle model information bound to the ETC device to be activated, obtaining the standard installation position of the ETC device corresponding to the vehicle model information in a preset database, and then comparing the installation position with the standard installation position to judge whether the installation position of the ETC device to be activated is correct; if it is correct, judging that the ETC device to be activated has been installed in the correct position on the bound vehicle; if it is incorrect, generating a corresponding ETC device installation position error prompt.

[0112] S104, identifying the installation position of the ETC device to be activated on the vehicle and the license plate number of the installed vehicle based on the vehicle image data and the bound vehicle model information of the ETC device to be activated, and judging whether the ETC device to be activated is correctly installed on the bound vehicle based on the installation position, the license plate number of the installed vehicle, and the license plate number information bound to the ETC device to be activated; the specific operation process is as follows:

[0113] (1) Identify the vehicle image data to obtain the license plate number of the installed vehicle:

[0114] a) Obtaining a preset standard license plate image;

[0115] Among them, the standard license plate image is pre-stored in the system, and only contains a standard image of license plate numbers sorted horizontally in positive order. It is subsequently used to compare with the vehicle image data of the ETC device to be activated, remove the image background in the vehicle image data and align the vehicle image data.

[0116] b) performing grayscale processing and binarization processing on the vehicle image data in sequence, separating the license plate and the background in the vehicle image data, obtaining a first license plate image after removing the background, and aligning the first license plate image with the standard license plate image;

[0117] c) rotating the aligned first license plate image clockwise by 90° to obtain the second license plate image, rotating by 180° to obtain the third license plate image, and rotating by 270° to obtain the fourth license plate image;

[0118] d) obtaining the positions of the character bounding boxes in the first license plate image, the second license plate image, the third license plate image, and the fourth license plate image, and identifying a license plate image in which characters are horizontally sorted in a positive order from the first license plate image, the second license plate image, the third license plate image, and the fourth license plate image according to the positions of the character bounding boxes as a target license plate image;

[0119] e) performing connected component processing on the target license plate image, marking target characters in the target license plate image, and segmenting a character image of each target character in the target license plate image according to the distance between each connected component;

[0120] f) Compare each of the character images with the font images in a preset font library, calculate the maximum overlap area between the target character in the character image and the font of each font image, and when the overlap area meets the preset conditions, use the font of the corresponding font image as the target font, and then sort the target fonts to obtain the license plate number of the installed vehicle.

[0121] (2) inputting the vehicle image data into a preset target recognition and positioning model, so that the target recognition and positioning model recognizes and locates the ETC device to be activated in the vehicle image data, and determines the position of the ETC device to be activated in the vehicle image data;

[0122] The vehicle image data is input into a pre-trained target recognition and positioning model, and the position of the ETC device to be activated in the vehicle image data is marked; wherein, a number of photos of the ETC device installed on the vehicle windshield are collected in advance and used as training samples to train the neural network model to obtain the target recognition and positioning model.

[0123] (3) Based on the vehicle model information bound to the ETC device to be activated, obtain the front view of the vehicle body on which the ETC device is installed from the preset vehicle model database;

[0124] The front views of the bodies of various common models on the market are collected in advance and stored in the system's model database. Then, when activating, the front view of the body of the installed vehicle can be directly obtained from the model database. If it is not in the model database, the front view of the body of the installed vehicle can also be obtained online, and after activation, the model of the vehicle and the front view of the body are associated and stored in the model database.

[0125] (4) grayscale processing is performed on the vehicle image data and the front view of the vehicle body, and a corresponding two-dimensional coordinate system is established with the intersection of the leftmost end of the vehicle and the ground in the processed vehicle image data and the front view of the vehicle body as the origin, the vertical line at the leftmost end of the vehicle as the Y axis, and the horizon as the X axis, and the vehicle image data is projected into the corresponding two-dimensional coordinate system;

[0126] (5) Calculating the coordinate values ​​of a plurality of preset vehicle body position points in the vehicle image data and the vehicle body front view, comparing the coordinate values ​​corresponding to the vehicle image data with the coordinate values ​​corresponding to the vehicle body front view, and determining the offset angle of the vehicle image data; and calculating the installation position of the ETC device to be activated on the vehicle based on the offset angle and the position of the ETC device to be activated in the vehicle image data;

[0127] (6) Compare the license plate number of the installed vehicle with the license plate number information bound to the ETC device to be activated to determine whether the license plate number of the installed vehicle is consistent with the license plate number information bound to the ETC device to be activated. If they are inconsistent, a corresponding ETC device installation vehicle error prompt is generated to prompt the owner that the ETC device is installed incorrectly and should be installed on the vehicle bound when applying for the ETC device;

[0128] If they are consistent, it is determined that the ETC device to be activated has been installed on the bound vehicle, and according to the vehicle type information bound to the ETC device to be activated, the standard installation position of the ETC device corresponding to the vehicle type information is obtained in a preset database, and then the installation position is compared with the standard installation position to determine whether the installation position of the ETC device to be activated is correct;

[0129] In a specific embodiment, for small vehicles such as cars and vans, the ETC device is generally preferably installed in the horizontal middle and upper part of the front windshield to ensure the best signal reception effect, while for large vehicles such as large trucks and buses, the ETC device is preferably installed in the horizontal middle and lower part of the front windshield to meet the special needs of large vehicles. Therefore, the standard installation position can be set as: small vehicles: horizontal middle and upper part of the front windshield; large vehicles: horizontal middle and lower part of the windshield.

[0130] If correct, it is determined that the ETC device to be activated has been installed in the correct position on the bound vehicle. If incorrect, a corresponding ETC device installation position error prompt is generated, reminding the car owner that the ETC device is installed in the wrong position and should be installed in the correct position on the vehicle windshield according to the device installation instructions.

[0131] S5. Control the ETC device to be activated to activate according to the activation instruction, and return the activation result.

[0132] After confirming that the ETC device to be activated has been correctly installed on the bound vehicle, the system interacts with the operator server and sends an activation confirmation message. After receiving the activation confirmation message, the operator server returns an activation instruction. The system controls the ETC device to be activated according to the activation instruction and returns the activation result. The activation is completed.

[0133] Embodiment 2

[0134] Please refer to Figure 2 , is a structural diagram of an ETC device activation system provided by an embodiment of the present invention, comprising: a data acquisition unit, a Bluetooth connection unit, an interaction unit, an activation confirmation unit and a device activation unit;

[0135] The data acquisition unit is used to acquire a device image including a device code of the ETC device to be activated, vehicle owner information, and vehicle image data including an installation location of the ETC device to be activated and a license plate number of the installed vehicle;

[0136] The Bluetooth connection unit is used to identify the device image to obtain the device code of the ETC device to be activated, and control the current terminal to establish a Bluetooth connection with the ETC device to be activated according to the device code of the ETC device to be activated;

[0137] The interaction unit is used to send the device code of the ETC device to be activated and the vehicle owner information to the operator server, so that the operator server determines whether the ETC device bound to the vehicle owner information and the ETC device to be activated are the same device according to the device code and the vehicle owner information, and if so, returns the license plate number information and vehicle model information bound to the ETC device to be activated;

[0138] The activation confirmation unit is used to identify the installation position of the ETC device to be activated on the vehicle and the license plate number of the installed vehicle according to the vehicle image data and the vehicle model information bound to the ETC device to be activated, and to determine whether the ETC device to be activated is correctly installed on the bound vehicle according to the installation position, the license plate number of the installed vehicle, and the license plate number information bound to the ETC device to be activated, and if so, to send activation confirmation information to the operator server, so that the operator server returns an activation instruction after receiving the activation confirmation information;

[0139] The device activation unit is used to control the ETC device to be activated to activate according to the activation instruction and return the activation result.

[0140] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.

[0141] Those skilled in the art can clearly understand that for the sake of convenience and brevity, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0142] Embodiment 3

[0143] Accordingly, an embodiment of the present invention provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the ETC device activation method described in the above-mentioned embodiment of the invention when executing the computer program.

[0144] The electronic device may be a computing device such as a desktop computer, a notebook, a palm computer, a cloud server, etc. The device may include, but is not limited to, a processor and a memory.

[0145] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the device, and various interfaces and lines are used to connect various parts of the entire device.

[0146] Embodiment 4

[0147] Accordingly, an embodiment of the present invention provides a storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the ETC device activation method described in the above-mentioned embodiment of the invention.

[0148] The memory can be used to store the computer program, and the processor realizes various functions of the device by running or executing the computer program stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0149] The storage medium is a computer-readable storage medium, and the computer program is stored in the computer-readable storage medium. When the computer program is executed by the processor, the steps of each method embodiment described above can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0150] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. An ETC device activation method, characterized in that: include: Acquire a device image including a device code of the ETC device to be activated, vehicle owner information, and vehicle image data including an installation location of the ETC device to be activated and a license plate number of the vehicle on which the ETC device is installed; Identify the device image to obtain the device code of the ETC device to be activated, turn on the Bluetooth of the current terminal, and compare the device names of the connectable Bluetooth devices in the connectable Bluetooth device list of the current terminal with the device codes of the ETC device to be activated in order from top to bottom. If there is a connectable Bluetooth device that meets the preset comparison conditions, determine that the connectable Bluetooth device that meets the preset comparison conditions is the ETC device to be activated, and obtain the Bluetooth signal strength value of the ETC device to be activated at the location of the current terminal; Determine the distance between the current terminal and the ETC device to be activated according to the Bluetooth signal strength value; Determining whether the current terminal is in an area where it can be stably connected to the ETC device to be activated according to the distance; If yes, directly control the current terminal to establish Bluetooth connection with the ETC device to be activated; If not, calculate the distance that the current terminal needs to move so that it can fall into the area where it can stably connect with the ETC device to be activated; Generate location movement prompt information of the current terminal according to the moving distance, so that the car owner moves the current terminal to the location of the ETC device to be activated according to the moving distance in the location movement prompt information, until it is determined that the current terminal falls into an area where it can be stably connected to the ETC device to be activated, and control the current terminal to establish a Bluetooth connection with the ETC device to be activated; Send the device code of the ETC device to be activated and the vehicle owner information to the operator server, so that the operator server can determine whether the ETC device bound to the vehicle owner information and the ETC device to be activated are the same device according to the device code and the vehicle owner information, and if so, return the license plate number information and vehicle model information bound to the ETC device to be activated; Identify the vehicle image data to obtain the license plate number of the installed vehicle; Inputting the vehicle image data into a preset target recognition and positioning model, so that the target recognition and positioning model can recognize and locate the ETC device to be activated in the vehicle image data, and determine the position of the ETC device to be activated in the vehicle image data; According to the vehicle model information bound to the ETC device to be activated, a front view of the vehicle body on which the device is installed is obtained from a preset vehicle model database; grayscale processing is performed on the vehicle image data and the front view of the vehicle body, and a corresponding two-dimensional coordinate system is established with the processed vehicle image data and the intersection of the leftmost end of the vehicle and the ground in the front view of the vehicle body as the origin, the vertical line at the leftmost end of the vehicle as the Y axis, and the horizon as the X axis, and the vehicle image data is projected into the corresponding two-dimensional coordinate system; Calculating the coordinate values ​​of a plurality of preset vehicle body position points in the vehicle image data and the vehicle body front view, comparing the coordinate values ​​corresponding to the vehicle image data with the coordinate values ​​corresponding to the vehicle body front view, and determining the offset angle of the vehicle image data; The installation position of the ETC device to be activated on the vehicle is calculated according to the offset angle and the position of the ETC device to be activated in the vehicle image data, and according to the installation position, the license plate number of the installed vehicle, and the license plate number information bound to the ETC device to be activated, it is determined whether the ETC device to be activated is correctly installed on the bound vehicle, and if so, an activation confirmation message is sent to the operator server, so that the operator server returns an activation instruction after receiving the activation confirmation message; According to the activation instruction, the ETC device to be activated is controlled to be activated, and the activation result is returned.

2. The ETC device activation method according to claim 1, characterized in that: The step of identifying the device image to obtain the device code of the ETC device to be activated includes: Obtain the coded image of the preset ETC device; Performing grayscale processing and binarization processing on the device image in sequence, separating the ETC device to be activated and the background in the device image, obtaining a first device image after removing the background, and aligning the first device image with the coded image; The aligned first device image is rotated clockwise by 90° to obtain a second device image, 180° to obtain a third device image, and 270° to obtain a fourth device image; Obtaining positions of character bounding boxes in the first device image, the second device image, the third device image, and the fourth device image, and identifying, according to the positions of the character bounding boxes, a device image in which characters are horizontally positively sorted from the first device image, the second device image, the third device image, and the fourth device image as a target device image; Performing connected component processing on the target device image, marking target characters in the target device image, and segmenting a character image of each target character in the target device image according to the distance between each connected component; Each of the character images is compared with the font images in the preset font library, and the maximum overlapping area between the target character in the character image and the font of each font image is calculated. When the overlapping area meets the preset conditions, the font of the corresponding font image is used as the target font, and then the target fonts are sorted to obtain the device code of the ETC device to be activated.

3. The ETC device activation method according to claim 1, characterized in that: The step of identifying the vehicle image data to obtain the license plate number of the installed vehicle includes: Get the preset standard license plate image; Sequentially performing grayscale processing and binarization processing on the vehicle image data, separating the license plate and the background in the vehicle image data, obtaining a first license plate image after removing the background, and aligning the first license plate image with the standard license plate image; The aligned first license plate image is rotated clockwise by 90° to obtain a second license plate image, 180° to obtain a third license plate image, and 270° to obtain a fourth license plate image; Obtaining positions of character bounding boxes in the first license plate image, the second license plate image, the third license plate image, and the fourth license plate image, and identifying a license plate image in which characters are horizontally sorted in a positive order from the first license plate image, the second license plate image, the third license plate image, and the fourth license plate image according to the positions of the character bounding boxes as a target license plate image; Performing connected component processing on the target license plate image, marking target characters in the target license plate image, and segmenting a character image of each target character in the target license plate image according to the distance between each connected component; Each of the character images is compared with the font images in the preset font library, and the maximum overlapping area between the target character in the character image and the font of each font image is calculated. When the overlapping area meets the preset conditions, the font of the corresponding font image is used as the target font, and then the target fonts are sorted to obtain the license plate number of the installed vehicle.

4. The ETC device activation method according to claim 3, characterized in that: The determining, based on the installation position, the license plate number of the installed vehicle, and the license plate number information bound to the ETC device to be activated, whether the ETC device to be activated is correctly installed on the bound vehicle includes: Compare the license plate number of the installed vehicle with the license plate number information bound to the ETC device to be activated to determine whether the license plate number of the installed vehicle is consistent with the license plate number information bound to the ETC device to be activated. If they are inconsistent, generate a corresponding ETC device installation vehicle error prompt; If they are consistent, it is determined that the ETC device to be activated has been installed on the bound vehicle, and according to the vehicle model information bound to the ETC device to be activated, the standard installation position of the ETC device corresponding to the vehicle model information is obtained in the preset database, and then the installation position is compared with the standard installation position to determine whether the installation position of the ETC device to be activated is correct. If it is correct, it is determined that the ETC device to be activated has been installed in the correct position on the bound vehicle. If it is incorrect, the corresponding ETC device installation position error prompt is generated.

5. An ETC equipment activation system, characterized in that: include: Data acquisition unit, Bluetooth connection unit, interaction unit, activation confirmation unit and device activation unit; The data acquisition unit is used to acquire a device image including a device code of the ETC device to be activated, vehicle owner information, and vehicle image data including an installation location of the ETC device to be activated and a license plate number of the installed vehicle; The Bluetooth connection unit is used to identify the device image to obtain the device code of the ETC device to be activated, turn on the Bluetooth of the current terminal, and compare the device names of the connectable Bluetooth devices in the connectable Bluetooth device list of the current terminal with the device codes of the ETC device to be activated in order from top to bottom. If there is a connectable Bluetooth device that meets the preset comparison condition, the connectable Bluetooth device that meets the preset comparison condition is determined to be the ETC device to be activated, and obtain the Bluetooth signal strength value of the ETC device to be activated at the location of the current terminal; Determine the distance between the current terminal and the ETC device to be activated according to the Bluetooth signal strength value; Determining whether the current terminal is in an area where it can be stably connected to the ETC device to be activated according to the distance; If yes, directly control the current terminal to establish Bluetooth connection with the ETC device to be activated; If not, calculate the distance that the current terminal needs to move so that it can fall into the area where it can stably connect with the ETC device to be activated; Generate location movement prompt information of the current terminal according to the moving distance, so that the car owner moves the current terminal to the location of the ETC device to be activated according to the moving distance in the location movement prompt information, until it is determined that the current terminal falls into an area where it can be stably connected to the ETC device to be activated, and control the current terminal to establish a Bluetooth connection with the ETC device to be activated; The interaction unit is used to send the device code of the ETC device to be activated and the vehicle owner information to the operator server, so that the operator server determines whether the ETC device bound to the vehicle owner information and the ETC device to be activated are the same device according to the device code and the vehicle owner information, and if so, returns the license plate number information and vehicle model information bound to the ETC device to be activated; The activation confirmation unit is used to identify the vehicle image data to obtain the license plate number of the installed vehicle; Inputting the vehicle image data into a preset target recognition and positioning model, so that the target recognition and positioning model can recognize and locate the ETC device to be activated in the vehicle image data, and determine the position of the ETC device to be activated in the vehicle image data; According to the vehicle model information bound to the ETC device to be activated, a front view of the vehicle body on which the device is installed is obtained from a preset vehicle model database; grayscale processing is performed on the vehicle image data and the front view of the vehicle body, and a corresponding two-dimensional coordinate system is established with the processed vehicle image data and the intersection of the leftmost end of the vehicle and the ground in the front view of the vehicle body as the origin, the vertical line at the leftmost end of the vehicle as the Y axis, and the horizon as the X axis, and the vehicle image data is projected into the corresponding two-dimensional coordinate system; Calculating the coordinate values ​​of a plurality of preset vehicle body position points in the vehicle image data and the vehicle body front view, comparing the coordinate values ​​corresponding to the vehicle image data with the coordinate values ​​corresponding to the vehicle body front view, and determining the offset angle of the vehicle image data; The installation position of the ETC device to be activated on the vehicle is calculated according to the offset angle and the position of the ETC device to be activated in the vehicle image data, and according to the installation position, the license plate number of the installed vehicle, and the license plate number information bound to the ETC device to be activated, it is determined whether the ETC device to be activated is correctly installed on the bound vehicle, and if so, an activation confirmation message is sent to the operator server, so that the operator server returns an activation instruction after receiving the activation confirmation message; The device activation unit is used to control the ETC device to be activated to activate according to the activation instruction and return the activation result.

6. An electronic device, characterized in that: The invention comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, the ETC device activation method according to any one of claims 1 to 4 is implemented.

7. A storage medium, characterized in that: The storage medium includes a stored computer program, wherein when the computer program is executed, the device where the storage medium is located is controlled to execute the ETC device activation method as described in any one of claims 1 to 4.