Automobile vehicle-mounted rack performance detection system and method

The non-contact inspection system using dual-line lasers and dual cameras solves the problem of low efficiency in vehicle mounting bracket performance testing, achieving efficient and accurate test results to meet the needs of mass production.

CN123175183APending Publication Date: 2026-11-27QINGDAO ZHONGWODE OUTDOOR EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611577092.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-13
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies for vehicle-mounted bracket performance testing are inefficient, unable to meet the requirements of rapid testing and full inspection in mass production, and the test results are greatly affected by human factors.

Method used

A non-contact detection system using dual-line lasers and dual cameras is employed. Two oblique laser lines with opposite directions form light marks on the vehicle mounting bracket. Two cameras collect light mark areas from different directions, and image processing is used to obtain the shape information of the vehicle mounting bracket and calculate the spatial position and orientation of the main pipe components.

Benefits of technology

It improves the accuracy and efficiency of testing, avoids scratches or deformation of the vehicle mount surface caused by contact measurement, adapts to situations where the horizontal placement angle of the vehicle mount is uncertain, and is suitable for online testing and full inspection in mass production.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123175183A_ABST
    Figure CN123175183A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of intelligent detection, and particularly relates to a vehicle-mounted rack performance detection system and method, which comprises a first transmitter, a first camera, a second camera and a second transmitter fixedly arranged in sequence along a feeding direction; further comprises a conveying device for driving the vehicle-mounted rack to move; the first transmitter and the second transmitter have the same height; the first camera and the second camera have the same height; the first transmitter emits a first linear laser forming a 45° angle with the feeding direction; the field of view of the first camera covers the light mark area of the first linear laser on the vehicle-mounted rack; the second transmitter emits a second linear laser forming a 45° angle with the opposite direction of the feeding direction; the field of view of the second camera covers the light mark area of the second linear laser on the vehicle-mounted rack; further comprises a processor for acquiring images captured by the first camera and the second camera and performing performance detection calculation. The present application can effectively improve the detection efficiency and accuracy of the vehicle-mounted rack.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intelligent testing technology, and in particular to a vehicle mounting bracket performance testing system and method. Background Technology

[0002] Bicycle hangers are typically installed at the rear or top of a vehicle to support and secure the bicycle. For example... Figure 1 As shown, the main structure of a vehicle mount includes multiple front-to-back main tubes 01. These main tubes 01 are used to hold bicycles, and each tube has pre-installed connection structures for mates with other parts (such as support plates and locking mechanisms for securing the bicycle). Due to bending, welding, or assembly processes, the main structure of the vehicle mount is prone to deformation, causing the connection structure dimensions to become incompatible with other parts. For example, deformation of the two front main tubes 01 may cause their mounting holes to be too close together, making them unsuitable for other parts' mounting holes. Consequently, the fixing screws cannot be installed properly, severely affecting the vehicle mount's performance. Therefore, vehicle mounts typically require inspection.

[0003] Currently, most inspections are done manually. Operators use tools such as calipers, feeler gauges, right-angle rulers, height gauges, or coordinate measuring machines to perform contact measurements. Manual inspection requires a high level of experience and skill from the operators, and the measurement results are greatly affected by human factors, resulting in very low inspection efficiency. This makes it difficult to meet the requirements for rapid inspection and full inspection in mass production. Summary of the Invention

[0004] This invention provides a vehicle mounting bracket performance testing system and method, which can effectively solve the problems of low performance testing efficiency and inability to meet the requirements of rapid testing and full inspection in mass production in the prior art.

[0005] The present invention provides a vehicle mounting bracket performance testing system, comprising a first transmitter, a first camera, a second camera, and a second transmitter, which are fixedly arranged sequentially along the feeding direction; and a transport device for moving the vehicle mounting bracket along the feeding direction. The first and second transmitters are at the same height; the first and second cameras are at the same height. The first transmitter emits a first line of laser light diagonally downwards, and the first line of laser light forms a 45° angle with the feeding direction; The field of view of the first camera covers the area of ​​the light trail that the first laser beam illuminates on the vehicle mounting bracket. The second emitter emits a second laser beam at an angle from top to bottom, and the second laser beam forms a 45° angle with the opposite direction of the feeding direction; The field of view of the second camera covers the area of ​​the light trail that the second laser beam illuminates on the vehicle mounting bracket. It also includes a processor for acquiring images captured by the first and second cameras and performing performance testing calculations.

[0006] Furthermore, it also includes a first detector and a second detector, which are respectively set at the edge of the field of view of the first camera and the second camera, for detecting whether the vehicle mount has entered the field of view of the first camera and the second camera.

[0007] Furthermore, a detection area is set up, which is a light-shielding structure to isolate it from external light; the first transmitter, the first camera, the second camera, and the second transmitter are all located in the detection area.

[0008] Furthermore, a first narrowband filter and a second narrowband filter are respectively disposed in front of the lenses of the first camera and the second camera, and the center wavelengths of the first narrowband filter and the second narrowband filter are consistent with the wavelengths of the first line laser and the second line laser, respectively.

[0009] This invention also provides a method for testing the performance of an automotive mounting bracket, using the aforementioned automotive mounting bracket performance testing system, comprising the following steps: S1: High-position light trail area and low-position light trail area are set in both the field of view of the first camera and the field of view of the second camera. S2: When the vehicle mount passes through the field of view of the first camera, take pictures at set intervals and package all the pictures and their corresponding shooting times into a group of pictures A; when the vehicle mount passes through the field of view of the second camera, take pictures at set intervals and package all the pictures and their corresponding shooting times into a group of pictures B. S3: Extract the light trail segments from each captured image, and record the light trail segments in the high-position light trail area and the low-position light trail area as high-position segments and low-position segments, respectively. S4: Based on the shooting time of each captured image, obtain the correspondence between each captured image in each group. Based on the correspondence, integrate all high-level line segments and low-level line segments in captured image group A into high-level contour map A and low-level contour map A respectively. Integrate all high-level line segments and low-level line segments in captured image group B into high-level contour map B and low-level contour map B respectively. S5: For each high-level line segment in high-level contour map A, find the closest high-level line segment in high-level contour map B and translate it so that the endpoints of the two high-level line segments coincide, forming a high-level illumination shape; for each low-level line segment in low-level contour map A, find the closest low-level line segment in low-level contour map B and translate it so that the endpoints of the two low-level line segments coincide, forming a low-level illumination shape. S6: Retain the high-level irradiation shape and low-level irradiation shape that form a closed region and whose area is within a set range, and take the geometric center of each high-level irradiation shape and low-level irradiation shape as the high point and low point, respectively. S7: Calculate the set performance testing requirements, including the straightness of each main tube of the vehicle mount, as well as the parallelism and spacing between the tubes.

[0010] Furthermore, in step S1, setting the high-position light trail area and the low-position light trail area specifically involves: Multiple calibration blocks with known heights are placed sequentially on a transport device, and the calibration blocks are passed through a first camera and a second camera. The horizontal coordinate positions of the line laser marks on the calibration blocks at different heights are recorded in the captured images, thus obtaining the correspondence between height and the horizontal coordinate of the image. Determine the height range of the higher and lower components of the vehicle mounting bracket during testing; The height ranges of the higher and lower components are mapped onto the images captured by the first and second cameras through a correspondence relationship, forming two image regions, which are respectively designated as the high-position light trail region and the low-position light trail region.

[0011] Further, in step S3, extracting the light trail segments from each captured image and distinguishing between high-order and low-order segments specifically involves: Each image in group A and group B is binarized to obtain a binarized image. For white pixels in a binarized image, if they are located in the high-position light trail area, they are recorded as high-position white pixels; if they are located in the low-position light trail area, they are recorded as low-position white pixels. Clustering is performed on all white pixels in the same binarized image. If the pixel distance between two high-order white pixels is less than a set threshold, then the two high-order white pixels are determined to belong to the same high-order line segment. If the pixel distance between two low-order white pixels is less than a set threshold, then the two low-order white pixels are determined to belong to the same low-order line segment.

[0012] Further, in step S4, the integration of high-level contour map A, low-level contour map A, high-level contour map B, and low-level contour map B specifically results in: Obtain the corresponding position for each captured image. The corresponding position is the distance that the vehicle mount is still in the feeding direction relative to the moment it leaves the camera's field of view when the image is captured. For the high-level and low-level line segments in the captured image group A, the horizontal coordinates of each pixel contained therein are increased by the corresponding position in the captured image, while the vertical coordinates remain unchanged, and they are mapped to the high-level contour map A and the low-level contour map A, respectively. For the high-order and low-order line segments in the captured image group B, the horizontal coordinates of each pixel contained therein are increased by the corresponding position in the captured image, while the vertical coordinates remain unchanged, and then mapped to the high-order contour map B and the low-order contour map B, respectively.

[0013] Further, in step S5, forming the high-position irradiation shape and the low-position irradiation shape specifically involves: Calculate the geometric center of each high-level line segment in high-level profile A and the geometric center of each high-level line segment in high-level profile B. For a high-level line segment in high-level profile A, select the high-level line segment in high-level profile B that has the closest geometric center distance; Obtain the bottom endpoint of the high-level line segment in high-level contour map A and the bottom endpoint of the high-level line segment in high-level contour map B, and calculate the difference between the two endpoints in the horizontal and vertical directions. All pixels of the high-level line segment in high-level contour map B are translated according to the difference to obtain the mapped line segment, so that the endpoint of the mapped line segment coincides with the endpoint of the high-level line segment in high-level contour map A; the mapped line segment and the high-level line segment in high-level contour map A together form a high-level illumination shape. The same method is used to form the low-position illumination shape for the low-position line segments.

[0014] Further, in step S6, retaining the high-position irradiation shape and the low-position irradiation shape that form a closed region and whose area is within a set range specifically means: For each high-level illumination shape or low-level illumination shape, obtain the top endpoint of the corresponding high-level line segment or low-level line segment in the high-level contour map A or low-level contour map A, as well as the top endpoint of the mapped line segment. If the distance between the two endpoints is within a set threshold, then the high-level illumination shape or low-level illumination shape is determined to be a closed region. For high-position illumination shapes and low-position illumination shapes that are determined to be closed regions, the number of pixels within the closed region is calculated as the area of ​​the closed region, and illumination shapes with an area within a set range are retained.

[0015] The technical solution of this invention can achieve the following technical effects: This solution utilizes two laser beams illuminating the vehicle mount from opposite directions, employing two cameras to capture light marks from different directions. This complementary light mark area provides more complete shape information, improving the accuracy of vehicle mount inspection. Furthermore, this solution employs non-contact inspection, avoiding scratches or deformations to the vehicle mount surface and thin-walled tubing caused by contact measurements. It also allows inspection to proceed independently of the alignment of the vehicle mount with the feeding direction, adapting to situations where the horizontal angle of the vehicle mount is uncertain. The entire inspection process is automated, offering high efficiency and suitability for online inspection and full inspection in mass production. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0017] Figure 1 This is a structural diagram of a vehicle mounting bracket; Figure 2 This is a schematic diagram of a vehicle-mounted mounting bracket performance testing system. Figure 3 This is a side view of an automotive mounting bracket performance testing system. Figure 4 This is a schematic diagram of the light trail formed by the first laser beam illuminating the vehicle mounting bracket. Figure 5 This is a schematic diagram of the light trail formed by the second-line laser irradiating the vehicle mounting bracket. Figure 6 This is a schematic diagram of the high-level contour plot A. Figure 7 This is a schematic diagram of the low-level contour image A; Figure 8 This is a schematic diagram of the high-level contour map B; Figure 9 This is a schematic diagram of the low-level contour map B. Figure 10 A schematic diagram of an image showing the shape of a high-position illumination. Reference numerals: 01, main pipe fitting; 1, first transmitter; 2, first camera; 3, second camera; 4, second transmitter; 5, transport device; 61, high-level light trail area; 62, low-level light trail area. Detailed Implementation

[0018] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.

[0019] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. The terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.

[0020] This invention relates to a vehicle mounting bracket performance testing system, such as... Figures 2-3As shown, the system includes a first transmitter 1, a first camera 2, a second camera 3, and a second transmitter 4, which are sequentially fixed along the feeding direction; it also includes a transport device 5 for moving the vehicle-mounted bracket along the feeding direction; the system further includes a processor for acquiring images captured by the first camera 2 and the second camera 3 and performing performance detection calculations. Addressing the problems of existing technologies where vehicle-mounted bracket shape feature detection relies on manual labor, has high operational requirements, low efficiency, poor repeatability, and is difficult to automate, this invention adopts a non-contact detection scheme using dual-line lasers and dual cameras. The specific installation requirements for each component are as follows: The first transmitter 1 and the second transmitter 4 are at the same height; the first camera 2 and the second camera 3 are at the same height. The first transmitter 1 emits a first line of laser light diagonally from top to bottom, and the first line of laser light forms a 45° angle with the feeding direction; The field of view of the first camera 2 is parallel to the feeding direction, and the field of view covers the area of ​​the light trace area of ​​the first line laser on the vehicle mounting bracket. The second transmitter 4 emits a second laser beam from top to bottom at an angle of 45° with the opposite direction of the feeding direction. The field of view of the second camera 3 is parallel to the feeding direction, and the field of view covers the area of ​​the light trace area of ​​the second laser beam on the vehicle mounting bracket.

[0021] When in use, the transport device 5 drives the vehicle-mounted bracket to move along the feeding direction; when passing under the first camera 2 and the second camera 3, the first laser and the second laser will illuminate the vehicle-mounted bracket to form light marks.

[0022] The core principle of this detection system lies in using two oblique laser beams in opposite directions. As the vehicle-mounted bracket moves with the transport device 5, it leaves light marks of varying heights on the pipes within the camera's field of view. Image processing then yields the spatial position and orientation information of each pipe, especially the main pipe 01. For example... Figure 1 Taking the conventional vehicle-mounted bracket structure shown as an example, when placed on the transport device 5, the four main tubes 01 are of varying heights. When the first laser beam illuminates the vehicle-mounted bracket at a 45° angle, the light trail from the higher tube falls in the area closer to the first transmitter 1 within the camera's field of view, while the light trail from the lower tube falls in the area farther from the first transmitter 1, forming clearly separated line segments, such as... Figure 4 As shown; when the second laser beam illuminates the vehicle mount from the opposite direction at a 45° angle, a similar distribution of high and low light trails will also be formed, such as... Figure 5As shown. Since the two laser beams are in opposite directions, for the same pipe, the first and second laser beams illuminate different sides of the pipe from two different directions. Areas not illuminated by a single-direction laser beam are illuminated by the other-direction laser, thus the light traces from the two directions can complement each other, jointly reflecting the contour information of the pipe. Furthermore, by determining whether they are complementary and the state after complementation, light traces not belonging to the pipe can be accurately identified, and the position of the pipe can be accurately extracted. This allows for the acquisition of the spatial position and orientation of each main pipe 01 of the vehicle mount, and further calculation of performance parameters such as parallelism and spacing between the main pipe 01. The entire inspection process requires no manual intervention or correction of the vehicle mount position and can adapt to situations where the horizontal placement angle of the vehicle mount is uncertain.

[0023] To ensure accurate camera triggering when the vehicle mount reaches the optimal shooting position and avoid missed shots or invalid images, this detection system preferably also includes a first detector and a second detector, respectively positioned at the edge of the field of view of the first camera 2 and the second camera 3, to detect whether the vehicle mount has entered the field of view of the first camera 2 and the second camera 3. The first and second detectors can employ existing detection devices such as photoelectric switches, proximity switches, or visual trigger sensors. When the vehicle mount enters the camera's field of view, the detector outputs a trigger signal, causing the camera to capture an image promptly. This ensures that each shot is taken within the effective detection area of ​​the vehicle mount, providing complete and valid image data for subsequent performance testing and calculations.

[0024] To reduce interference from ambient light on the laser traces, this detection system preferably includes a detection area, which is a light-shielding structure to isolate it from external light. The first transmitter 1, the first camera 2, the second camera 3, and the second transmitter 4 are all located within this detection area. The light-shielding structure can take the form of a light shield, a dark box, or a light-shielding curtain, and its inner wall can be lined with light-absorbing material to further reduce reflected light interference. By placing the laser transmitter and cameras within the detection area isolated from external light, the imaging quality of the line laser traces can be effectively improved, providing a reliable basis for subsequent image processing and performance testing calculations. The two ends of the transport device 5 preferably extend to the outside of the light-shielding structure for easy placement and retrieval of the vehicle-mounted bracket.

[0025] To further filter out stray or reflected light, a first narrowband filter and a second narrowband filter are preferably placed in front of the lenses of the first camera 2 and the second camera 3, respectively. The center wavelengths of the first narrowband filter and the second narrowband filter are consistent with the wavelengths of the first and second line lasers, respectively. The narrowband filter only allows light near the corresponding laser wavelength to pass through, which can significantly improve the contrast between the laser trace and the background, thereby improving the accuracy and stability of trace extraction and ensuring the accuracy of performance detection calculations.

[0026] This invention also relates to a method for testing the performance of an automotive mounting bracket, using the aforementioned automotive mounting bracket performance testing system, comprising multiple steps S1 to S7. This method utilizes two oblique linear lasers pointing in opposite directions. As the mounting bracket moves with the transport device, it leaves light traces at different positions on the tubes of varying heights on the mounting bracket within the camera's field of view. By integrating the light traces over time, pairing them to form an illumination shape, and extracting the geometric center, the spatial position and orientation information of each tube is obtained, thereby calculating the performance parameters of each tube of the mounting bracket. The specific details of each step are as follows: S1: A high-position light trail area 61 and a low-position light trail area 62 are set in both the field of view of the first camera 2 and the field of view of the second camera 3. Because the various components of the vehicle mount have different heights, the oblique line laser illumination will create light trails of varying heights in the camera's field of view. The high-position light trail area 61 corresponds to the illumination area of ​​the taller components on the vehicle mount; the low-position light trail area 62 corresponds to the illumination area of ​​the shorter components on the vehicle mount. Pre-dividing these two areas within the camera's field of view allows for quick alignment of the extracted light trail segments according to height, preventing light trails from different heights from mixing together.

[0027] S2: When the vehicle-mounted bracket passes through the field of view of the first camera 2, images are captured at set intervals. All captured images and their corresponding capture times are packaged and recorded as image group A. When the vehicle-mounted bracket passes through the field of view of the second camera 3, images are captured at set intervals. All captured images and their corresponding capture times are packaged and recorded as image group B. Since the transport device 5 moves at a constant or near-constant speed, the capture time corresponds to the position of the vehicle-mounted bracket in the feeding direction. Groups A and B each record the continuous light trail information of the vehicle-mounted bracket when it is irradiated from different laser directions.

[0028] S3: Extract the light trail segments from each captured image. According to the high-position light trail area 61 and low-position light trail area 62 divided in S1, the light trail segments in the high-position light trail area 61 and low-position light trail area 62 are respectively recorded as high-position segments and low-position segments.

[0029] S4: Obtain the corresponding position based on the shooting time of each image. Then, determine the correspondence between the images within each group based on these positions. Integrate all high-level and low-level line segments in group A of images into high-level contour map A and low-level contour map A, respectively. Similarly, integrate all high-level and low-level line segments in group B of images into high-level contour map B and low-level contour map B, respectively. This step is equivalent to unfolding the light traces obtained by the laser scanning of the vehicle mount during its movement into the same "position-pixel" coordinate system according to different heights, forming an unfolded image reflecting the outer contour of the vehicle mount. The unfolded effect is as follows: Figures 6-9 As shown, the light trails cover the important outline area of ​​the vehicle mounting bracket.

[0030] S5: Using the high-level line segments of high-level contour map A as a reference, find the closest high-level line segment in high-level contour map B and translate it so that the endpoints of the two high-level line segments coincide, forming a high-level illumination shape; using the low-level line segments of low-level contour map A as a reference, find the closest low-level line segment in low-level contour map B and translate it so that the endpoints of the two low-level line segments coincide, forming a low-level illumination shape. This step is equivalent to adding the line segments of high-level contour map B and low-level contour map B into high-level contour map A and low-level contour map A respectively and pairing them with each other. Since the transport device 5 moves at a constant speed and the shooting interval of the first camera 2 and the second camera 3 is also the same, the high-level line segments and low-level line segments in the two maps can basically match one by one. The number of line segments that can normally match each other is sufficient to support subsequent measurements, so high-level line segments or low-level line segments that cannot match can be directly discarded.

[0031] S6: Due to the symmetrical irradiation of the first and second laser lines, for the same pipe, the light traces from group A and group B will form two light traces in opposite directions in the "position-pixel" coordinate system, and the two ends of the light traces should correspond exactly to the side of the pipe. Therefore, the two light traces belonging to the pipe can overlap with each other. Figure 10 As shown, two light traces belonging to a pipe fitting can form a closed area after matching. However, if the light traces are located on the arc surface between pipe fittings or on other components, it is difficult to ensure that the two opposite light traces in these places coincide at both ends (i.e., a closed area cannot be formed after matching), or even if a closed area is formed, the area will be too large or too small (for example, the closed area formed by the connecting pipe fitting between two main pipe fittings 01 will be too large), which is significantly different from the closed area generated by the main pipe fitting 01. Therefore, this step can accurately identify the light traces belonging to the main pipe fitting 01 and remove other interfering light traces by retaining the high-position illumination shape and low-position illumination shape that form a closed area and whose closed area is within the set range. Then, the geometric centers of each high-position illumination shape and low-position illumination shape are recorded as the high point and low point, respectively. The high point is the center point of the main pipe fitting 01 located at the high position corresponding to the illumination point, and the low point is the center point of the main pipe fitting 01 located at the low position corresponding to the illumination point.

[0032] S7: Calculate the set performance testing requirements, including the straightness of each pipe on the high and low sides of the vehicle mount, as well as the parallelism and spacing between the pipes, so as to determine whether the performance of installing other external parts is normal, and promptly alarm and remove unqualified vehicle mounts.

[0033] While there have been attempts to use visual inspection in existing technologies, in this scenario, since the vehicle-mounted bracket is in the installed state during inspection, multiple main pipes are distributed front and back, and the pipes in front inevitably block the pipes behind. At the same time, the pipes are equipped with accessories such as support beams, locking mechanisms, and rubber parts, and their heights and protrusions are inconsistent, creating a lot of interference. Traditional visual inspection methods are difficult to accurately identify and measure the main pipes distributed front and back in this scenario.

[0034] This solution employs two opposing laser lines at +45° and -45° to the feeding direction, illuminating the vehicle-mounted bracket from two opposite directions. Areas obstructed by the front pipes can be supplemented by the laser from the other direction, effectively overcoming the obstruction problem of unidirectional vision. Simultaneously, the camera's field of view is divided into high-position and low-position light trace areas, utilizing the height difference of the pipes to naturally separate the light traces of different pipes. Then, by pairing the two sets of light traces A and B according to their positions to form a closed irradiation shape and extracting the geometric center, the center position of each major pipe 01 can be stably obtained, thereby calculating features such as parallelism and spacing, adapting to obstruction and accessory interference in the installed state.

[0035] Preferably, in step S1, the specific method for setting the high-position light trace region 61 and the low-position light trace region 62 is as follows: S1.1: Place multiple calibration blocks of known height but different heights on the transport device in sequence, so that the calibration blocks pass through the field of view of the first camera 2 and the second camera 3. Record the horizontal coordinate position of the line laser light trace on the calibration block at different heights in the images captured by the first camera 2 and the second camera 3. The horizontal coordinate direction of the image (i.e., the x-direction) corresponds to the feeding direction. Fit the correspondence between the height and the image coordinates. S1.2: Based on the design drawings or 3D model of the vehicle mounting bracket, determine the height range of the higher and lower components during testing. The height range is based on the design height h1 of the higher component and the design height h2 of the lower component, combined with the allowable deviation b. pic This forms a high-level height range [h1-b] pic ,h1+b pic ] and low-level height range [h2-b pic h2+b pic ], h1-b pic h1+b pic h2-b pic h2+b pic After mapping the obtained correspondence onto the images captured by the first camera 2 and the second camera 3, two image regions can be formed, namely the high-position light trail region 61 and the low-position light trail region 62 (e.g., Figure 4 and Figure 5 (As shown). The boundaries of the high-position light trace region 61 and the low-position light trace region 62 can coincide.

[0036] Preferably, in step S2, forming the captured image group A and the captured image group B specifically involves: S2.1: When the vehicle mount enters the field of view of the first camera 2, the timer Ta starts from zero; the first camera 2 takes a black and white image at set intervals (e.g., 50ms), which is recorded as image A. raw (Ta), then all captured images A raw (Ta) can be combined to form the captured image group A.

[0037] S2.2: When the vehicle mount enters the field of view of the second camera 3, the timer Tb starts from zero; the second camera 3 takes a black and white image at set intervals (e.g., 50ms), which is recorded as image B. raw (Tb), then all captured images B raw (Tb) can be combined to form the captured image group B.

[0038] Preferably, in step S3, extracting the light trail segments from each captured image and distinguishing between high-order and low-order segments specifically involves: S3.1: For all captured images A raw (Ta) and captured image B raw (Tb) are binarized separately to obtain the binarized image A. bin (Ta) and B bin (Tb).

[0039] Specifically, for image A... raw The xth in (Ta) Ta,raw y Ta,raw The grayscale value of the pixels in a row is denoted as g(x). Ta,raw ,y Ta,raw Considering that line laser trails appear as bright lines in the image, and that each row typically contains only one brightest point, a row-by-row variable thresholding method can be used for binarization. For each row y Ta,raw Calculate the maximum grayscale value g of all pixels in this row. max (y Ta,raw Set the binarization threshold T(y) for this row. Ta,raw )=g max (y Ta,raw )-Δ, where Δ is the preset grayscale margin, for example, 20~50; or T(y Ta,raw )=α×g max (y Ta,raw ), where α is a scaling factor, for example, 0.6~0.8. Then, for the pixel (x) in that row Ta,raw ,y Ta,raw If g(x) Ta,raw ,y Ta,raw)≥T(y Ta,raw If a pixel is significantly brighter than other pixels in the same row, it is assigned the value of white; otherwise, it is assigned the value of black. This process is repeated for all pixels to obtain the binarized image A. bin (Ta).

[0040] Similarly, for image B... raw (Tb) undergoes the same processing for the captured image B. raw The xth in (Tb) Tb,raw y Tb,raw The grayscale value of the pixels in a row is denoted as g(x). Tb,raw ,y Tb,raw For each row y Tb,raw Calculate the maximum grayscale value g of all pixels in this row. max (y Tb,raw Set the binarization threshold T(y) for this row. Tb,raw )=g max (y Tb,raw )-Δ; or T(y Tb,raw )=α×g max (y Tb,raw Then, for the pixels (x) in that row Tb,raw ,y Tb,raw If g(x) Tb,raw ,y Tb,raw )≥T(y Tb,raw If a pixel is found to be white, it is assigned the value of white; otherwise, it is assigned the value of black. This process is repeated for all pixels to obtain the binarized image B. bin (Tb). If a row does not have any obvious highlights (e.g., g). max If the brightness is less than the global minimum brightness threshold, then the row will not be included in binarization to avoid misjudging noise as light trails.

[0041] S3.2: For the binarized image A bin (Ta) and B bin The white pixel in (Tb) is determined to be located in the high-position light trail area 61 or the low-position light trail area 62 based on its pixel coordinates. If the white pixel is located in the high-position light trail area 61, it is recorded as a high-position white pixel; if it is located in the low-position light trail area 62, it is recorded as a low-position white pixel.

[0042] Then, clustering is performed on the white pixels in the same binarized image: for any two high-order white pixels, if the pixel distance between them is less than a set threshold d (e.g., d=3 pixels), then the two high-order white pixels are determined to belong to the same line segment; otherwise, they belong to different line segments. By performing clustering on the high-order and low-order white pixels in each image, several high-order line segments and several low-order line segments can be obtained.

[0043] To facilitate subsequent processing, each line segment is named: For the binarized image A bin (Ta), let H be the ka-th high-order segment. A (Ta,ka), the ma-th low-order segment is denoted as L. A (Ta,ma); for the binary image B bin (Tb), let H be the kb-th high-order segment. B (Tb, kb), the mb-th low-order segment is denoted as L. B (Tb,mb). Each line segment is represented by the set of white pixels it contains.

[0044] It should be noted that the high-level line segment H is obtained using the above method. A (Ta,ka), H B (Tb,kb) and low-level line segment L A (Ta,ma), L B (Tb,mb) is applicable when the end of the main pipe 01 facing the first transmitter 1 and the second transmitter 4 is curved or has a chamfered edge. This ensures that the light traces (i.e., high-level and low-level line segments) on the main pipe 01 exhibit a certain curvature, allowing for the creation of a closed region in subsequent calculations. For safety, the main pipe 01 is usually chamfered or made with a curved surface. If the main pipe 01 has a special shape, with a flat outer surface and no chamfer, the light traces produced by the line laser irradiation will be straight. In this case, it is necessary to identify each high-level line segment H. A (Ta,ka), H B (Tb,kb) and low-level line segment L A (Ta,ma), L B After (Tb,mb), then at each high-level line segment H A (Ta,ka), H B (Tb,kb) and low-level line segment L A (Ta,ma), L B Add a fixed-length line segment to the top and bottom of (Tb,mb). The line segment faces the direction of laser irradiation and extends at a 45° angle to the x-direction away from the original line segment, making the higher line segment H... A (Ta,ka), H B (Tb,kb) and low-level line segment L A (Ta,ma), L B (Tb,mb) forms a bowl-shaped structure, enabling it to subsequently form a closed region.

[0045] S3.3: Perform state judgment and interference removal on each extracted high-order and low-order line segment. Specifically, calculate the feature parameters of each line segment, including: the number of pixels N contained in the line segment, and the span W of the line segment in the y-direction. y The mean gray level G of each pixel within the line segment in the captured image. mean .

[0046] Set the following filter criteria: If N is less than the preset minimum number of pixels N min (e.g. N) min If W = 5), then the line segment is determined to be noise and removed; if W y Less than the preset minimum span W y,min (e.g. W) y,min If the line segment is less than 3 pixels, it is considered invalid and discarded; if G mean Less than the preset minimum grayscale mean G min (e.g. G) min If the value is 50, then the line segment is determined to be non-laser interference and is removed.

[0047] Preferably, in step S4, the integration of high-level contour map A, low-level contour map A, high-level contour map B, and low-level contour map B specifically involves: S4.1: When setting up the first camera 2, the second camera 3, and the transport device 5, the following conditions must be met: the transport device 5 drives the vehicle-mounted bracket to move at a constant speed, and the pixel equivalent of the first camera 2 and the second camera 3 is the same in the feeding direction, so that the actual movement speed of the vehicle-mounted bracket within the field of view of the two cameras (i.e., the distance the vehicle-mounted bracket moves per unit time) is V. re The corresponding pixel velocity (i.e., the distance of pixel movement of the vehicle mount in the images of the first camera 2 and the second camera 3 per unit time) of the vehicle mount within the field of view of the first camera 2 and the second camera 3 is v. pix v pix =V re / p, where p is the pixel equivalent (unit: mm / pixel), which is the actual length of one pixel in the image along the feeding direction; since the two cameras have the same pixel equivalent, therefore v pix same.

[0048] S4.2: Capture Image A raw The shooting time of (Ta) is Ta, and the image B is captured. raw The shooting time (Tb) is Tb. Since the pixel equivalent of the first camera 2 and the second camera 3 is the same, the total time for the vehicle mount to pass through the first camera 2 and the second camera 3 is the same, both denoted as T. all .

[0049] Then capture image A raw(Ta) corresponds to the vehicle mounting bracket at the corresponding position X in the feeding direction. A (Ta)=v pix ×(T all -Ta), capturing image B raw (Tb) corresponds to the vehicle mount at the corresponding position X in the feeding direction. B (Tb)=v pix ×(T all -Tb).

[0050] The corresponding position represents the distance the vehicle-mounted bracket is in the feeding direction relative to the moment it leaves the camera's field of view when the image is captured. Since the vehicle-mounted bracket moves continuously with the transport device 5, the light traces captured at different times actually correspond to cross-sections of the vehicle-mounted bracket at different positions in the feeding direction. To integrate the light trace segments scattered across the images in groups A and B into the same coordinate system, each image needs to be assigned a reference horizontal coordinate X. A (Ta) and X B (Tb) is the baseline x-axis, which is based on the distance the vehicle mount leaves the camera's field of view. It calculates the distance remaining between each captured image and the point at which it leaves the camera's field of view after the capture ends, thus establishing the relationship between multiple images in each group. For example, taking group A of captured images as an example, for captured image A... raw (Ta), since the shooting time has already passed for Ta duration, there is still T time remaining before the vehicle mount leaves the camera's field of view. all -The duration of Ta, i.e., it will move forward v pix ×(T all -Ta) pixels, then the captured image A raw The line segment of (Ta) should correspond to v. pix ×(T all -Ta) nearby.

[0051] S4.3: For captured image A raw (Ta) pixel (x) Ta,raw ,y Ta,raw Using the origin (0,0) as the reference, the difference between the origins of the images captured within the same group is X. A (Ta), therefore directly at the original pixel (x) Ta,raw ,y Ta,raw x-coordinate of ) Ta,raw Add X A (Ta) can then be mapped to the integrated image. For image B... raw The same principle applies when integrating pixels in (Tb).

[0052] Then the corresponding low-level segment and high-level segment are respectively: For all captured images A raw(Ta) high-level line segment H A (Ta,ka), which contains each pixel (x) Ta,raw ,y Ta,raw Mapping this to high-level contour map A yields the mapped pixel (x) in high-level contour map A. Ta,ka ,y Ta,ka ), where x Ta,ka =x Ta,raw +X A (Ta), y Ta,ka =y Ta,raw All mapped pixels (x Ta,ka ,y Ta,ka The combination forms a high-level profile diagram A.

[0053] For all captured images A raw (Ta) low-level line segment L A (Ta,ma), which contains each pixel (x) Ta,raw ,y Ta,raw Mapping this to the low-level contour map A yields the mapped pixel (x) in low-level contour map A. Ta,ma ,y Ta,ma ), where x Ta,ma =x Ta,raw +X A (Ta), y Ta,ma =y Ta,raw All mapped pixels (x Ta,ma ,y Ta,ma The combination forms a low-level profile diagram A.

[0054] For all captured images B raw (Tb) High-level line segment H B (Tb,kb), which contains each pixel (x) Tb,raw ,y Tb,raw Mapping this to high-level contour map B yields the mapped pixel (x) in high-level contour map B. Tb,kb ,y Tb,kb ), where x Tb,kb =x Tb,raw +X B (Tb), y Tb,kb =y Tb,raw All mapped pixels (x Tb,kb ,y Tb,kb The combination forms a high-level profile diagram B.

[0055] For all captured images B raw (Tb) low-level line segment L B (Tb,mb), which contains each pixel (x) Tb,raw ,y Tb,rawMapping this to the low-level contour map B yields the mapped pixel (x) in the low-level contour map B. Tb,mb ,y Tb,mb ), where x Tb,mb =x Tb,raw +X B (Tb), y Tb,mb =y Tb,raw All mapped pixels (x Tb,mb ,y Tb,mb The combination forms a low-level profile map B.

[0056] Preferably, in step S5, the formation of the high-position irradiation shape and the low-position irradiation shape specifically involves: S5.1: Calculate the geometric center of each line segment in high-level contour map A and high-level contour map B. Specifically, the geometric center of high-level line segment H has been obtained from previous calculations. A (Ta,ka) contains the coordinates (x, y) of the pixels in the high-level contour map A. Ta,ka ,y Ta,ka The average of the x-coordinates of all pixels within the line segment in the high-level contour map A is used as the x-coordinate of the geometric center, cx. Ta,ka The average of the ordinates of all pixels within the line segment in the high-level contour map A is used as the ordinate of the geometric center cy. Ta,ka Then the high-level line segment H A The geometric center (cx) of (Ta,ka) in high-level profile A Ta,ka ,cy Ta,ka ).

[0057] High-level line segment H B The coordinates (x, kb) of the pixels contained in (Tb, kb) in the high-level contour map B are shown below. Tb,kb ,y Tb,kb The average of the x-coordinates of all pixels within the line segment in the high-level contour map B is used as the x-coordinate of the geometric center, cx. Tb,kb The average of the ordinates of all pixels within the line segment in the high-level contour map B is used as the ordinate of the geometric center cy. Tb,kb Then the high-level line segment H B The geometric center (cx) of (Tb,kb) in the high-level profile B Tb,kb ,cy Tb,kb ).

[0058] S5.2: Calculate the geometric center of each line segment in low-level contour map A and low-level contour map B. Specifically, the geometric center of low-level line segment L has been obtained from previous calculations. A (Ta,ma) contains the coordinates (x,y) of the pixels in the low-level contour map A. Ta,ma ,y Ta,maThe average of the x-coordinates of all pixels within the line segment in the low-level contour map A is used as the x-coordinate of the geometric center, cx. Ta,ma The average of the ordinates of all pixels within the line segment in the low-level contour map A is used as the ordinate of the geometric center cy. Ta,ma Then the lower segment L A The geometric center (cx) of (Ta,ma) in low-level contour plot A Ta,ma ,cy Ta,ma ).

[0059] Low-position line segment L B (Tb,mb) contains the coordinates (x, y) of the pixels in the low-level contour map B. Tb,mb ,y Tb,mb The average of the x-coordinates of all pixels within the line segment in the low-level contour map B is used as the x-coordinate of the geometric center, cx. Tb,mb The average of the ordinates of all pixels within the line segment in the low-level contour map B is used as the ordinate of the geometric center cy. Tb,mb Then the lower segment L B (Tb,mb) has its geometric center (cx) in the low-level contour map B. Tb,mb ,cy Tb,mb ).

[0060] S5.3: For a high-level line segment H in high-level profile diagram A A (Ta,ka), the pixel with the smallest y-direction value among the pixels it includes is denoted as (x0). Ta,ka ,y0 Ta,ka ).

[0061] Select a high-level line segment H from the high-level contour map B. B Given (Tb, kb), minimize the geometric center distance between the two high-level line segments, and then denote the high-level line segment H selected from the high-level contour map B. B The pixel with the smallest y-direction value among the pixels included in (Tb,kb) is denoted as (x0). Tb,kb ,y0 Tb,kb Due to the unique characteristics of the ±45° linear laser irradiation used in this method, the high-level line segment H... B The two endpoints of (Tb, kb) are the two points with the largest and smallest values ​​in the y-direction. Therefore, the lateral difference between the two line segments is wx. Tb,kb =x0 Tb,kb -x0 Ta,ka The vertical difference is wy Tb,kb =y0 Tb,kb -y0 Ta,ka wx Tb,kb and wy Tb,kb That is, directly using the high-level line segment H BWhen the pixel at (Tb,kb) is placed in the high-level contour map A according to its original coordinates, the distance between the two in the horizontal and vertical directions is the difference between them.

[0062] Calculate the high-level line segment H selected from the high-level profile map B. B (Tb,kb) is mapped to line segment H in the high-level contour map A. BA Let H be the mapping line segment (Tb, kb). BA The pixel coordinates within (Tb, kb) are (xba) Tb,kb yba Tb,kb ), then xba Tb,kb =x Tb,kb -wx Tb,kb yba Tb,kb =y Tb,kb -wy Tb,kb Mapping line segment H BA (Tb, kb) represents the high-level line segment H. B (Tb,kb) is translated to the high-level contour map A and aligned with the high-level line segment H. A The final line segment with the bottom edges coinciding (Ta,ka) is mapped to line segment H. BA (Tb,kb) and high-level line segment H A (Ta,ka) together form a high-level irradiation shape, denoted as H. sh (Ta,ka).

[0063] S5.4: For a low-level line segment L in the low-level contour map A A (Ta,ma), the pixel with the smallest y-direction value among the pixels it includes is denoted as (x0). Ta,ma ,y0 Ta,ma ).

[0064] Select a low-level line segment L from the low-level contour map B. B (Tb,mb) minimizes the geometric center distance between two low-level line segments, and then the low-level line segment L selected from the low-level contour map B is denoted as (Tb,mb). B The pixel with the smallest y-direction value among the pixels included in (Tb,mb) is denoted as (x0). Tb,mb ,y0 Tb,mb The lateral difference between the two line segments is wx. Tb,mb =x0 Tb,mb -x0 Ta,ma The vertical difference is wy Tb,mb =y0 Tb,mb -y0 Ta,ma .

[0065] Calculate the low-level line segment L selected from the low-level profile map B. B (Tb,mb) is its mapping line segment L in the low-level contour map A.BA Let (Tb,mb) be the mapping line segment L. BA The pixel coordinates within (Tb,mb) are (xba) Tb,mb yba Tb,mb ), then xba Tb,mb =x Tb,mb -wx Tb,mb yba Tb,mb =y Tb,mb -wy Tb,mb Mapping line segment L BA (Tb,mb) represents the low-level line segment L. B (Tb,mb) is translated to the low-level contour map A and aligned with the low-level line segment L. A The final line segment with its bottom edges coinciding (Ta,ma) is mapped to line segment L. BA (Tb,mb) and low-level line segment L A (Ta,ma) together form a low-level illumination shape, denoted as L. sh (Ta,ma).

[0066] S5.5: For each high-level line segment H in the high-level profile diagram A A (Ta, ka) are all obtained by calculating their corresponding mapping line segments H using the method in S5.3. BA (Tb, kb), and combine them to form the corresponding high-position irradiation shape, denoted as H. sh (Ta,ka); For each low-level line segment L in the low-level contour map A A (Ta,ma) are all obtained by calculating their corresponding mapping line segments L using the method in S5.4. BA (Tb,mb), and combine them to form the corresponding low-position irradiation shape, denoted as L. sh (Ta,ma).

[0067] It should be noted that when pairing high-level or low-level line segments, a certain high-level line segment in high-level profile B or a certain low-level line segment in low-level profile B may be paired repeatedly. However, this is highly likely to occur at turning points, and the final combined high-level or low-level illumination shape will not be a closed shape. This will be deleted in subsequent calculations and will not affect the final calculation. Therefore, repeated pairing is acceptable. In addition, this method uses each line segment in high-level and low-level profile A as a reference and searches for line segments in high-level and low-level profile B to match. Even if there are remaining or repeated matches of line segments in high-level and low-level profile B, it will not affect subsequent calculations. Only line segments formed by light traces on the same main pipe 01 can ultimately form a closed area with a suitable high-level or low-level illumination shape.

[0068] Preferably, in step S6, retaining the high-position irradiation shape and the low-position irradiation shape that form a closed region and whose area is within a set range specifically means: S6.1: Determine the shape H of high-level irradiation sh (Ta,ka) and low-position irradiation shape L sh Whether (Ta,ma) is a closed region is as follows: Obtain each high-level line segment H in the high-level contour map A. A (Ta,ka) includes the pixel with the largest y-direction value and its corresponding mapped line segment H. BA (Tb,kb) is the pixel with the largest y-direction value among the pixels. If the distance between two pixels is within the set threshold (e.g., 3 pixels), then the corresponding high-position illumination shape is determined to be a closed region. Similarly, obtain each low-level line segment L in the low-level contour map A. A (Ta,ma) includes the pixel with the largest y-direction value among the pixels, and the corresponding mapped line segment L. BA (Tb,mb) includes the pixel with the largest y-direction value. If the distance between two pixels is within a set threshold (e.g., 3 pixels), then the corresponding low-level illumination shape is determined to be a closed region.

[0069] S6.2: The high-level irradiation shape calculated for a closed region is denoted as H. sh (Ta,ka) and the low-position irradiation shape are denoted as L. sh The area of ​​the enclosed region (Ta,ma) is as follows: The shape of high-level irradiation is denoted as H. sh Given (Ta, ka), determine the number of pixels in the i-th row: if there is only one pixel, this corresponds to the position where the two ends of the high-order illumination shape overlap, then record the number of pixels N in the i-th row. i =1; If there are two pixels corresponding to the normal boundary of the closed region, then the number of pixels between the two pixels is denoted as N. i Traversing the high-position illumination shape H sh For all rows in (Ta,ka), obtain all the N values. i The sum of these two values ​​gives the high-level irradiation shape, denoted as H. sh The area corresponding to (Ta,ka).

[0070] Similarly, the low-position illumination shape is denoted as L. sh Given (Ta, ma), determine the number of pixels in the j-th row: if there is only one pixel, this corresponds to the position where the two ends of the low-level illumination shape overlap, then record the number of pixels N in the j-th row. j=1; If there are two pixels corresponding to the normal boundary of the closed region, then the number of pixels between the two pixels is denoted as N. j Traversing the low-level illumination shape L sh For all rows in (Ta,ma), obtain all the N values. j The sum of these two values ​​gives the low-level irradiation shape, denoted as L. sh The area corresponding to (Ta,ma).

[0071] Area allowable range [S] min ,S max The method for determining S is as follows: Estimate the pixel area of ​​the closed region based on the diameter D of the main pipe fitting 01, the width of the light trace in the image, and the scale of the contour map. Specific values ​​can be determined through experimental calibration. For example, select multiple qualified samples, statistically analyze the distribution of their closed region areas, and take the upper and lower limits of the distribution range as S. min and S max .

[0072] S6.3: For each high-position illumination shape that is retained, the average of the x-coordinates of all the pixels contained therein is used as the x-coordinate of the high position point, and the average of the y-coordinates is used as the y-coordinate of the high position point; for each low-position illumination shape that is retained, the average of the x-coordinates of all the pixels contained therein is used as the x-coordinate of the low position point, and the average of the y-coordinates is used as the y-coordinate of the low position point.

[0073] Preferably, in step S7, the calculation of straightness, parallelism, and spacing is specifically as follows: The specific calculation method for straightness is as follows: For multiple high or low points corresponding to the same main pipe fitting 01, a straight line is fitted using the least squares method. The vertical distance from each point to the fitted straight line is calculated, and the maximum distance is taken as the straightness error, or the root mean square distance is taken as the straightness error.

[0074] The specific method for calculating parallelism is as follows: For two main pipe fittings 01 that need to be compared, perform least squares fitting on their corresponding high or low points respectively to obtain the direction vectors of the two fitted lines. Calculate the angle between the two direction vectors. The smaller the angle, the better the parallelism. This angle is the parallelism error.

[0075] The specific calculation method for the spacing is as follows: For two main pipe fittings 01 that need to be compared on the high or low side, take all the high points corresponding to the first main pipe fitting 01, and fit a reference straight line L1 using the least squares method. Then, take each high point corresponding to the second main pipe fitting 01, and calculate the vertical distance d from each high point to the reference straight line L1. q All these vertical distances d q The average value is used as the spacing between the two main pipe fittings 01 on the higher side; or all vertical distances d are taken. qThe minimum value is taken as the minimum spacing, and the maximum value is taken as the maximum spacing, forming the spacing range. If only a single spacing value is needed, the average or median is used. There are also several existing methods for calculating the above parameters, which will not be elaborated here.

[0076] Although the invention has been described in conjunction with specific features and embodiments, it is obvious that various modifications and combinations can be made therein without departing from the spirit and scope of the invention. Accordingly, this specification and drawings are merely illustrative of the invention and are to be considered as covering any and all modifications, variations, combinations, or equivalents within the scope of the invention. Clearly, those skilled in the art can make various alterations and modifications to the invention without departing from its scope. Thus, if such modifications and modifications of the invention fall within the scope of the invention and its equivalents, the invention is intended to include such modifications and modifications.

Claims

1. A vehicle-mounted mounting bracket performance testing system, characterized in that, It includes a first transmitter (1), a first camera (2), a second camera (3), and a second transmitter (4) that are fixedly arranged in sequence along the feeding direction; it also includes a transport device (5) for driving the vehicle-mounted bracket to move along the feeding direction; The first transmitter (1) and the second transmitter (4) are at the same height; the first camera (2) and the second camera (3) are at the same height; The first transmitter (1) emits a first line laser from top to bottom at an angle, and the first line laser forms a 45° angle with the feeding direction; The field of view of the first camera (2) covers the area of ​​the light trace on the vehicle mounting bracket illuminated by the first line laser; The second transmitter (4) emits a second laser beam from top to bottom at an angle, and the second laser beam forms a 45° angle with the opposite direction of the feeding direction; The field of view of the second camera (3) covers the area of ​​the light trace that the second line laser illuminates on the vehicle mounting bracket; It also includes a processor for acquiring images captured by the first camera (2) and the second camera (3) and performing performance detection calculations.

2. The vehicle mounting bracket performance testing system according to claim 1, characterized in that, It also includes a first detector and a second detector, which are respectively set at the edge of the field of view of the first camera (2) and the second camera (3) to detect whether the vehicle mount reaches the field of view of the first camera (2) and the second camera (3).

3. The vehicle mounting bracket performance testing system according to claim 1, characterized in that, A detection area is also provided, which is a light-shielding structure used to isolate it from external light; the first transmitter (1), the first camera (2), the second camera (3) and the second transmitter (4) are all located in the detection area.

4. The vehicle mounting bracket performance testing system according to claim 1, characterized in that, A first narrowband filter and a second narrowband filter are respectively provided in front of the lenses of the first camera (2) and the second camera (3), and the center wavelengths of the first narrowband filter and the second narrowband filter are consistent with the wavelengths of the first line laser and the second line laser, respectively.

5. A method for testing the performance of an automotive mounting bracket, characterized in that, Using the vehicle mounting bracket performance testing system as described in any one of claims 1 to 4, the steps include: S1: A high-position light trail area (61) and a low-position light trail area (62) are set in both the field of view of the first camera (2) and the field of view of the second camera (3); S2: When the vehicle mount passes through the field of view of the first camera (2), take pictures at a set interval time, and pack all the pictures and the corresponding shooting time into a group of pictures A; when the vehicle mount passes through the field of view of the second camera (3), take pictures at a set interval time, and pack all the pictures and the corresponding shooting time into a group of pictures B. S3: Extract the light trail segments from each captured image, and record the light trail segments in the high-position light trail area and the low-position light trail area as high-position segments and low-position segments, respectively. S4: Based on the shooting time of each captured image, obtain the correspondence between each captured image in each group. Based on the correspondence, integrate all high-level line segments and low-level line segments in captured image group A into high-level contour map A and low-level contour map A respectively. Integrate all high-level line segments and low-level line segments in captured image group B into high-level contour map B and low-level contour map B respectively. S5: For each high-level line segment in high-level contour map A, find the closest high-level line segment in high-level contour map B and translate it so that the endpoints of the two high-level line segments coincide, forming a high-level illumination shape; for each low-level line segment in low-level contour map A, find the closest low-level line segment in low-level contour map B and translate it so that the endpoints of the two low-level line segments coincide, forming a low-level illumination shape. S6: Retain the high-level irradiation shape and low-level irradiation shape that form a closed region and whose area is within a set range, and take the geometric center of each high-level irradiation shape and low-level irradiation shape as the high point and low point, respectively. S7: Calculate the set performance testing requirements, including the straightness of each main tube of the vehicle mount, as well as the parallelism and spacing between the tubes.

6. The method for testing the performance of an automotive mounting bracket according to claim 5, characterized in that, In step S1, setting the high-position light trail area and the low-position light trail area specifically involves: Multiple calibration blocks of known heights are placed sequentially on the transport device (5), and the calibration blocks are passed through the first camera (2) and the second camera (3). The horizontal coordinate position of the line laser light trace on the calibration block at different heights is recorded in the captured image, and the correspondence between the height and the horizontal coordinate of the image is obtained. Determine the height range of the higher and lower components of the vehicle mounting bracket during testing; The height range of the higher component and the height range of the lower component are mapped to the images captured by the first camera (2) and the second camera (3) through a correspondence relationship, forming two image regions, which are respectively used as the high-position light trail region (61) and the low-position light trail region (62).

7. The method for testing the performance of an automotive mounting bracket according to claim 5, characterized in that, In step S3, extracting the light trail segments from each captured image and distinguishing between high-order and low-order segments specifically involves: Each image in group A and group B is binarized to obtain a binarized image. For white pixels in a binarized image, if they are located in the high-position light trail area, they are recorded as high-position white pixels; if they are located in the low-position light trail area, they are recorded as low-position white pixels. Clustering is performed on all white pixels in the same binarized image. If the pixel distance between two high-order white pixels is less than a set threshold, then the two high-order white pixels are determined to belong to the same high-order line segment. If the pixel distance between two low-order white pixels is less than a set threshold, then the two low-order white pixels are determined to belong to the same low-order line segment.

8. The method for testing the performance of an automotive mounting bracket according to claim 5, characterized in that, In step S4, the high-level contour map A, low-level contour map A, high-level contour map B, and low-level contour map B are obtained by integration as follows: Obtain the corresponding position for each captured image. The corresponding position is the distance that the vehicle mount is still in the feeding direction relative to the moment it leaves the camera's field of view when the image is captured. For the high-level and low-level line segments in the captured image group A, the horizontal coordinates of each pixel contained therein are increased by the corresponding position in the captured image, while the vertical coordinates remain unchanged, and they are mapped to the high-level contour map A and the low-level contour map A, respectively. For the high-order and low-order line segments in the captured image group B, the horizontal coordinates of each pixel contained therein are increased by the corresponding position in the captured image, while the vertical coordinates remain unchanged, and then mapped to the high-order contour map B and the low-order contour map B, respectively.

9. The method for testing the performance of an automotive mounting bracket according to claim 5, characterized in that, In step S5, the formation of the high-position irradiation shape and the low-position irradiation shape specifically involves: Calculate the geometric center of each high-level line segment in high-level profile A and the geometric center of each high-level line segment in high-level profile B. For a high-level line segment in high-level profile A, select the high-level line segment in high-level profile B that has the closest geometric center distance; Obtain the bottom endpoint of the high-level line segment in high-level contour map A and the bottom endpoint of the high-level line segment in high-level contour map B, and calculate the difference between the two endpoints in the horizontal and vertical directions. All pixels of the high-level line segment in the high-level contour map B are translated according to the difference to obtain the mapped line segment, so that the endpoint of the mapped line segment coincides with the endpoint of the high-level line segment in the high-level contour map A; the mapped line segment and the high-level line segment in the high-level contour map A together form a high-level illumination shape. The same method is used to form the low-position illumination shape for the low-position line segments.

10. The method for testing the performance of an automotive mounting bracket according to claim 9, characterized in that, In step S6, the high-position irradiation shape and low-position irradiation shape that retain the closed region and whose area is within the set range are specifically as follows: For each high-level illumination shape or low-level illumination shape, obtain the top endpoint of the corresponding high-level line segment or low-level line segment in the high-level contour map A or low-level contour map A, as well as the top endpoint of the mapped line segment. If the distance between the two endpoints is within a set threshold, then the high-level illumination shape or low-level illumination shape is determined to be a closed region. For high-position illumination shapes and low-position illumination shapes that are determined to be closed regions, the number of pixels within the closed region is calculated as the area of ​​the closed region, and illumination shapes with an area within a set range are retained.