A road imaging brightness vehicle-mounted dynamic detection system and a dynamic detection method

By integrating an imaging luminance meter and a positioning sensor onto a vehicle, and combining them with image processing technology, continuous detection of road brightness is achieved. This solves the problems of convenience and safety in full-line brightness detection in existing technologies, and improves detection efficiency and accuracy.

CN123155019APending Publication Date: 2026-11-24GUANGDONG HUALU TRANSPORTATION TECHNOLOGY CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611020364.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-09
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing methods for detecting road surface brightness are difficult to use for continuous testing of brightness across the entire road or convenient statistical analysis of brightness distribution over a large area on busy roads, and they also suffer from problems such as high labor costs and significant safety risks.

Method used

The vehicle-mounted dynamic detection system for road imaging brightness integrates an imaging brightness meter onto a moving vehicle. Combined with a positioning sensor, it continuously acquires road brightness images and uses image processing technology to automatically identify brightness test areas and dynamically occluded targets, enabling continuous data acquisition and automated analysis without closing the road.

Benefits of technology

It enables continuous acquisition of large-area road surface brightness image data without closing the road while the vehicle is in motion, improving detection efficiency, safety and accuracy, reducing labor costs and operational risks, and more closely reflecting the real brightness changes perceived by the human eye.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123155019A_ABST
    Figure CN123155019A_ABST
Patent Text Reader

Abstract

The present application provides a kind of road imaging brightness vehicle-mounted dynamic detection system and dynamic detection method, by continuously dynamic acquisition road image and positioning data in the actual driving process of vehicle, the road surface brightness information of effective area in lane is extracted from road brightness image quickly and distribution diagram is generated, the efficiency, authenticity, safety and human eye visual matching degree of road surface brightness detection are significantly improved.Specifically, by setting the brightness imaging meter on the vehicle in driving, a large amount of road brightness image data is obtained, continuous detection of road image is realized, so as to easily identify the continuity change of road surface brightness information, at the same time, by combining image recognition technology, the lane line definition brightness test area is effectively identified and completed, and the dynamic shielding target in the brightness test area is effectively identified, so that more effective brightness test area and road surface brightness information are more accurately obtained, the authenticity and reliability of road surface brightness detection are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of road imaging brightness detection technology, and more specifically, to a vehicle-mounted dynamic detection system and method for road imaging brightness. Background Technology

[0002] Road surface brightness testing plays a fundamental role in ensuring road traffic safety. Current Chinese standards and specifications, such as the *Highway Lighting Technical Conditions*, *Urban Road Lighting Design Standards*, *Lighting Measurement Methods*, and *Highway Electromechanical Engineering Testing Procedures*, stipulate parameters for road types and corresponding average road surface brightness, overall road surface brightness uniformity, longitudinal road surface brightness uniformity, and glare threshold increment, as well as indoor and outdoor lighting measurement methods. The latest highway electromechanical engineering inspection and evaluation standard, *Highway Engineering Quality Inspection and Evaluation Standards, Volume II: Electromechanical Engineering* (JTG 2182-2020), also includes road surface brightness and uniformity as test items for evaluating the quality of lighting facilities. The importance of road surface brightness testing stems from the direct correlation between road surface brightness parameters and their uniformity levels and driving safety. For example, insufficient average road surface brightness can easily prevent drivers from timely identifying obstacles or pedestrians; insufficient road surface brightness uniformity can easily create blind spots in excessively dark areas or produce strong visual contrasts in excessively bright areas, affecting the driver's visual continuity and interfering with judgment; and road lights, when shining directly or reflecting glare, can interfere with the driver's vision, creating a risk of momentary "visual blindness."

[0003] Currently, road surface brightness detection mainly relies on three methods: illuminance conversion method, single-point luminance meter measurement method, and imaging luminance meter measurement method. The illuminance conversion method measures the road surface illuminance and then converts it into brightness based on parameters such as road surface material and reflection characteristics. Its advantages are that it does not require expensive brightness measurement equipment, is relatively simple to operate, and can quickly obtain estimated data over a large area. However, its disadvantages are also quite obvious: the conversion accuracy is highly dependent on the assumptions about the road surface reflection characteristics, while the actual road surface will change due to materials, aging, pollution, etc., resulting in large errors. The cost of single-point luminance meters is relatively moderate, but they can only measure the average brightness of a small area. When facing large-scale scenarios such as road lighting, not only is the measurement task heavy and there are many error factors, but the traditional point measurement method is not only cumbersome to operate and has a large amount of data processing, but more importantly, the measurement usually requires a closed road area, resulting in high labor and social costs. In addition, since brightness perception is closely related to the human eye's line of sight, the direction of light incidence, and the direction of road surface reflection, it is difficult to fully reflect the brightness situation actually observed by the human eye through static measurement with a single-point luminance meter.

[0004] In contrast, imaging luminance meters can acquire a large amount of measurement data at a higher resolution in one go. However, existing imaging luminance meters still face challenges in road inspection: First, traffic control is required when conducting inspections on busy highways or main roads. As traffic flow increases, staff and equipment face significant safety risks. Second, the testing process relies on manual shooting, image import, and manual selection of analysis areas. This involves a lot of repetitive work and high labor costs. Furthermore, manual use of imaging luminance meters for road surface brightness testing usually only allows analysis of selected local areas, making it difficult to achieve continuous testing of the brightness of the entire road or convenient statistical analysis of large-scale brightness distribution.

[0005] Therefore, there is a need for a road surface brightness detection method that can more realistically and objectively reflect the real brightness changes perceived by the human eye during vehicle operation, while also enabling continuous testing of the brightness along the entire road or convenient statistical analysis of the brightness distribution over a large area. Summary of the Invention

[0006] The present invention aims to overcome at least one of the defects of the prior art and provide a vehicle-mounted dynamic detection system device and dynamic detection method for road imaging brightness.

[0007] This technical solution provides a vehicle-mounted dynamic detection method for road imaging brightness, specifically including the following steps: S1. Image Acquisition: The test computer and vehicle power supply are integrated into the brightness detection host. The imaging brightness meter is located above the center line of the lane, 1.5m away from the road surface. During the vehicle's movement, the imaging brightness meter continuously acquires road brightness images, and the positioning sensor synchronously acquires positioning data. S2. Image processing: Extract the brightness test area of ​​the lane from the road brightness image and generate a brightness data distribution map within the brightness test area; S3. Results Output: Integrate the brightness data and output the analysis results of the average brightness and brightness uniformity of the road surface; In step S2, during the image processing, the method further includes automatically identifying dynamic occlusion targets in the brightness test area and removing invalid brightness data.

[0008] In this technical solution, by integrating an imaging luminance meter onto a moving vehicle, continuous dynamic imaging is achieved during actual vehicle operation, enabling the continuous acquisition of large-area road surface luminance image data without closing the road. Furthermore, through subsequent automated image processing steps, road surface luminance information of the effective area within the lane is quickly extracted from the road image and a distribution map is generated. This significantly improves the efficiency, accuracy, safety, and visual matching accuracy of road surface luminance detection, and further effectively reduces road operation risks and detection costs. Specifically, by installing the luminance image meter on a moving vehicle, massive amounts of road image data are acquired. Combined with continuous, multiple road images and their corresponding positioning data, continuous detection of road images is achieved, making it easy to identify continuous changes in road surface luminance information. Furthermore, by incorporating image recognition technology, lane lines on both sides of the road image are effectively identified and completed during image processing, more accurately defining the luminance test area and effectively identifying dynamic occlusion targets within the luminance test area. This results in more precise and effective acquisition of the luminance test area and road surface luminance information, improving the accuracy and reliability of road surface luminance detection.

[0009] Further, in step S2, the step of extracting the brightness test area of ​​the lane from the image includes: S21. Dynamic ROI search: A bird's-eye view of the road brightness image is obtained through inverse perspective transformation technology. When selecting ROIs, a constraint scoring function is introduced to match the geometric characteristics of lane lines in the bird's-eye view image. Based on the scoring results, the size and position of the ROI are dynamically adjusted to ensure that the selected ROI adapts to changes in lane line morphology and conforms to the geometric direction of the lane lines. The dynamic adjustment of the size and position of the ROI based on the scoring results adapts to changes in lane line morphology, thereby improving the robustness and stability of lane detection. S22. Adaptive sliding window recognition of lane lines incorporates prior road structure as a constraint into the search and fitting process of the sliding window. Through constraints of parallelism and width consistency, the recognition results of lane lines are corrected to avoid one-sided recognition deviating from the actual lane lines. S23. Define a brightness test area, perform curve fitting on the point set output after lane line recognition, and then connect the fitted polynomial point set into a polygonal curve to construct a closed polygonal vertex set region; subsequently, merge the filled area of ​​the closed polygonal vertex set region with the bird's-eye view to form the brightness test area in the bird's-eye view; then transform the brightness test area in the bird's-eye view to the original image coordinate system to obtain the brightness test area of ​​the lane in the road brightness image.

[0010] Furthermore, in step S2, the process of automatically identifying dynamic occlusion targets in the brightness test area is as follows: S24. Combine the YOLOv11 algorithm to identify dynamically occluded targets in real time and mark the occluded areas.

[0011] In this technical solution, a constraint scoring function is introduced into the dynamic ROI search to match the geometric characteristics of lane lines in the bird's-eye view image. The size and position of the ROI are dynamically adjusted according to the scoring results. The road structure prior, preferably the parallelism and width consistency of the lane lines on both sides, is incorporated as a constraint condition into the lane line search and fitting process through an adaptive sliding window to correct the identified results and avoid unilateral deviation in lane line identification. Then, the lane line point set is curve-fitted to construct a closed polygon vertex set region, which is then fused with the bird's-eye view image to generate a brightness test region. This region is then inversely transformed back to the original image coordinate system to accurately obtain the brightness test region of the lane in the road brightness image. This improves the accuracy and robustness of the brightness test region extraction under complex road conditions such as lane line shape changes and partial wear, and improves the ability to acquire effective brightness data in dynamic vehicle detection, thereby improving the overall convenience and accuracy of dynamic road imaging brightness detection. Furthermore, by combining the YOLOv11 algorithm to identify and mark occluded areas of dynamically occluded targets in real time, specifically, a convolutional neural network model based on the YOLOv11 algorithm is used to perform real-time target detection and recognition on road images. This achieves high-precision and automated identification and marking of areas occupied by dynamic occluders such as vehicles within the brightness test area. This method can automatically compare and exclude invalid brightness data of occluded areas, thereby effectively avoiding calculation deviations caused by moving obstacles contaminating the samples, and further improving the accuracy and reliability of the final road surface brightness and uniformity analysis results.

[0012] Specifically, step S21 further includes: S211. Generate a histogram and calculate the horizontal projection of the lower half of the bird's-eye view: (19) in, This is an aerial view image. For the height of the image, The width of the image; S212. Peak Characterization: Peak detection and filtering are performed on the histogram to select valid peaks. For each valid peak, its horizontal coordinate position, cumulative height, base width, and edge sharpness are extracted to form a four-tuple description. (20) (twenty one) In the formula: This is a position parameter used to determine the alignment of the lane center; This is a height parameter that reflects the pixel density of the lane lines; a higher value indicates a more complete lane marking. The width parameter represents the span of the non-zero region, used to identify false detections that are too wide. For the sharpness parameter, the value is normalized to [0,2]. A larger value indicates a clearer edge.

[0013] S213. A constrained scoring function is used to comprehensively evaluate the quality of ROIs. This evaluation uses six specific sub-items: width rationality, width ratio, center offset, height ratio, location rationality, and spacing score. Penalty and reward factors are also introduced to comprehensively score candidate ROIs. The formula for calculating the comprehensive score is as follows: (twenty two) in, The weights of the scoring sub-items The score of the rating sub-item, This is a penalty factor used to globally scale the score S for defects. This is a reward item; among all the scoring sub-items, ensuring the reasonableness of the width and the width ratio has the highest weight. S214. Dynamically and adaptively adjust the ROI, eliminate ROIs with a comprehensive score below a set threshold, and repeatedly search and regenerate candidate ROIs by shifting 100px to the left and right, and score them again. Finally, select the ROI with the highest comprehensive score as the brightness test area of ​​the current frame, and its center position is transferred to the next frame as the initial search center. (twenty three) in, The target center for the regenerated candidate ROI. As the center of the initial ROI, Let be the coordinate point. This is the offset.

[0014] Further, in step S213, the reasonableness of the width of the scoring sub-item is considered. Width ratio Center offset Height ratio Location rationality ,spacing The expressions and weights are as follows: Width rationality The lane markings that deviate from the standard width are penalized, with a weight of 0.25, and their expression is: (twenty four) in, It is the average width of the left and right lane lines. , These refer to the widths of the left and right lane lines, respectively. Width ratio Used to ensure the width ratio of the left and right lane lines is coordinated, its weight is 0.30, and its expression is: (25) in, It is the symmetry coefficient of the width of the left and right lane lines, which is calculated by the ratio of the minimum to the maximum value of the characteristic width of the left and right lane lines, and is used to quantify the width consistency of the lane lines on both sides. Center offset Used to force ROI centering, with a weight of 0.15, its expression is: (26) in, It is the offset between the center of the ROI and the center of the image; Height ratio To ensure consistency in the height of the left and right peaks, its weight is 0.10, and its expression is: (27) in, It is the left and right peak height consistency coefficient, which quantifies the matching degree of pixel accumulation of the peak values ​​of the left and right lane line histograms. The peak height represents the total density of white feature pixels of the corresponding lane line. The closer the height ratio is to 1, the more similar the clarity and completeness of the lane line imaging on both sides, and the more reliable the detection results are. Location rationality To verify the symmetrical distribution of the left and right peaks on both sides of the center of the image, its weight is 0.10, and its expression is: (28) in, , It refers to the horizontal position of the left and right lane lines. It is the image width. , It is the distance from the left and right lane lines to the center of the image. It is the penalty coefficient; spacing To ensure that the spacing between the two peaks is within a reasonable range, its weight is 0.10, and its expression is: (29) in, It refers to the horizontal spacing between the left and right lane lines.

[0015] Further, step S22 includes: S221. Histogram quality assessment and localization: The bird's-eye view is binarized, and the cumulative horizontal pixel values ​​of the lower half of the image are statistically analyzed to construct a histogram. The histogram is divided into left and right parts with the image center as the reference, and the histogram quality is quantified from three dimensions: peak height, sharpness, and multi-peak interference. (30) in, This represents the peak height weighting coefficient. Indicates the peak height of the histogram. This represents the weighting coefficient for the peak sharpness term. This represents the peak sharpness quantization value. γ This represents the weighting coefficient for multi-peak interference penalty. r sub Indicates the relative interference intensity of the secondary peak; Then, based on the quality assessment results, the peak value of the lane line histogram with higher quality is selected as the initial center of the sliding window: (31) (32) in, The left half of the image histogram subsequence, x left The initial center of the left lane line, The right half of the image histogram subsequence, x right The right lane line is the initial center; S222, Order Fitting: This involves performing quadratic polynomial fitting on the pixels of the left and right lane lines respectively, and comprehensively evaluating the linearity characteristics of the fitted curves. For the detected left lane line pixels and right lane line pixels Perform polynomial fitting: (33) Where the coefficient Determined using the least squares method: (34); S223. Lane line missing completion based on structural prior: When one lane line is missing, the other lane line is derived from the effectively detected lane line by utilizing the geometric property that the lane width is fixed and parallel to the lane line, or initialization is performed when both lane lines are missing.

[0016] Further, step S223 includes: S2231. When the number of valid pixels on a certain lane line is below the threshold, and there are valid pixels on the opposite lane line, first perform order fitting on the set of valid lane line pixels to obtain its full height horizontal coordinate model, then back-calculate the horizontal coordinates of the missing lane lines based on the prior of a fixed lane width, and finally remove invalid points that exceed the image range: (35); in, The left lane line represents the vertical height of the image. The corresponding horizontal coordinate at that location This represents the x-coordinate of the right lane corresponding to the longitudinal height y. Represents the fixed width of a standard road lane (pixel prior value); S2232, if neither lane line has a valid pixel, then... Based on this, the x-coordinates of the left and right lane lines are initialized to... (36); S2233, Structural constraint correction, calculation of the completed lane width sequence and its mean ,like Then the offset Used to correct deviations; S2234. Calculate the first derivative of the fitted curve, which represents the slope of the tangent line at a certain point on the left and right lane lines. If the slope deviation is the mean... Then, based on the lane line with more effective pixels, the slope of the lane lines on both sides is unified to ensure the parallelism of the lane lines on both sides.

[0017] Further, step S23 includes: S231, Lane line fitting: Perform polynomial fitting on the detected left and right lane line pixels. S232, Form a brightness detection area, and slightly adjust the positions of the left and right lane lines inwards. and Connect the curves into polygons to construct a closed polygon vertex set. Using inverse perspective matrix Map the brightness detection area back from the bird's-eye view coordinate system to the original image coordinate system.

[0018] Further, step S24 includes: S241. Define the target detection model mapping. ,in For the input image space, This is the set of detection results. Includes bounding box parameters ,category and confidence level For vehicle types that are most likely to appear on highways, only the categories are retained. (Cars) and (truck).

[0019] S242. Overlap determination of vehicle frame and brightness detection area frame. For vehicle detection rectangular bounding box... Brightness detection area polygon bounding box The condition for determining bounding box overlap is: and and and .

[0020] S243. Determine if the vertices of the brightness polygon are within the vehicle's bounding box, and iterate through the vertices of the vehicle's detected bounding box. Statistics from polygon vertices The number of intersections between the emitted horizontal ray to the right and the edges of the polygon. The following formula is used to determine whether it is located within the polygonal region: (37); S244. Determine whether the sides of the rectangle and the polygon intersect, and generate the four sides of the vehicle detection box. and the sides of a polygon The method of determining whether two line segments intersect is used by the vector cross product method. The relative positional relationship of the endpoints of the line segments is analyzed using the CCW test. Special intersection scenarios involving collinearity are also considered. For three points... , , The vector is calculated using the following formula. with vector cross product: (38) Among them, if If R is to the left of PQ; like If R is to the right of PQ; like If R lies on the line PQ; Then calculate the following for line segments AB and CD respectively. , , , Determine the relative positions of A, B, C, and D to determine whether the sides of the rectangle intersect with the sides of the polygon.

[0021] Another objective of this invention is to provide a vehicle-mounted dynamic detection system for road imaging brightness, used to implement the dynamic detection method for road imaging brightness as provided in this technical solution. Specifically, the vehicle-mounted dynamic detection system for road imaging brightness includes at least: a front-end equipment unit platform and an analysis and control platform. The front-end device unit platform is installed on the test vehicle. The front-end device unit platform includes at least an imaging brightness meter and a positioning sensor, which are used to continuously collect road brightness images and simultaneously acquire positioning data during the test vehicle's operation. The analysis and control platform is communicatively connected to the front-end device unit platform and is used to control the front-end device unit to achieve stable data acquisition. At the same time, it receives and analyzes the road brightness images and positioning data acquired from the front-end device unit platform. The analysis and control platform includes at least a brightness test host that integrates a computer host and a vehicle power supply. The computer host integrates a data processing unit, which includes at least an image processing module. The image processing module includes at least a lane brightness test area extraction unit and a dynamic target recognition unit. The lane brightness test area extraction unit is based on dynamic ROI search and adaptive sliding window algorithm. By introducing a constraint scoring function, it comprehensively considers the geometric characteristics of the lane line to ensure that the selected ROI conforms to the geometric direction of the lane line. On the basis of the sliding window algorithm, histogram quality assessment, order fitting and lane line missing completion based on structural prior are combined with the sliding window to improve the detection coverage. Finally, by fitting the lane line, a closed quadrilateral brightness test area is generated. The dynamic target recognition unit achieves real-time lightweight detection of vehicle intrusion by combining the YOLOv11 algorithm.

[0022] In this technical solution, by separating the front-end equipment unit platform from the analysis and control platform, the relative independence of the acquisition and analysis and control processes is ensured. This guarantees the stability and accuracy of acquisition while improving the ease of operation of the analysis and control process. Furthermore, a data processing unit containing a lane brightness test area extraction unit and a dynamic target recognition unit is integrated into the computer host of the analysis and control platform. The lane brightness test area extraction unit utilizes dynamic ROI search and adaptive sliding window algorithms combined with constraint scoring functions and histogram quality assessment, order fitting, and a lane line missing completion mechanism based on structural priors. The dynamic target recognition unit uses the YOLOv11 algorithm to achieve lightweight real-time detection, improving the coverage, robustness, and accuracy of brightness test area extraction under complex road environments and dynamic vehicle occlusion conditions. This enhances the reliability and real-time performance of effective brightness data acquisition during dynamic vehicle-mounted detection, thereby improving the overall convenience and detection accuracy of the road imaging brightness dynamic detection system.

[0023] The beneficial effects of this invention are as follows: 1. A dynamic detection method for road image brightness is provided. By integrating an imaging luminance meter onto a moving vehicle, continuous dynamic imaging is achieved during actual vehicle movement, enabling the continuous acquisition of large-area road surface brightness image data without closing the road. Simultaneously, by dynamically capturing the lighting effect from the actual driving perspective, the safety assessment of road surface brightness detection is made closer to real-world scenarios and more scientifically reliable. Furthermore, through subsequent automated image processing steps, road surface brightness information of the effective area within the lane is quickly extracted from the road image and a distribution map is generated, significantly improving the efficiency, accuracy, safety, and human visual matching of road surface brightness detection, while effectively reducing road operation risks and detection costs. Specifically, by placing a luminance image meter on a moving vehicle to acquire massive amounts of road image data, and combining continuous, multiple road images with their corresponding positioning data, continuous detection of road images is achieved. Furthermore, by combining image recognition technology, the lane lines on both sides of the road image were effectively identified and completed during the image processing, the brightness test area was defined more accurately, and dynamic occlusion targets in the brightness test area were effectively identified. This resulted in more accurate and effective acquisition of brightness test area and road surface brightness information, improving the authenticity and reliability of road surface brightness detection.

[0024] 2. A vehicle-mounted dynamic detection system for road imaging brightness is provided, specifically including a front-end equipment unit platform and an analysis and control platform. By separating the front-end equipment unit platform and the analysis and control platform, the relative independence of the acquisition process and the analysis and control process is ensured, improving the operational convenience of the analysis and control process while guaranteeing the stability and accuracy of acquisition. Furthermore, a data processing unit including a lane brightness test area extraction unit and a dynamic target recognition unit is integrated into the computer host of the analysis and control platform. The lane brightness test area extraction unit utilizes dynamic ROI search and adaptive sliding window algorithm combined with constraint scoring function and histogram quality assessment, order fitting and structural prior lane line missing completion mechanism. The dynamic target recognition unit uses the YOLOv11 algorithm to achieve lightweight real-time detection, improving the coverage, robustness and accuracy of brightness test area extraction under complex road environments and dynamic vehicle occlusion conditions. This improves the reliability and real-time performance of effective brightness data acquisition during dynamic vehicle-mounted detection, thereby enhancing the overall convenience and detection accuracy of the road imaging brightness dynamic detection system. Attached Figure Description

[0025] Figure 1 This is a flowchart of a road imaging brightness dynamic detection method provided by the present invention.

[0026] Figure 2This is a flowchart of the image processing process in step S2 of the road imaging brightness dynamic detection method provided by the present invention.

[0027] Figure 3 This is a flowchart of the dynamic ROI search process in step S21 of the road imaging brightness dynamic detection method provided by the present invention.

[0028] Figure 4 This is a flowchart of the adaptive sliding window process for identifying lane lines in step S22 of a road imaging brightness dynamic detection method provided by the present invention.

[0029] Figure 5 This is a flowchart of the process of defining the brightness test area in step S23 of the road imaging brightness dynamic detection method provided by the present invention.

[0030] Figure 6 This is a flowchart of the process of automatically identifying dynamic occlusion targets in the brightness test area in step S24 of a road imaging brightness dynamic detection method provided by the present invention. Detailed Implementation

[0031] The accompanying drawings are for illustrative purposes only and should not be construed as limiting the invention. To better illustrate the following embodiments, some parts in the drawings may be omitted, enlarged, or reduced, and do not represent the actual product dimensions; it is understandable to those skilled in the art that some well-known structures and their descriptions may be omitted in the drawings.

[0032] Example 1 like Figures 1-6 As shown, this embodiment provides a vehicle-mounted rapid detection method for road imaging brightness, specifically including the following steps: S1. Image Acquisition: The test computer and vehicle power supply are integrated into the brightness detection host. The imaging brightness meter is located above the center line of the lane, 1.5m away from the road surface. During the vehicle's movement, the imaging brightness meter continuously acquires road brightness images, and the positioning sensor synchronously acquires positioning data. S2. Image processing: Extract the brightness test area of ​​the lane from the road brightness image and generate a brightness data distribution map within the brightness test area; S3. Results Output: Integrate the brightness data and output the analysis results of the average brightness and brightness uniformity of the road surface; In step S2, during the image processing, the method also includes automatically identifying dynamic occlusion targets in the brightness test area and removing invalid brightness data.

[0033] Specifically, in step S2, the step of extracting the brightness test area of ​​the lane from the image includes: S21. Dynamic ROI search: A bird's-eye view of the road brightness image is obtained through inverse perspective transformation technology. When selecting ROIs, a constraint scoring function is introduced to match the geometric characteristics of lane lines in the bird's-eye view image. Based on the scoring results, the size and position of the ROI are dynamically adjusted to ensure that the selected ROI adapts to changes in lane line morphology and conforms to the geometric direction of the lane lines. The dynamic adjustment of the size and position of the ROI based on the scoring results adapts to changes in lane line morphology, thereby improving the robustness and stability of lane detection. S22. Adaptive sliding window recognition of lane lines incorporates prior road structure as a constraint into the search and fitting process of the sliding window. Through constraints of parallelism and width consistency, the recognition results of lane lines are corrected to avoid one-sided recognition deviating from the actual lane lines. S23. Define a brightness test area, perform curve fitting on the point set output after lane line recognition, and then connect the fitted polynomial point set into a polygonal curve to construct a closed polygonal vertex set region; subsequently, merge the filled area of ​​the closed polygonal vertex set region with the bird's-eye view to form the brightness test area in the bird's-eye view; then transform the brightness test area in the bird's-eye view to the original image coordinate system to obtain the brightness test area of ​​the lane in the road brightness image.

[0034] Specifically, a constraint scoring function is introduced into the dynamic ROI search to match the geometric characteristics of lane lines in the bird's-eye view image, and the size and position of the ROI are dynamically adjusted according to the scoring results. The road structure prior, preferably the parallelism and width consistency of the lane lines on both sides, is incorporated as a constraint condition into the lane line search and fitting process through an adaptive sliding window to correct the identified results and avoid unilateral deviation in lane line identification. Then, the lane line point set is curve-fitted to construct a closed polygon vertex set region, which is then fused with the bird's-eye view image to generate a brightness test region. This region is then inversely transformed back to the original image coordinate system to accurately obtain the brightness test region of the lane in the road brightness image. This improves the accuracy and robustness of the brightness test region extraction under complex road conditions such as lane line shape changes and partial wear, and improves the ability to acquire effective brightness data in dynamic vehicle detection, thereby improving the overall convenience and accuracy of dynamic road imaging brightness detection.

[0035] Furthermore, in step S2, the process of automatically identifying dynamic occlusion targets in the brightness test area is as follows: S24. Combine the YOLOv11 algorithm to identify dynamically occluded targets in real time and mark the occluded areas.

[0036] Specifically, a convolutional neural network model based on the YOLOv11 algorithm is used to perform real-time target detection and recognition on road images. It automatically compares and excludes invalid brightness data in occluded areas, thereby effectively avoiding calculation deviations caused by moving obstacles contaminating the samples. This achieves high-precision and automated identification and marking of areas occupied by dynamic occupants such as vehicles within the brightness test area.

[0037] Furthermore, step S21 also includes: S211. Generate a histogram and calculate the horizontal projection of the lower half of the bird's-eye view: (39) in, This is an aerial view image. For the height of the image, The width of the image; S212. Peak Characterization: Peak detection and filtering are performed on the histogram to select valid peaks. For each valid peak, its horizontal coordinate position, cumulative height, base width, and edge sharpness are extracted to form a four-tuple description. (40) (41) In the formula: This is a position parameter used to determine the alignment of the lane center; This is a height parameter that reflects the pixel density of the lane lines; a higher value indicates a more complete lane marking. The width parameter represents the span of the non-zero region, used to identify false detections that are too wide. For the sharpness parameter, the value is normalized to [0,2]. A larger value indicates a clearer edge.

[0038] S213. A constrained scoring function is used to comprehensively evaluate the quality of ROIs. This evaluation uses six specific sub-items: width rationality, width ratio, center offset, height ratio, location rationality, and spacing score. A penalty factor (penalty coefficient) and a reward item are also introduced to comprehensively score candidate ROIs. The formula for calculating the comprehensive score is as follows: (42) in, The weights of the scoring sub-items The score of the rating sub-item, The penalty coefficient is... This is a reward item; among all the scoring sub-items, ensuring the reasonableness of the width and the width ratio has the highest weight. S214. Dynamically and adaptively adjust the ROI, eliminate ROIs with a comprehensive score below a set threshold, and repeatedly search and regenerate candidate ROIs by shifting 100px to the left and right, and score them again. Finally, select the ROI with the highest comprehensive score as the brightness test area of ​​the current frame, and its center position is transferred to the next frame as the initial search center. (43) in, The target center for the regenerated candidate ROI. As the center of the initial ROI, Let be the coordinate point. This is the offset.

[0039] Further, in step S213, the reasonableness of the width of the scoring sub-item is considered. Width ratio Center offset Height ratio Location rationality ,spacing The expressions and weights are as follows: Width rationality The lane markings that deviate from the standard width are penalized, with a weight of 0.25, and their expression is: (44) in, It is the average width of the left and right lane lines. , These refer to the widths of the left and right lane lines, respectively. Width ratio Used to ensure the width ratio of the left and right lane lines is coordinated, its weight is 0.30, and its expression is: (45) in, It is the symmetry coefficient of the width of the left and right lane lines, which is calculated by the ratio of the minimum to the maximum value of the characteristic width of the left and right lane lines, and is used to quantify the width consistency of the lane lines on both sides. Center offset Used to force ROI centering, with a weight of 0.15, its expression is: (46) in, It is the offset between the center of the ROI and the center of the image; Height ratio To ensure consistency in the height of the left and right peaks, its weight is 0.10, and its expression is: (47) in, The left-right peak height consistency coefficient quantifies the degree of matching between the pixel accumulation of the peak values ​​of the left and right lane line histograms. Peak height represents the total density of white feature pixels of the corresponding lane line. The closer the height ratio is to 1, the more similar the clarity and completeness of the lane line imaging on both sides, and the higher the reliability of the detection results. Location rationality To verify the symmetrical distribution of the left and right peaks on both sides of the center of the image, its weight is 0.10, and its expression is: (48) in, , It refers to the horizontal position of the left and right lane lines. It is the image width. , It is the distance from the left and right lane lines to the center of the image. It is the penalty coefficient; spacing To ensure that the spacing between the two peaks is within a reasonable range, its weight is 0.10, and its expression is: (49) in, It refers to the horizontal spacing between the left and right lane lines.

[0040] Further, step S22 includes: S221. Histogram quality assessment and localization: The bird's-eye view is binarized, and the cumulative horizontal pixel values ​​of the lower half of the image are statistically analyzed to construct a histogram. The histogram is divided into left and right parts with the image center as the reference, and the histogram quality is quantified from three dimensions: peak height, sharpness, and multi-peak interference. (50) in, This represents the peak height weighting coefficient. Indicates the peak height of the histogram. This represents the weighting coefficient for the peak sharpness term. This represents the peak sharpness quantization value. γ This represents the weighting coefficient for multi-peak interference penalty. r sub Indicates the relative interference intensity of the secondary peak; Then, based on the quality assessment results, the peak value of the lane line histogram with higher quality is selected as the initial center of the sliding window: (51) (52) in, The left half of the image histogram subsequence, x left The initial center of the left lane line, The right half of the image histogram subsequence, x right The right lane line is the initial center; S222, Order Fitting: This involves performing quadratic polynomial fitting on the pixels of the left and right lane lines respectively, and comprehensively evaluating the linearity characteristics of the fitted curves. For the detected left lane line pixels and right lane line pixels Perform polynomial fitting: (53) Where the coefficient Determined using the least squares method: (54); S223. Lane line missing completion based on structural prior: When one lane line is missing, the other lane line is derived from the effectively detected lane line by utilizing the geometric property that the lane width is fixed and parallel to the lane line, or initialization is performed when both lane lines are missing.

[0041] Further, step S223 includes: S2231. When the number of valid pixels on a certain lane line is below the threshold, and there are valid pixels on the opposite lane line, first perform order fitting on the set of valid lane line pixels to obtain its full height horizontal coordinate model, then back-calculate the horizontal coordinates of the missing lane lines based on the prior of a fixed lane width, and finally remove invalid points that exceed the image range: (55); in, The left lane line represents the vertical height of the image. The corresponding horizontal coordinate at that location This represents the x-coordinate of the right lane corresponding to the longitudinal height y. Represents the fixed width of a standard road lane (pixel prior value); S2232, if neither lane line has a valid pixel, then... Based on this, the x-coordinates of the left and right lane lines are initialized to... (56); S2233, Structural constraint correction, calculation of the completed lane width sequence and its mean ,like Then the offset Used to correct deviations; S2234. Calculate the first derivative of the fitted curve, which represents the slope of the tangent line at a certain point on the left and right lane lines. If the slope deviation is the mean... Then, based on the lane line with more effective pixels, the slope of the lane lines on both sides is unified to ensure the parallelism of the lane lines on both sides.

[0042] Further, step S23 includes: S231, Lane line fitting: Perform polynomial fitting on the detected left and right lane line pixels. S232, Form a brightness detection area, and slightly adjust the positions of the left and right lane lines inwards. and Connect the curves into polygons to construct a closed polygon vertex set. Using inverse perspective matrix Map the brightness detection area back from the bird's-eye view coordinate system to the original image coordinate system.

[0043] Further, step S24 includes: S241. Define the target detection model mapping. ,in For the input image space, This is the set of detection results. Includes bounding box parameters ,category and confidence level For vehicle types that are most likely to appear on highways, only the categories are retained. (Cars) and (truck).

[0044] S242. Overlap determination of vehicle frame and brightness detection area frame. For vehicle detection rectangular bounding box... Brightness detection area polygon bounding box The condition for determining bounding box overlap is: and and and .

[0045] S243. Determine if the vertices of the brightness polygon are within the vehicle's bounding box, and iterate through the vertices of the vehicle's detected bounding box. Statistics from polygon vertices The number of intersections between the emitted horizontal ray to the right and the edges of the polygon. The following formula is used to determine whether it is located within the polygonal region: (57); S244. Determine whether the sides of the rectangle and the polygon intersect, and generate the four sides of the vehicle detection box. and the sides of a polygon The method of determining whether two line segments intersect is used by the vector cross product method. The relative positional relationship of the endpoints of the line segments is analyzed using the CCW test. Special intersection scenarios involving collinearity are also considered. For three points... , , The vector is calculated using the following formula. with vector cross product: (58) Among them, if If R is to the left of PQ; like If R is to the right of PQ; like If R lies on the line PQ; Then calculate the following for line segments AB and CD respectively. , , , Determine the relative positions of A, B, C, and D to determine whether the sides of the rectangle intersect with the sides of the polygon.

[0046] Example 2 This embodiment provides a vehicle-mounted dynamic detection system for road imaging brightness, used to implement the dynamic detection method for road imaging brightness as provided in Embodiment 1. Specifically, the vehicle-mounted dynamic detection system for road imaging brightness includes at least: a front-end equipment unit platform and an analysis and control platform. The front-end device unit platform is installed on the test vehicle. The front-end device unit platform includes at least an imaging brightness meter and a positioning sensor, which are used to continuously collect road brightness images and simultaneously acquire positioning data during the test vehicle's operation. The analysis and control platform is communicatively connected to the front-end device unit platform and is used to control the front-end device unit to achieve stable data acquisition. At the same time, it receives and analyzes the road brightness images and positioning data acquired from the front-end device unit platform. The analysis and control platform includes at least a brightness test host that integrates a computer host and a vehicle power supply. The computer host integrates a data processing unit, which includes at least an image processing module. The image processing module includes at least a lane brightness test area extraction unit and a dynamic target recognition unit. The lane brightness test area extraction unit is based on dynamic ROI search and adaptive sliding window algorithm. By introducing a constraint scoring function, it comprehensively considers the geometric characteristics of the lane line to ensure that the selected ROI conforms to the geometric direction of the lane line. On the basis of the sliding window algorithm, histogram quality assessment, order fitting and lane line missing completion based on structural prior are combined with the sliding window to improve the detection coverage. Finally, by fitting the lane line, a closed quadrilateral brightness test area is generated. The dynamic target recognition unit achieves real-time lightweight detection of vehicle intrusion by combining the YOLOv11 algorithm.

[0047] Specifically, by separating the front-end equipment unit platform from the analysis and control platform, and integrating a data processing unit containing a lane brightness test area extraction unit and a dynamic target recognition unit into the computer host of the analysis and control platform, the lane brightness test area extraction unit utilizes dynamic ROI search and adaptive sliding window algorithms combined with constraint scoring functions and histogram quality assessment, order fitting, and a lane line missing completion mechanism based on structural priors. The dynamic target recognition unit employs the YOLOv11 algorithm to achieve lightweight real-time detection, improving the coverage, robustness, and accuracy of brightness test area extraction under complex road environments and dynamic vehicle occlusion conditions. This enhances the reliability and real-time performance of acquiring effective brightness data during dynamic vehicle-mounted detection, thereby improving the overall convenience and detection accuracy of the road imaging brightness dynamic detection system.

[0048] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the technical solution of the present invention, and are not intended to limit the specific implementation of the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the claims of the present invention should be included within the protection scope of the claims of the present invention.

Claims

1. A vehicle-mounted dynamic detection method for road imaging brightness, characterized in that, include: S1. Image Acquisition: The test computer and vehicle power supply are integrated into the brightness detection host. The imaging brightness meter is located above the center line of the lane, 1.5m away from the road surface. During the vehicle's movement, the imaging brightness meter continuously acquires road brightness images, and the positioning sensor synchronously acquires positioning data. S2. Image processing: Extract the brightness test area of ​​the lane from the road brightness image and generate a brightness data distribution map within the brightness test area; S3. Results Output: Integrate the brightness data and output the analysis results of the average brightness and brightness uniformity of the road surface; In step S2, during the image processing, the method further includes automatically identifying dynamic occlusion targets in the brightness test area and removing invalid brightness data.

2. The dynamic detection method according to claim 1, characterized in that, In step S2, the step of extracting the brightness test area of ​​the lane from the image includes: S21. Dynamic ROI search: A bird's-eye view of the road brightness image is obtained through inverse perspective transformation technology. When selecting ROI, a constraint scoring function is introduced to match the geometric characteristics of the lane lines in the bird's-eye view image. Based on the scoring results, the size and position of the ROI are dynamically adjusted to ensure that the selected ROI adapts to the changes in lane line shape and conforms to the geometric direction of the lane lines. S22. Adaptive sliding window recognition of lane lines incorporates prior road structure as a constraint into the search and fitting process of the sliding window. Through constraints of parallelism and width consistency, the recognition results of lane lines are corrected to avoid one-sided recognition deviating from the actual lane lines. S23. Define a brightness test area, perform curve fitting on the point set output after lane line recognition, and then connect the fitted polynomial point set into a polygonal curve to construct a closed polygonal vertex set region; subsequently, merge the filled area of ​​the closed polygonal vertex set region with the bird's-eye view to form the brightness test area in the bird's-eye view; then transform the brightness test area in the bird's-eye view to the original image coordinate system to obtain the brightness test area of ​​the lane in the road brightness image.

3. The dynamic detection method according to claim 2, characterized in that, In step S2, the process of automatically identifying dynamically occluded targets in the brightness test area is as follows: S24. Combine the YOLOv11 algorithm to identify dynamically occluded targets in real time and mark the occluded areas.

4. The dynamic detection method according to claim 3, characterized in that, Step S21 further includes: S211. Generate a histogram and calculate the horizontal projection of the lower half of the bird's-eye view: (1); in, This is an aerial view image. For the height of the image, The width of the image; S212. Peak Characterization: Peak detection and filtering are performed on the histogram to select valid peaks. For each valid peak, its horizontal coordinate position, cumulative height, base width, and edge sharpness are extracted to form a four-tuple description. (2); (3); In the formula: This is a position parameter used to determine the alignment of the lane center; This is a height parameter that reflects the pixel density of the lane lines; a higher value indicates a more complete lane marking. The width parameter represents the span of the non-zero region, used to identify false detections that are too wide. For the sharpness parameter, the value is normalized to [0,2]. A larger value indicates clearer edges; S213. A constrained scoring function is used to comprehensively evaluate the quality of ROIs. This evaluation uses six specific sub-items: width rationality, width ratio, center offset, height ratio, location rationality, and spacing score. Penalty and reward factors are also introduced to comprehensively score candidate ROIs. The formula for calculating the comprehensive score is as follows: (4); in, The weights of the scoring sub-items For the score of the sub-item, As a penalty factor, This is a reward item; among all the scoring sub-items, ensuring the reasonableness of the width and the width ratio has the highest weight. S214. Dynamically and adaptively adjust the ROI, eliminate ROIs with a comprehensive score below a set threshold, and repeatedly search and regenerate candidate ROIs by shifting 100px to the left and right, and score them again. Finally, select the ROI with the highest comprehensive score as the brightness test area of ​​the current frame, and its center position is transferred to the next frame as the initial search center. (5); in, The target center for the regenerated candidate ROI. As the center of the initial ROI, Let be the coordinate point. This is the offset.

5. The dynamic detection method according to claim 4, characterized in that, In step S213, the reasonableness of the width of the scoring sub-item is considered. Width ratio Center offset Height ratio Location rationality ,spacing The expressions and weights are as follows: Width rationality The lane markings that deviate from the standard width are penalized, with a weight of 0.25, and their expression is: (6); in, It is the average width of the left and right lane lines. , These refer to the widths of the left and right lane lines, respectively. Width ratio Used to ensure the width ratio of the left and right lane lines is coordinated, its weight is 0.30, and its expression is: (7); in, It is the symmetry coefficient of the width of the left and right lane lines, which is calculated by the ratio of the minimum to the maximum value of the characteristic width of the left and right lane lines, and is used to quantify the width consistency of the lane lines on both sides. Center offset Used to force ROI centering, with a weight of 0.15, its expression is: (8); in, It is the offset between the center of the ROI and the center of the image; Height ratio To ensure consistency in the height of the left and right peaks, its weight is 0.10, and its expression is: (9); in, It is the left and right peak height consistency coefficient, which is used to quantify the matching degree of pixel accumulation of the peak values ​​of the left and right lane line histograms. The peak height represents the total density of white feature pixels of the corresponding lane line. The closer the height ratio is to 1, the more similar the clarity and completeness of the two lane lines are, and the higher the reliability of the detection results. Location rationality To verify the symmetrical distribution of the left and right peaks on both sides of the center of the image, its weight is 0.10, and its expression is: (10); in, , It refers to the horizontal position of the left and right lane lines. It is the image width. , It is the distance from the left and right lane lines to the center of the image. It is the penalty coefficient; spacing To ensure that the spacing between the two peaks is within a reasonable range, its weight is 0.10, and its expression is: (11); in, It refers to the horizontal spacing between the left and right lane lines.

6. The dynamic detection method according to claim 5, characterized in that, Step S22 includes: S221. Histogram quality assessment and localization: The bird's-eye view is binarized, and the cumulative horizontal pixel values ​​of the lower half of the image are statistically analyzed to construct a histogram. The histogram is divided into left and right parts with the image center as the reference, and the histogram quality is quantified from three dimensions: peak height, sharpness, and multi-peak interference. (12); in, This represents the peak height weighting coefficient. Indicates the peak height of the histogram. This represents the weighting coefficient for the peak sharpness term. This represents the peak sharpness quantization value. γ This represents the weighting coefficient for multi-peak interference penalty. r sub Indicates the relative interference intensity of the secondary peak; Then, based on the quality assessment results, the peak value of the lane line histogram with higher quality is selected as the initial center of the sliding window: (13); (14); in, The left half of the image histogram subsequence, x left The initial center of the left lane line, The right half of the image histogram subsequence, x right The right lane line is the initial center; S222, Order Fitting: This involves performing quadratic polynomial fitting on the pixels of the left and right lane lines respectively, and comprehensively evaluating the linearity characteristics of the fitted curves. For the detected left lane line pixels and right lane line pixels Perform polynomial fitting: (15); Where the coefficient Determined using the least squares method: (16); S223. Lane line missing completion based on structural prior: When one lane line is missing, the other lane line is derived from the effectively detected lane line by utilizing the geometric property that the lane width is fixed and parallel to the lane line, or initialization is performed when both lane lines are missing.

7. The dynamic detection method according to claim 6, characterized in that, Step S223 includes: S2231. When the number of valid pixels on a certain lane line is below the threshold, and there are valid pixels on the opposite lane line, first perform order fitting on the set of valid lane line pixels to obtain its full height horizontal coordinate model, then back-calculate the horizontal coordinates of the missing lane lines based on the prior of a fixed lane width, and finally remove invalid points that exceed the image range: (17); in, The left lane line represents the vertical height of the image. The corresponding horizontal coordinate at that location This represents the x-coordinate of the right lane corresponding to the longitudinal height y. The pixel prior value representing the fixed width of a standard road lane; S2232, if neither lane line has a valid pixel, then... Based on this, the x-coordinates of the left and right lane lines are initialized to... (18); S2233, Structural constraint correction, calculation of the completed lane width sequence and its mean ,like Then the offset Used to correct deviations; S2234. Calculate the first derivative of the fitted curve, which represents the slope of the tangent line at a certain point on the left and right lane lines. If the slope deviation is the mean... Then, based on the lane line with more effective pixels, the slope of the lane lines on both sides is unified to ensure the parallelism of the lane lines on both sides.

8. The dynamic detection method according to claim 7, characterized in that, Step S23 includes: S231, Lane line fitting: Perform polynomial fitting on the detected left and right lane line pixels. S232, Form a brightness detection area, and slightly adjust the positions of the left and right lane lines inwards. and Connect the curves into polygons to construct a closed polygon vertex set. Using inverse perspective matrix Map the brightness detection area back from the bird's-eye view coordinate system to the original image coordinate system.

9. The dynamic detection method according to claim 8, characterized in that, Step S24 includes: S241. Define the target detection model mapping. ,in For the input image space, For the set of test results; Includes bounding box parameters ,category and confidence level For vehicle types that are most likely to appear on highways, only the categories are retained. Defined as automobile, and Defined as a truck; S242. Determine if the vehicle frame overlaps with the brightness detection area frame; define the vehicle detection rectangular bounding box. Define the polygonal bounding box of the brightness detection region. The condition for determining bounding box overlap is: and and and ; S243. Determine if the vertices of the brightness polygon are within the vehicle's bounding box, and iterate through the vertices of the vehicle's detected bounding box. Statistics from polygon vertices The number of intersections between the emitted horizontal ray to the right and the edges of the polygon. The following formula is used to determine whether it is located within the polygonal region: (19); S244. Determine whether the sides of the rectangle and the polygon intersect, and generate the four sides of the vehicle detection box. and the sides of a polygon The method of determining whether two line segments intersect is used by the vector cross product method. The relative positional relationship of the endpoints of the line segments is analyzed using the CCW test. Special intersection scenarios involving collinearity are also considered. For three points... , , The vector is calculated using the following formula. with vector cross product: (20); Among them, if If R is to the left of PQ; like If R is to the right of PQ; like If R lies on the line PQ; Then calculate the following for line segments AB and CD respectively. , , , Determine the relative positions of A, B, C, and D to determine whether the sides of the rectangle intersect with the sides of the polygon.

10. A vehicle-mounted dynamic detection system for road imaging brightness, characterized in that, For implementing the road imaging brightness dynamic detection method as described in any one of claims 1-9, the vehicle-mounted dynamic detection system for road imaging brightness includes at least: a front-end equipment unit platform and an analysis and control platform; The front-end device unit platform is installed on the test vehicle. The front-end device unit platform includes at least an imaging brightness meter and a positioning sensor, which are used to continuously collect road brightness images and simultaneously acquire positioning data during the test vehicle's operation. The analysis and control platform is communicatively connected to the front-end device unit platform and is used to control the front-end device unit to achieve stable data acquisition. At the same time, it receives and analyzes the road brightness images and positioning data acquired from the front-end device unit platform. The analysis and control platform includes at least a brightness test host that integrates a computer host and a vehicle power supply. The computer host integrates a data processing unit, which includes at least an image processing module. The image processing module includes at least a lane brightness test area extraction unit and a dynamic target recognition unit. The lane brightness test area extraction unit is based on dynamic ROI search and adaptive sliding window algorithm. By introducing a constraint scoring function, it comprehensively considers the geometric characteristics of the lane line to ensure that the selected ROI conforms to the geometric direction of the lane line. On the basis of the sliding window algorithm, histogram quality assessment, order fitting and lane line missing completion based on structural prior are combined with the sliding window to improve the detection coverage. Finally, by fitting the lane line, a closed quadrilateral brightness test area is generated. The dynamic target recognition unit achieves real-time lightweight detection of vehicle intrusion by combining the YOLOv11 algorithm.