Lane marking method and device for highway

By determining the shoulder position of the highway and using cameras and UWB positioning technology to control the marking equipment, it solves the problem of low efficiency of highway lane marking and achieves efficient and accurate lane marking, which is suitable for modern road construction.

CN118166630BInactive Publication Date: 2024-09-20SHENZHEN POLYTECHNIC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410305789.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-18
Publication Date
2024-09-20
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the existing technology, the efficiency of highway lane marking is low, the manual operation efficiency is low and the accuracy is difficult to guarantee, and it cannot meet the needs of modern road construction.

Method used

By determining the shoulder position of the highway, the camera is used to perform image processing to extract the feature information of the shoulder, and the UWB positioning and IMU sensor are used to control the marking equipment to mark the lane along the parallel direction of the shoulder to achieve automated and intelligent marking operations.

Benefits of technology

It improves the efficiency and accuracy of lane marking, avoids the limitations of manual recognition, enhances positioning accuracy and reliability, and is suitable for marking operations on highways and urban roads.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118166630B
    Figure CN118166630B
Patent Text Reader

Abstract

The present invention relates to the field of lane marking technology, and in particular to a lane marking method and device for highways. The method first determines the position of a highway shoulder, and then controls at least one marking device to mark the lane along a parallel line direction of the shoulder based on the position of the highway shoulder, thereby improving the efficiency of highway lane marking.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of lane marking, and in particular to a method and device for lane marking on a highway. Background Art

[0002] Road marking is an important part of the road traffic sign system. It can directly guide vehicle driving and parking, guide pedestrians, improve road traffic efficiency, and ensure traffic safety. Road marking plays the role of "eyes", which can help drivers predict road conditions in advance and avoid traffic accidents. At the same time, road marking can also improve the beauty of the city and provide a more comfortable environment for urban traffic.

[0003] In the related art, lane marking on highways is usually done manually, but this method is inefficient.

[0004] Based on this, the present invention proposes a lane marking method and device for a highway to solve the above technical problems. Summary of the invention

[0005] The present invention describes a lane marking method and device for a highway, which can improve the lane marking efficiency of the highway.

[0006] According to a first aspect, the present invention provides a method for lane marking on a highway, comprising:

[0007] Determine the location of highway shoulders;

[0008] Based on the position of the road shoulder, at least one lane marking device is controlled to perform lane marking along a line parallel to the road shoulder.

[0009] According to a second aspect, the present invention provides a lane marking device for a highway, comprising:

[0010] a determination unit configured to determine a shoulder position of the highway;

[0011] The control unit is configured to control at least one marking device to perform lane marking along a parallel line direction of the shoulder based on the position of the shoulder.

[0012] According to the lane marking method and device for highways provided by the present invention, the position of the highway shoulder is first determined, and then at least one marking device is controlled based on the shoulder position to perform lane marking in a direction parallel to the shoulder, thereby improving the lane marking efficiency of the highway. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0014] Figure 1 A schematic diagram of a process of a lane marking method for a highway according to an embodiment is shown;

[0015] Figure 2 A schematic block diagram of a lane marking device for a highway according to an embodiment is shown;

[0016] Figure 3 A schematic structural diagram of a scribing device according to an embodiment is shown. DETAILED DESCRIPTION

[0017] The solution provided by the present invention is described below in conjunction with the accompanying drawings.

[0018] Figure 1 A schematic diagram of a method for marking lanes on a highway according to an embodiment is shown. It is understood that the method can be executed by any device, equipment, platform, or device cluster with computing and processing capabilities. Figure 1 As shown, the method includes:

[0019] Step 100, determining the shoulder position of the expressway;

[0020] Step 102: Based on the position of the road shoulder, control at least one marking device to perform lane marking along a direction parallel to the road shoulder.

[0021] In this embodiment, the position of the highway shoulder is first determined, and then based on the position of the highway shoulder, at least one lane marking device is controlled to perform lane marking in a direction parallel to the shoulder, thereby improving the lane marking efficiency of the highway.

[0022] As a preferred embodiment, the marking device includes a main marking device, and the step of "determining the shoulder position of the highway" may specifically include:

[0023] The road image of the expressway is collected by using the camera of the main road marking equipment;

[0024] Extract features from road images to obtain shoulder feature information of expressways;

[0025] The shoulder feature information is input into the pre-built shoulder model to obtain the shoulder position of the highway.

[0026] As a preferred implementation, the step of "extracting features from the road image to obtain shoulder feature information of the expressway" may specifically include:

[0027] The road image is processed as follows to obtain a first foreground area and a first background area:

[0028] f1(x,y)=0.229*R(x,y)+0.587*G(x,y)+0.114*B(x,y)

[0029]

[0030]

[0031] Where f1(x,y) is the grayscale pixel value of the road image, R(x,y) is the red pixel value of the road image, G(x,y) is the green pixel value of the road image, B(x,y) is the blue pixel value of the road image, f2(x,y) is the grayscale pixel value of the road image after denoising, S is the road image, x (i,j) is the grayscale pixel value in the road image, Med is the middle value of the grayscale pixel value in the road image, T0 is the initial segmentation threshold, f2(x,y) max is the maximum value of the grayscale pixel value of the road image after denoising, f2(x,y) min is the minimum value of the grayscale pixel value of the road image after denoising;

[0032] The area with grayscale pixel value greater than T0 is taken as the first foreground area, and the area with grayscale pixel value not greater than T0 is taken as the first background area;

[0033] Determine the updated grayscale pixel value of the road image based on the following formula;

[0034] TH=max{T1,f1(x,y) mean}

[0035] T1=f1(x,y) mean *(1+k1*(s1 / r1-1))

[0036] TL=max{T2,f2(x,y) mean}

[0037] T2=f2(x,y) mean *(1+k2*(s2 / r2-1))

[0038]

[0039] Where T1 is the local segmentation threshold of the first foreground area, T2 is the local segmentation threshold of the first background area, and f1(x,y) mean is the average value of the grayscale pixel values ​​of the first foreground area, s1 is the standard deviation of the grayscale pixel values ​​of the first foreground area, k1 is a preset value that is consistent with f1(x, y) mean The relevant scaling factor, k1 is greater than or equal to 0, r1 is a preset constant, f2(x,y) mean is the average value of the grayscale pixel values ​​of the first background area, s2 is the standard deviation of the grayscale pixel values ​​of the first background area, k2 is a preset value that is consistent with f2(x, y) mean The relevant scaling factor, k2 is greater than or equal to 0, r2 is a preset constant, and f(x, y) is the grayscale pixel value after the road image is updated; wherein the area where f(x, y) = 255 is the second foreground area, and the area where f(x, y) = 0 is the second background area;

[0040] Feature extraction is performed on the second foreground area to obtain the shoulder feature information of the expressway.

[0041] In this embodiment, the calculation formula of f1(x, y) can ensure the best contrast between the road shoulder and the middle area of ​​the road, and the calculation formula of f2(x, y) can suppress the noise in the image. After obtaining the first foreground area and the first background area, the updated grayscale pixel value of the road image is determined, and the feature information of the shoulder of the highway is obtained by feature extraction of the updated second foreground area, which can further increase the iconic distinction between the road shoulder and other areas.

[0042] As a preferred embodiment, the marking device further comprises at least one slave marking device, and the master marking device is provided with a UWB transmitter and an IMU sensor;

[0043] The step of “controlling at least one marking device to perform lane marking along a parallel line direction of the shoulder based on the position of the shoulder” may specifically include:

[0044] Based on the position of the shoulder, the main marking equipment is controlled to mark the lanes along the parallel line direction of the shoulder;

[0045] Use UWB transmitter to obtain the location information of the main marking equipment;

[0046] Use IMU sensors to obtain the attitude information of the main marking equipment;

[0047] Based on the position information and the posture information, the slave lane marking device is controlled to follow the master lane marking device to synchronously perform lane marking in a manner of being separated by a preset distance and having the same lane marking posture.

[0048] It should be noted that lane marking on a highway can be performed using either a main lane marking device or a main lane marking device and at least one slave lane marking device, and the latter is more efficient than the former in lane marking.

[0049] Ultra-wideband (UWB) is a carrier-free communication technology. Compared with other communication technologies, UWB can achieve high-precision ranging, usually within a few centimeters to a few millimeters. Secondly, UWB signals have strong penetration capabilities in complex environments and can achieve reliable ranging indoors, outdoors, and in environments with more multipath interference.

[0050] like Figure 3 As shown in FIG. 1 , it is a schematic diagram of the structure of a master lane marking device or a slave lane marking device. The master lane marking device includes a camera for collecting road images of the highway, a UWB transmitter for transmitting UWB signals, a pigment tank for filling a specific pigment for lane lines, and a nozzle for spraying the pigment. The IMU sensor is not shown in the figure.

[0051] As a preferred implementation, the position information of the main marking device is obtained by the following formula:

[0052] l Tag =A -1 B

[0053]

[0054]

[0055]

[0056] In the formula, Indicates the location information of the main marking equipment, d i The distances from the main marking device to the three preset UWB receivers, (x1, y1), (x2, y2), and (x3, y3) respectively represent the position information of the three UWB receivers.

[0057] In some embodiments, the technology provided by the present invention may include the following steps:

[0058] 1) Use a camera to capture road images and transmit the image data to an image processing system;

[0059] After starting the road marking equipment, the camera starts to capture road images and transmits the image data to the operation interface. The operator can view the road images in real time through the operation interface and perform pre-processing on the images, such as denoising and enhancement, to improve the image quality.

[0060] 2) The image processing system processes the image data and extracts the characteristic information of the road boundary, i.e., the shoulder;

[0061] 3) Match the feature information with the pre-built shoulder model to identify the location of the shoulder;

[0062] The pre-processed road image is automatically recognized using image processing technology. First, the road area (i.e., foreground area) and the non-road area (i.e., background area) are separated by image segmentation technology, and the characteristic information of the road boundary, i.e., the shoulder, is extracted. Then, the characteristic information is matched with the pre-built shoulder model to identify the location of the shoulder.

[0063] 4) According to the tangent direction of the shoulder, control the main marking equipment to perform marking operations;

[0064] 5) Use UWB positioning technology and IMU sensors to obtain the current position and attitude information of the main marking equipment;

[0065] Using UWB positioning technology and IMU sensors, the current position and posture information of the marking equipment can be accurately obtained. The UWB positioning system calculates the target position by sending a pulse signal to the target and measuring the signal return time. This technology has the advantages of high precision and strong anti-interference ability, and can provide reliable position information for marking operations.

[0066] 6) According to the position and posture information of the main marking device, the slave marking device maintains the same posture information as the main marking device, moves at a set distance and performs marking operations;

[0067] According to the identified shoulder position and marking equipment position information, the distance between the shoulder and the lane line is fixed, so that the marking equipment can plan the path according to the path of the shoulder. Specifically, the shoulder is identified, the position of the marking line can be determined according to the fixed distance between the shoulder and the lane line, and the actual path of the marking line can be determined according to the marking equipment position information. In this way, accurate marking of complex roads can be achieved.

[0068] In summary, the present invention aims to provide a marking technology that uses a camera to identify the road shoulder and UWB to locate the position of the marking equipment, so as to improve the accuracy and efficiency of marking. The existing marking methods have problems such as low manual operation efficiency, difficulty in ensuring accuracy, and difficult working conditions, and cannot meet the needs of modern road construction. Therefore, the present invention combines camera recognition and UWB positioning technology to achieve automatic recognition of road shoulders and accurate measurement of the position of marking equipment, thereby improving the accuracy and efficiency of marking and providing a new solution for modern road construction. Specifically, the innovations of the present invention include:

[0069] 1) Automatically identify road shoulders using image processing technology, avoiding the limitations of traditional manual recognition methods and improving recognition accuracy and efficiency;

[0070] 2) UWB positioning technology is used to achieve accurate measurement of marking equipment, improving positioning accuracy and reliability;

[0071] 3) Combining camera recognition and UWB positioning technology, the line marking is automated and intelligent, and the efficiency and accuracy of line marking are improved;

[0072] 4) The technical solution of the present invention is simple and easy to implement, and can be widely used in marking operations in places such as highways and urban roads.

[0073] The above describes specific embodiments of the present invention. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0074] According to another embodiment, the present invention provides a lane marking device for a highway. Figure 2 FIG. 1 is a schematic block diagram of a lane marking device for a highway according to an embodiment. It is understood that the device can be implemented by any device, equipment, platform, or device cluster with computing and processing capabilities. Figure 2 As shown, the device includes: a determination unit 200 and a control unit 202. The main functions of each component unit are as follows:

[0075] The determination unit 200 is configured to determine the position of the shoulder of the highway;

[0076] The control unit 202 is configured to control at least one marking device to perform lane marking along a parallel line direction of the shoulder based on the position of the shoulder.

[0077] As a preferred implementation, the marking device includes a main marking device, and the determining unit is specifically configured to perform the following operations:

[0078] Using the camera of the main marking device to collect a road image of the expressway;

[0079] Extracting features from the road image to obtain shoulder feature information of the expressway;

[0080] The shoulder feature information is input into a pre-built shoulder model to obtain the shoulder position of the highway.

[0081] As a preferred implementation manner, when the determining unit performs the feature extraction on the road image to obtain the shoulder feature information of the highway, it is specifically used to perform the following operations:

[0082] The road image is processed in the following manner to obtain a first foreground area and a first background area:

[0083] f1(x,y)=0.229*R(x,y)+0.587*G(x,y)+0.114*B(x,y)

[0084]

[0085]

[0086] Wherein, f1(x,y) is the grayscale pixel value of the road image, R(x,y) is the red pixel value of the road image, G(x,y) is the green pixel value of the road image, B(x,y) is the blue pixel value of the road image, f2(x,y) is the grayscale pixel value of the road image after denoising, S is the road image, x (i,j) is the grayscale pixel value in the road image, Med is the middle value of the grayscale pixel value in the road image, T0 is the initial segmentation threshold, f2(x,y) max is the maximum value of the grayscale pixel value of the road image after denoising, f2(x,y) min is the minimum value of the grayscale pixel value of the road image after denoising;

[0087] The area with grayscale pixel value greater than T0 is taken as the first foreground area, and the area with grayscale pixel value not greater than T0 is taken as the first background area;

[0088] Determine the updated grayscale pixel value of the road image based on the following formula;

[0089] TH=max{T1,f1(x,y) mean}

[0090] T1=f1(x,y) mean *(1+k1*(s1 / r1-1))

[0091] TL=max{T2,f2(x,y) mean}

[0092] T2=f2(x,y) mean *(1+k2*(s2 / r2-1))

[0093]

[0094] Where, T1 is the local segmentation threshold of the first foreground area, T2 is the local segmentation threshold of the first background area, and f1(x, y) mean is the average value of the grayscale pixel values ​​of the first foreground area, s1 is the standard deviation of the grayscale pixel values ​​of the first foreground area, k1 is a preset constant that is the same as f1(x, y) mean The relevant scaling factor, k1 is greater than or equal to 0, r1 is a preset constant, f2(x,y) mean is the average value of the grayscale pixel values ​​of the first background area, s2 is the standard deviation of the grayscale pixel values ​​of the first background area, k2 is a preset constant that is the same as f2(x, y) mean The relevant scaling factor, k2 is greater than or equal to 0, r2 is a preset constant, and f(x, y) is the grayscale pixel value of the road image after updating; wherein the area where f(x, y) = 255 is the second foreground area, and the area where f(x, y) = 0 is the second background area;

[0095] Feature extraction is performed on the second foreground area to obtain shoulder feature information of the highway.

[0096] As a preferred embodiment, the marking device further comprises at least one slave marking device, and the master marking device is provided with a UWB transmitter and an IMU sensor;

[0097] The control unit is specifically used to perform the following operations:

[0098] Based on the position of the road shoulder, controlling the main marking device to perform lane marking along a parallel line direction of the road shoulder;

[0099] Acquiring the location information of the main marking device using the UWB transmitter;

[0100] Using the IMU sensor to obtain the posture information of the main marking device;

[0101] Based on the position information and the posture information, the slave lane marking device is controlled to follow the master lane marking device to synchronously perform lane marking in a manner of being separated by a preset distance and having the same lane marking posture.

[0102] As a preferred implementation, the position information of the main marking device is obtained by the following formula:

[0103] l Tag =A -1 B

[0104]

[0105]

[0106]

[0107] In the formula, Indicates the position information of the main marking device, d i are the distances from the main marking device to three preset UWB receivers, and (x1, y1), (x2, y2), and (x3, y3) respectively represent the position information of the three UWB receivers.

[0108] According to another embodiment of the present invention, there is also provided an electronic device, comprising a memory and a processor, wherein the memory stores an executable code, and when the processor executes the executable code, the Figure 1 The method described.

[0109] The various embodiments of the present invention are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0110] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the present invention can be implemented by hardware, software, firmware or any combination thereof. When implemented by software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium.

[0111] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solution of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for marking lanes on a highway, characterized in that: include: Determine the location of highway shoulders; Based on the position of the road shoulder, controlling at least one marking device to perform lane marking along a direction parallel to the road shoulder; The marking device includes a main marking device, and the step of determining the shoulder position of the expressway includes: Using the camera of the main marking device to collect a road image of the expressway; Extracting features from the road image to obtain shoulder feature information of the expressway; Inputting the shoulder feature information into a pre-built shoulder model to obtain the shoulder position of the highway; The step of extracting features from the road image to obtain shoulder feature information of the expressway includes: The road image is processed in the following manner to obtain a first foreground area and a first background area: f1(x,y)=0.229*R(x,y)+0.587*G(x,y)+0.114*B(x,y) Wherein, f1(x,y) is the grayscale pixel value of the road image, R(x,y) is the red pixel value of the road image, G(x,y) is the green pixel value of the road image, B(x,y) is the blue pixel value of the road image, f2(x,y) is the grayscale pixel value of the road image after denoising, S is the road image, x (i,j) is the grayscale pixel value in the road image, Med is the middle value of the grayscale pixel value in the road image, T0 is the initial segmentation threshold, f2(x,y) max is the maximum value of the grayscale pixel value of the road image after denoising, f2(x,y) min is the minimum value of the grayscale pixel value of the road image after denoising; The area with grayscale pixel value greater than T0 is taken as the first foreground area, and the area with grayscale pixel value not greater than T0 is taken as the first background area; Determine the updated grayscale pixel value of the road image based on the following formula; TH=max{T1,f1(x,y) mean } T1=f1(x,y) mean *(1+k1*(s1 / r1-1)) <h2 style=";text-align:left;direction:ltr">TL = max {T2,f2(x,y)<h2 style=";text-align:left;direction:ltr"> mean <h2 style=";text-align:left;direction:ltr">} <h2 style=";text-align:left;direction:ltr">T2 = f2(x,y)<h2 style=";text-align:left;direction:ltr"> mean <h2 style=";text-align:left;direction:ltr"> *(1+k2*(s2 / r2-1)) Where, T1 is the local segmentation threshold of the first foreground area, T2 is the local segmentation threshold of the first background area, and f1(x, y) mean is the average value of the grayscale pixel values ​​of the first foreground area, s1 is the standard deviation of the grayscale pixel values ​​of the first foreground area, k1 is a preset constant that is the same as f1(x, y) mean The relevant scaling factor, k1 is greater than or equal to 0, r1 is a preset constant, f2(x,y) mean is the average value of the grayscale pixel values ​​of the first background area, s2 is the standard deviation of the grayscale pixel values ​​of the first background area, k2 is a preset constant that is the same as f2(x, y) mean The relevant scaling factor, k2 is greater than or equal to 0, r2 is a preset constant, and f(x, y) is the grayscale pixel value of the road image after updating; wherein the area where f(x, y) = 255 is the second foreground area, and the area where f(x, y) = 0 is the second background area; Feature extraction is performed on the second foreground area to obtain shoulder feature information of the highway.

2. The method according to claim 1, characterized in that: The marking device further comprises at least one slave marking device, and the master marking device is provided with a UWB transmitter and an IMU sensor; The step of controlling at least one marking device to perform lane marking along a parallel line direction of the shoulder based on the position of the shoulder comprises: Based on the position of the road shoulder, controlling the main marking device to perform lane marking along a parallel line direction of the road shoulder; Acquiring the location information of the main marking device using the UWB transmitter; Using the IMU sensor to obtain the posture information of the main marking device; Based on the position information and the posture information, the slave lane marking device is controlled to follow the master lane marking device to synchronously perform lane marking in a manner of being separated by a preset distance and having the same lane marking posture.

3. The method according to claim 2, characterized in that The position information of the main marking device is obtained by the following formula: l Tag =A -1 B In the formula, Indicates the position information of the main marking device, d i are the distances from the main marking device to three preset UWB receivers, and (x1, y1), (x2, y2), and (x3, y3) respectively represent the position information of the three UWB receivers.

4. A lane marking device for a highway, characterized in that: include: a determination unit configured to determine a shoulder position of the highway; a control unit configured to control at least one marking device to perform lane marking along a parallel line direction of the shoulder based on the position of the shoulder; The marking device includes a main marking device, and the determining unit is specifically configured to perform the following operations: Using the camera of the main marking device to collect a road image of the expressway; Extracting features from the road image to obtain shoulder feature information of the expressway; Inputting the shoulder feature information into a pre-built shoulder model to obtain the shoulder position of the highway; When the determining unit extracts features from the road image to obtain the shoulder feature information of the expressway, the determining unit is specifically configured to perform the following operations: The road image is processed in the following manner to obtain a first foreground area and a first background area: f1(x,y)=0.229*R(x,y)+0.587*G(x,y)+0.114*B(x,y) Wherein, f1(x,y) is the grayscale pixel value of the road image, R(x,y) is the red pixel value of the road image, G(x,y) is the green pixel value of the road image, B(x,y) is the blue pixel value of the road image, f2(x,y) is the grayscale pixel value of the road image after denoising, S is the road image, x (i,j) is the grayscale pixel value in the road image, Med is the middle value of the grayscale pixel value in the road image, T0 is the initial segmentation threshold, f2(x,y) max is the maximum value of the grayscale pixel value of the road image after denoising, f2(x,y) min is the minimum value of the grayscale pixel value of the road image after denoising; The area with grayscale pixel value greater than T0 is taken as the first foreground area, and the area with grayscale pixel value not greater than T0 is taken as the first background area; Determine the updated grayscale pixel value of the road image based on the following formula; TH=max{T1,f1(x,y) mean } T1=f1(x,y) mean *(1+k1*(s1 / r1-1)) <h2 style=";text-align:left;direction:ltr">TL = max {T2,f2(x,y)<h2 style=";text-align:left;direction:ltr"> mean <h2 style=";text-align:left;direction:ltr">} <h2 style=";text-align:left;direction:ltr">T2 = f2(x,y)<h2 style=";text-align:left;direction:ltr"> mean <h2 style=";text-align:left;direction:ltr"> *(1+k2*(s2 / r2-1)) Where, T1 is the local segmentation threshold of the first foreground area, T2 is the local segmentation threshold of the first background area, and f1(x, y) mean is the average value of the grayscale pixel values ​​of the first foreground area, s1 is the standard deviation of the grayscale pixel values ​​of the first foreground area, k1 is a preset constant that is the same as f1(x, y) mean The relevant scaling factor, k1 is greater than or equal to 0, r1 is a preset constant, f2(x,y) mean is the average value of the grayscale pixel values ​​of the first background area, s2 is the standard deviation of the grayscale pixel values ​​of the first background area, k2 is a preset constant that is the same as f2(x, y) mean The relevant scaling factor, k2 is greater than or equal to 0, r2 is a preset constant, and f(x, y) is the grayscale pixel value of the road image after updating; wherein the area where f(x, y) = 255 is the second foreground area, and the area where f(x, y) = 0 is the second background area; Feature extraction is performed on the second foreground area to obtain shoulder feature information of the highway.

5. The device according to claim 4, characterized in that The marking device further comprises at least one slave marking device, and the master marking device is provided with a UWB transmitter and an IMU sensor; The control unit is specifically used to perform the following operations: Based on the position of the road shoulder, controlling the main marking device to perform lane marking along a parallel line direction of the road shoulder; Acquiring the location information of the main marking device using the UWB transmitter; Using the IMU sensor to obtain the posture information of the main marking device; Based on the position information and the posture information, the slave lane marking device is controlled to follow the master lane marking device to synchronously perform lane marking in a manner of being separated by a preset distance and having the same lane marking posture.

6. The device according to claim 5, characterized in that The position information of the main marking device is obtained by the following formula: l Tag =A -1 B In the formula, Indicates the position information of the main marking device, d i are the distances from the main marking device to three preset UWB receivers, and (x1, y1), (x2, y2), and (x3, y3) respectively represent the position information of the three UWB receivers.