Vehicle underbody alignment inspection method and vehicle underbody inspection system based on intelligent vision
Through intelligent vision technology, the inspection robot obtains vehicle images in real time, locates the license plate and wheel center point, and realizes front and rear navigation. It solves the problem of insufficient image quality of the vehicle bottom splicing image in the existing technology, and improves navigation accuracy and vehicle adaptability.
Patent Information
- Application Number
- CN202410635508.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-05-22
AI Technical Summary
In the existing vehicle bottom inspection technology, the quality of the vehicle bottom spliced image is insufficient, especially when the vehicle parking position is different and the license plate is not centered, resulting in navigation deviation and image deformation, making it impossible to effectively identify foreign objects under the vehicle.
Using the vehicle bottom centering inspection method based on intelligent vision, the inspection robot obtains the external image of the vehicle in real time, locates the license plate and the midpoint of the front wheel, adjusts the direction to the centerline of the front of the vehicle, then obtains the image of the bottom of the vehicle, locates the midpoint of the rear wheel, and adjusts to the centerline of the vehicle. The tail center line realizes full visual navigation, reduces costs and delays, and improves positioning accuracy and image quality.
It realizes the centering correction of non-centered license plates and the navigation of the front and rear of the car, improves the adaptability of the vehicle and the quality of the spliced image under the car, reduces the cost and delay, and improves the navigation accuracy and stability.
Smart Images

Figure CN118225770B
Abstract
Description
Technical Field
[0001] The present application belongs to the field of vehicle inspection technology, and more specifically, to a vehicle underbody centering inspection method and a vehicle underbody inspection system based on intelligent vision. Background Art
[0002] Under-vehicle inspection is a security measure designed to prevent non-compliant items from evading inspection by hiding under the vehicle. In the prior art, there is a method of using an under-vehicle inspection robot for inspection. The under-vehicle inspection robot is an electronic device that can pass through the space under the vehicle and take high-definition photos of the underside of the vehicle using a linear array camera. The continuous partial images obtained by the linear array camera are spliced to obtain a complete under-vehicle image.
[0003] However, due to the different parking positions of vehicles, the undercarriage inspection robot needs to be navigated to the front of the vehicle through manual remote control or robot workstation, but there will be wireless network delay in this process; then the center point of the license plate is detected by an ordinary camera to determine the center line of the vehicle, but when some license plates are not installed in the center, the undercarriage inspection robot cannot enter the undercarriage from the center line of the vehicle. In addition, after entering the undercarriage, the undercarriage inspection robot also uses physical sensors to detect and avoid obstacles, but the environment under the vehicle is complex and the navigation process is easy to deviate from the center line of the vehicle. In this way, the complete undercarriage image obtained by image stitching will have poor quality problems such as deformity and missing targets. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a vehicle underbody alignment inspection method and a vehicle underbody inspection system based on intelligent vision, so as to solve the technical problem of insufficient quality of vehicle underbody splicing images in the vehicle underbody inspection process in the prior art.
[0005] To achieve the above purpose, the technical solution adopted in this application is: to provide a vehicle bottom centering inspection method based on intelligent vision, the vehicle bottom centering inspection method based on intelligent vision, based on an inspection robot, comprising the steps of:
[0006] The inspection robot obtains the external image of the vehicle in real time, and obtains the license plate positioning point and the front wheel center point from the external image of the vehicle;
[0007] Locate the vehicle head positioning point according to the horizontal coordinate of the license plate positioning point and the vertical coordinate of the front wheel midpoint;
[0008] The inspection robot adjusts its direction in real time based on the relative position of the vehicle head positioning point and the center line of the field of vision and moves to the center line of the vehicle head;
[0009] The inspection robot obtains the bottom image of the vehicle in real time and obtains the midpoint of the rear wheel from the bottom image of the vehicle;
[0010] The inspection robot adjusts its direction in real time based on the relative position of the midpoint of the rear wheel and the center line of the field of vision and moves to the center line of the rear of the vehicle.
[0011] Preferably, the method for obtaining the license plate location point from the vehicle external image comprises the steps of:
[0012] Detect four license plate vertices from the vehicle exterior image;
[0013] Output the quadrilateral formed by the four license plate vertices;
[0014] The intersection of the quadrilateral diagonals is used as the license plate positioning point.
[0015] Preferably, the method for obtaining the license plate location point from the vehicle external image comprises the steps of:
[0016] Detect four license plate vertices from the vehicle exterior image;
[0017] Output the quadrilateral formed by the four license plate vertices;
[0018] Detect all the internal angles of the quadrilateral and determine the internal angle closest to a right angle;
[0019] The midpoint of the opposite side of the triangle whose inner angle is closest to a right angle is used as the license plate positioning point.
[0020] Preferably, the method for obtaining the front wheel midpoint from the vehicle external image comprises the steps of:
[0021] The vehicle's external image is detected through the front wheel key point detection model, and two front wheel key points are output;
[0022] The midpoint of the two front wheel key points is the front wheel midpoint;
[0023] The front wheel key point is the intersection point of the front wheel, the vehicle chassis and the background area.
[0024] Preferably, after locating the vehicle head positioning point according to the horizontal coordinate of the license plate positioning point and the vertical coordinate of the front wheel midpoint, the method further includes the following steps:
[0025] Obtaining the rear wheel midpoint from the vehicle external image;
[0026] Get the horizontal coordinate x of the front wheel midpoint f The horizontal coordinate x of the rear wheel midpoint b ;
[0027] Move the vehicle head positioning point to the right by x d coordinates, where x d =2(x f -x b ).
[0028] Preferably, after locating the vehicle head positioning point according to the horizontal coordinate of the license plate positioning point and the vertical coordinate of the front wheel midpoint, the method further includes the following steps:
[0029] Obtaining the rear wheel midpoint from the vehicle external image;
[0030] Get the distance L between a pair of rear wheel key points b , the distance L between the key points of a pair of front wheels f , the horizontal coordinate of the front wheel midpoint x f And the horizontal coordinate x of the rear wheel midpoint b ;
[0031] Move the vehicle head positioning point to the right by x d coordinates, where x d =(x f -x b )L f / L b .
[0032] Preferably, the method for determining whether the inspection robot moves to the center line of the vehicle head comprises the steps of:
[0033] Stop moving when the vehicle head positioning point is not detected from multiple consecutive frames of the vehicle external image;
[0034] Acquire the last frame of the vehicle's external image containing the vehicle's front positioning point, wherein the vehicle's external image is acquired by a depth camera;
[0035] Obtain the distance L from the inspection robot to the license plate positioning point in the last frame of the vehicle's external image based on the depth information c ;
[0036] Based on the distance L c Calculate the distance S from the projection point of the license plate positioning point on the ground to the inspection robot last ;
[0037] Check the robot's straight-line blind travel distance S, where , S robot To check the length of the robot body.
[0038] Preferably, after the inspection robot moves to the center line of the vehicle head, the process further includes the following steps:
[0039] Detecting the angle α between the normal vector direction of the front positioning point of the last frame of the vehicle external image and the body of the inspection robot based on the depth information;
[0040] The inspection robot rotates α degrees on the spot so that the body of the inspection robot is parallel to the normal vector direction of the vehicle head positioning point.
[0041] Preferably, the method for determining whether the inspection robot moves to the center line of the rear of the vehicle comprises the steps of:
[0042] When the midpoint of the rear wheel is not detected in multiple consecutive frames of the vehicle bottom image, check the robot's straight-line blind driving distance for 2S.
[0043] The present application also provides a vehicle underbody inspection system, which includes an inspection robot, a workstation and a background control terminal. The inspection robot is used to execute the vehicle underbody alignment inspection method based on intelligent vision as described above, and the workstation is used to provide logistics services for the inspection robot and receive monitoring data, and upload the monitoring data to the background control terminal, which processes, analyzes and detects the monitoring data.
[0044] Compared with the prior art, the vehicle underbody centering inspection method based on intelligent vision provided by the present application relies solely on the vision of the inspection robot throughout the entire process, realizing centering correction of non-centered license plates, vehicle front centering navigation, and vehicle rear centering navigation, reducing costs and delays, and improving vehicle adaptability, positioning accuracy, and vehicle underbody stitching image quality.
[0045] Compared with the prior art, the underbody inspection system provided by the present application relies solely on the vision of the inspection robot throughout the entire process because the inspection robot is used to execute the underbody centering inspection method based on intelligent vision. It can independently realize centering correction of non-centered license plates, front centering navigation, and rear centering navigation. It can navigate to the workstation in an offline state and upload monitoring data through the data interface after each inspection, thereby improving stability and adaptability. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0047] Figure 1 A schematic diagram of a process flow of a vehicle bottom centering inspection method based on intelligent vision provided in an embodiment of the present application;
[0048] Figure 2 Based on Figure 1 A schematic diagram of the navigation path of the robot according to the method of the invention;
[0049] Figure 3 Based on Figure 1 Schematic diagram of the method for obtaining the license plate positioning point according to the method in;
[0050] Figure 4 Based on Figure 1 A schematic diagram of another method for obtaining the license plate positioning point of the method;
[0051] Figure 5 Based on Figure 1 Schematic diagram of the process of training the wheel key point detection model based on the DSNTNN framework in the method;
[0052] Figure 6 Based on Figure 1 Schematic diagram of the correction of the left displacement of the vehicle head positioning point by the method in;
[0053] Figure 7 Based on Figure 1 Another schematic diagram of the method for checking the navigation path of the robot;
[0054] Figure 8 Based on Figure 1 A schematic diagram of the vehicle external image when the vehicle head positioning point stops moving without being detected in the continuous multiple frames of the method;
[0055] Fig. 9 Based on Figure 1 The method in obtains the schematic diagram of the rear wheel midpoint from the vehicle bottom image;
[0056] Fig.10 A schematic diagram of a vehicle underbody inspection system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0057] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0058] It should be noted that when an element is referred to as being "fixed to" or "disposed on" another element, it can be directly on the other element or indirectly on the other element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or indirectly connected to the other element.
[0059] It should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0060] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0061] Please also read Figure 1 to Figure 2 The vehicle bottom centering inspection method based on intelligent vision provided in the embodiment of the present application is now described. The vehicle bottom centering inspection method based on intelligent vision is based on an inspection robot and includes the following steps:
[0062] Step S1, the inspection robot obtains the external image of the vehicle in real time, and obtains the license plate positioning point and the front wheel midpoint from the external image of the vehicle;
[0063] Step S2, locating the vehicle head positioning point according to the horizontal coordinate of the license plate positioning point and the vertical coordinate of the front wheel midpoint;
[0064] Step S3, checking that the robot adjusts its direction in real time based on the relative position of the vehicle head positioning point and the center line of the field of vision and moves to the center line of the vehicle head;
[0065] Step S4, the inspection robot obtains the bottom image of the vehicle in real time, and obtains the midpoint of the rear wheel from the bottom image of the vehicle;
[0066] Step S5, checking that the robot adjusts its direction in real time based on the relative position of the rear wheel midpoint and the center line of the field of vision to move to the center line of the rear of the vehicle.
[0067] It is understandable that after the vehicles arrive at the inspection area, there will be deviations in the positions and orientations of different vehicles, and the license plates of some vehicles are not centered.
[0068] Therefore, in step S1, the inspection robot obtains the external image of the vehicle in real time, and after detecting the vehicle target, obtains the license plate positioning point and the front wheel midpoint from the external image of the vehicle.
[0069] The current license plate installation regulations: the license plate should be free of deformation and perforation, and basically vertical to the ground; the front license plate must be installed in the middle or slightly to the right of the front lower part of the vehicle body, and the rear license plate must be installed in the middle or slightly to the left of the rear lower front part of the vehicle body. In this way, the license plate surface is equivalent to the front plane of the vehicle, and the license plate positioning point is a point on the front plane of the vehicle.
[0070] The midpoint of the front wheel is the midpoint of the left and right front wheels, and the midpoint of the front wheel is located on the center line of the front of the vehicle. Therefore, in step S2, the front of the vehicle positioning point is located according to the horizontal coordinate of the license plate positioning point and the vertical coordinate of the midpoint of the front wheel. The front of the vehicle positioning point is equivalent to the point obtained after correcting the license plate positioning point relative to the center line of the front of the vehicle, that is, the position of the license plate in the centered setting state, which solves the positioning problem of the non-centered license plate.
[0071] In step S3, after determining the front positioning point, the inspection robot adjusts its direction in real time based on the relative position of the front positioning point and the center line of the field of vision. For example, if the front positioning point is on the left side of the center line of the field of vision, the inspection robot drives to the left front. For example, if the front positioning point is on the right side of the center line of the field of vision, the inspection robot drives to the right front. For example, if the front positioning point overlaps with the center line of the field of vision, the inspection robot drives straight. In this way, the inspection robot automatically navigates to the center line of the front of the vehicle.
[0072] Different from the prior art, in step S1 and step S3, there is no need for a workstation to control navigation, nor is there a need to communicate with the workstation. There is no need to set up physical sensors on the inspection robot. The entire process only relies on the vision of the inspection robot to perform centering correction on non-centered license plates, and then use the relative position of the front positioning point and the center line of the field of vision to achieve automatic navigation, avoiding network delays and improving navigation accuracy.
[0073] In steps S4 to S5, after the inspection robot reaches the bottom position of the front of the vehicle, the inspection robot obtains the bottom image of the vehicle in real time, obtains the midpoint of the rear wheel from the bottom image of the vehicle, and adjusts the direction in real time based on the relative position of the midpoint of the rear wheel and the centerline of the field of view to move to the centerline of the rear of the vehicle, and again relies on the vision of the inspection robot to complete the centering navigation.
[0074] Compared with the existing method of using physical sensors for navigation, the vehicle chassis environment is complex and uneven, which greatly interferes with the physical sensors. The inspection robot's route will not only deviate from the center line of the rear of the vehicle, but also bend. Therefore, during the movement, the continuous local images of the bottom of the vehicle obtained by the linear array camera on the inspection robot will be distorted after image stitching, and foreign objects under the vehicle cannot be identified.
[0075] In steps S4 to S5 of this embodiment, the direction is adjusted in real time to move to the center line of the rear of the vehicle based on the relative position of the midpoint of the rear wheel and the center line of the field of view. It is not affected by the vehicle chassis and can also adjust the direction in real time, so that the inspection robot travels in a uniform and straight line, thereby improving the quality of image stitching processing.
[0076] It is worth noting that the relative relationship between the front wheel and the rear wheel, the front and the rear of the vehicle is defined based on the relative position of the vehicle and the inspection robot. When the direction of the vehicle is opposite, the front wheel can also be called the rear wheel, and the front of the vehicle can also be called the rear of the vehicle. That is, the inspection robot of this embodiment can start inspection from any end of the vehicle.
[0077] Compared with the prior art, the vehicle underbody centering inspection method based on intelligent vision provided by the present application relies solely on the vision of the inspection robot throughout the entire process, realizing centering correction of non-centered license plates, vehicle front centering navigation, and vehicle rear centering navigation, reducing costs and delays, and improving vehicle adaptability, positioning accuracy, and vehicle underbody stitching image quality.
[0078] In another embodiment of the present application, in step S1, please refer to Figure 3 , a method for obtaining a license plate positioning point from an external image of a vehicle, comprising the steps of:
[0079] Detect four license plate vertices from the vehicle exterior image;
[0080] Output the quadrilateral formed by the four license plate vertices;
[0081] The intersection of the quadrilateral diagonals is used as the license plate positioning point.
[0082] It can be understood that this method is suitable for when the deviations of the four license plate vertices are small. Compared with the prior art that uses the diagonal intersection of the license plate detection frame as the license plate positioning point, using the diagonal intersection of the quadrilateral as the license plate positioning point can be more accurate. This embodiment trains the license plate key point detection model based on the YOLOX framework, which is a target detection algorithm based on deep learning that can quickly and accurately detect the key points of various objects in the image.
[0083] In another embodiment of the present application, in step S1, please refer to Figure 4 , a method for obtaining a license plate positioning point from an external image of a vehicle, comprising the steps of:
[0084] Detect four license plate vertices from the vehicle exterior image;
[0085] Output the quadrilateral formed by the four license plate vertices;
[0086] Detect all the internal angles of the quadrilateral and determine the internal angle closest to a right angle;
[0087] The midpoint of the opposite side of the triangle whose inner angle is closest to a right angle is used as the license plate positioning point.
[0088] It is understandable that in the process of detecting the four license plate vertices, it is inevitable that there will be a large deviation in one of the license plate vertices, resulting in the final license plate positioning point offset. In a rectangle, the offset of any vertex will cause the inner angle corresponding to the vertex and the adjacent vertices to change. Therefore, in this embodiment, the geometric principle is combined with image processing to restore the center point of the rectangle. By detecting all the inner angles of the quadrilateral composed of the four license plate vertices, the inner angle closest to the right angle is determined, and a triangle is formed with the inner angle and two adjacent points. The midpoint of the hypotenuse of the triangle is the midpoint of the opposite side of the inner angle. The accuracy and robustness of the license plate positioning point are improved.
[0089] In another embodiment of the present application, in step S1, please refer to Figure 5 and Figure 6 , a method for obtaining the front wheel midpoint from an external image of a vehicle, comprising the steps of:
[0090] The vehicle's external image is detected through the front wheel key point detection model, and two front wheel key points are output;
[0091] The midpoint of the two front wheel key points is the front wheel midpoint;
[0092] The front wheel key point is the intersection point of the front wheel, the vehicle chassis and the background area.
[0093] It is understandable that due to the insufficient brightness of the bottom part of the vehicle, the complex environment, and the blurred boundary between the wheel and the bottom of the vehicle, if any point on the front wheel or the vehicle chassis is used as the target detection point, there will be a large error, but it is obviously different from the background area. In this way, the intersection point of the front wheel, the vehicle chassis and the background area is used as the key point of the front wheel, which can reduce the misrecognition rate and improve the detection accuracy.
[0094] This embodiment trains the wheel key point detection model based on the DSNTNN framework. In order to improve the overall performance of the underbody inspection robot, this embodiment simplifies the backbone of the network, which not only greatly reduces the network parameters but also improves the reasoning speed; in order to improve the detection accuracy, this embodiment adds a key point classification branch in the network to determine whether the detected key points are accurate. In this embodiment, the backbone of the DSNTNN network is the UNet network, which removes a downsampling layer and an upsampling layer to improve the performance of the model; at the same time, a key point detection branch is added, which consists of two convolutional layers, a pooling layer and a sigmoid layer.
[0095] In another embodiment of the present application, in step S2, please refer to Figure 6 After locating the vehicle head positioning point according to the horizontal coordinate of the license plate positioning point and the vertical coordinate of the front wheel midpoint, the method further includes the following steps:
[0096] Obtaining the rear wheel midpoint from the vehicle external image;
[0097] Get the horizontal coordinate x of the front wheel midpoint f The horizontal coordinate x of the rear wheel midpoint b ;
[0098] Move the vehicle head positioning point to the right by x d coordinates, where x d =2(x f -x b ).
[0099] It is understandable that since the external image of the vehicle is from an upward perspective, when the inspection robot is close to the vehicle, the external image of the vehicle obtained will be distorted to a certain extent, causing the front positioning point located according to the horizontal coordinate of the license plate positioning point and the vertical coordinate of the midpoint of the front wheel to deviate from the actual centerline of the front of the vehicle.
[0100] In this embodiment, when used in a car, the midpoint of the rear wheel is detected to calculate the degree of deviation, that is, the horizontal coordinate x of the midpoint of the front wheel f The horizontal coordinate x of the rear wheel midpoint b The difference x f -x b When the difference x f -x b When x is 0, the vehicle head positioning point does not shift. f -x b When the difference x is greater than 0, the vehicle head positioning point needs to be corrected to the right. f -x b When it is less than 0, the front positioning point needs to be corrected to the left to improve the accuracy of the front positioning point.
[0101] In another embodiment of the present application, in step S2, please refer to Figure 6 After locating the vehicle head positioning point according to the horizontal coordinate of the license plate positioning point and the vertical coordinate of the front wheel midpoint, the method further includes the following steps:
[0102] Obtaining the rear wheel midpoint from the vehicle external image;
[0103] Get the distance L between a pair of rear wheel key points b , the distance L between the key points of a pair of front wheels f , the horizontal coordinate of the front wheel midpoint x f And the horizontal coordinate x of the rear wheel midpoint b ;
[0104] Move the vehicle head positioning point to the right by x d coordinates, where x d =(x f -x b )L f / Lb .
[0105] It is understandable that the longer the vehicle body is, the greater the distortion will be. Different from the above embodiment, the present embodiment adopts a dynamic coefficient, which is applicable not only to cars but also to trucks and trailers. Because the present embodiment also obtains the distance L between a pair of rear wheel key points b and the distance L between a pair of front wheel key points f , with L f / L b As the displacement coefficient, the longer the vehicle body length, the greater the L f / L b The larger the vehicle body, the smaller the length of the vehicle body. f / L b The smaller it is, the better the adaptability and accuracy of locating the vehicle head positioning point compared with the previous embodiment.
[0106] In another embodiment of the present application, in step S3, please refer to Figure 7 and Figure 8 , a method for determining that the inspection robot moves to the center line of the vehicle head, comprising the steps of:
[0107] Stop moving when the vehicle head positioning point is not detected from multiple consecutive frames of the vehicle external image;
[0108] Acquire the last frame of the vehicle's external image containing the vehicle's front positioning point, wherein the vehicle's external image is acquired by a depth camera;
[0109] Obtain the distance L from the inspection robot to the license plate positioning point in the last frame of the vehicle's external image based on the depth information c ;
[0110] Based on the distance L c Calculate the distance S from the projection point of the license plate positioning point on the ground to the inspection robot last ;
[0111] Check the robot's straight-line blind travel distance S, where , S robot To check the length of the robot body.
[0112] It is understandable that when the inspection robot approaches the bottom of the vehicle head, it will lose the target of the vehicle head positioning point, but at this time it is actually still a short distance away from the center line of the vehicle head. last ; Since the depth camera is located at the head of the inspection robot, the inspection robot’s blind walking distance S last Then check that the robot's head reaches the center line of the vehicle.
[0113] However, if the inspection robot adjusts its direction to the center point of the rear wheels, the body will deviate from the center line of the front of the vehicle by half the length of the body. Therefore, the inspection robot needs to walk blindly for half the length of the inspection robot. This further improves the accuracy of the front centering navigation.
[0114] Furthermore, in step S3, please refer to Figure 7 After checking that the robot moves to the center line of the vehicle head, the following steps are also included:
[0115] Detecting the angle α between the normal vector direction of the front positioning point of the last frame of the vehicle external image and the body of the inspection robot based on the depth information;
[0116] The inspection robot rotates α degrees on the spot so that the body of the inspection robot is parallel to the normal vector direction of the vehicle head positioning point.
[0117] It is understandable that the inspection robot's body direction does not change because it walks in a straight line during the blind walking process. Therefore, the angle α calculated from the position before the blind walking can be used to adjust the inspection robot's body direction after the blind walking so that the inspection robot's body direction is parallel to the centerline of the vehicle head. On the one hand, the inspection robot can obtain the midpoint of the rear wheel in the image of the bottom of the vehicle, and on the other hand, avoid large turns during the centering navigation movement of the rear end of the vehicle, and prevent distortion of the spliced image of the bottom of the vehicle.
[0118] Further, in step S5, please refer to Figure 7 and Fig. 9 , a method for determining that the inspection robot moves to the center line of the rear of the vehicle, comprising the steps of:
[0119] When the midpoint of the rear wheel is not detected in multiple consecutive frames of the vehicle bottom image, check the robot's straight-line blind driving distance for 2S.
[0120] It is understandable that since the midpoint of the rear wheel is positioned based on the left and right rear wheels, when the midpoint of the rear wheel is not detected, the actual distance from the midpoint of the rear wheel is about S, and the distance from the midpoint of the rear wheel to completely out of the rear of the vehicle is usually less than S. Therefore, by checking the robot's straight-line blind driving distance of 2S, the linear array camera can be used to ensure that a complete image of the bottom of the vehicle is obtained, while avoiding obtaining too many background images.
[0121] See also Fig.10 The present application also provides a vehicle underbody inspection system, which includes an inspection robot, a workstation and a background control terminal. The inspection robot is used to execute the vehicle underbody alignment inspection method based on intelligent vision as described above, and the workstation is used to provide logistics services for the inspection robot and receive monitoring data, and upload the monitoring data to the background control terminal, and the background control terminal processes, analyzes and detects the monitoring data.
[0122] Compared with the prior art, the underbody inspection system provided by the present application relies solely on the vision of the inspection robot throughout the entire process because the inspection robot is used to execute the underbody centering inspection method based on intelligent vision. It can independently realize centering correction of non-centered license plates, front centering navigation, and rear centering navigation. It can navigate to the workstation in an offline state and upload monitoring data through the data interface after each inspection, thereby improving stability and adaptability.
[0123] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A vehicle bottom centering inspection method based on intelligent vision, based on an inspection robot, characterized in that: Includes steps: The inspection robot obtains the external image of the vehicle in real time, and obtains the license plate positioning point and the front wheel center point from the external image of the vehicle; The method for obtaining the front wheel midpoint from an external image of a vehicle comprises the steps of: The vehicle's external image is detected through the front wheel key point detection model, and two front wheel key points are output; The midpoint of the two front wheel key points is the front wheel midpoint; The front wheel key point is the intersection of the front wheel, the vehicle chassis and the background area; Locate the vehicle head positioning point according to the horizontal coordinate of the license plate positioning point and the vertical coordinate of the front wheel midpoint; After locating the vehicle head positioning point according to the horizontal coordinate of the license plate positioning point and the vertical coordinate of the front wheel midpoint, the method further includes the following steps: Obtaining the rear wheel midpoint from the vehicle external image; Get the horizontal coordinate x of the front wheel midpoint f The horizontal coordinate x of the rear wheel midpoint b ; Move the vehicle head positioning point to the right by x d coordinates, where x d =2(x f -x b ); The inspection robot adjusts its direction in real time based on the relative position of the vehicle head positioning point and the center line of the field of vision and moves to the center line of the vehicle head; The inspection robot obtains the bottom image of the vehicle in real time and obtains the midpoint of the rear wheel from the bottom image of the vehicle; The inspection robot adjusts its direction in real time based on the relative position of the midpoint of the rear wheel and the center line of the field of vision and moves to the center line of the rear of the vehicle.
2. The vehicle bottom centering inspection method based on intelligent vision as claimed in claim 1, characterized in that: The method for obtaining a license plate positioning point from an external image of a vehicle comprises the steps of: Detect four license plate vertices from the vehicle exterior image; Output the quadrilateral formed by the four license plate vertices; The intersection of the quadrilateral diagonals is used as the license plate positioning point.
3. The vehicle bottom centering inspection method based on intelligent vision as claimed in claim 1, characterized in that: The method for obtaining a license plate positioning point from an external image of a vehicle comprises the steps of: Detect four license plate vertices from the vehicle exterior image; Output the quadrilateral formed by the four license plate vertices; Detect all the internal angles of the quadrilateral and determine the internal angle closest to a right angle; The midpoint of the opposite side of the triangle whose inner angle is closest to a right angle is used as the license plate positioning point.
4. The vehicle bottom alignment inspection method based on intelligent vision according to any one of claims 1 to 3, characterized in that: The method for determining that the inspection robot moves to the center line of the vehicle head includes the following steps: Stop moving when the vehicle head positioning point is not detected from multiple consecutive frames of the vehicle external image; Acquire the last frame of the vehicle's external image containing the vehicle's front positioning point, wherein the vehicle's external image is acquired by a depth camera; Obtain the distance L from the inspection robot to the license plate positioning point in the last frame of the vehicle's external image based on the depth information c ; Based on the distance L c Calculate the distance S from the projection point of the license plate positioning point on the ground to the inspection robot last ; Check the robot's straight-line blind travel distance S, where , S robot To check the length of the robot body.
5. The vehicle bottom centering inspection method based on intelligent vision as claimed in claim 4 is characterized in that: After checking that the robot has moved to the center line of the vehicle, the following steps are also included: Detecting the angle α between the normal vector direction of the front positioning point of the last frame of the vehicle external image and the body of the inspection robot based on the depth information; The inspection robot rotates α degrees on the spot so that the body of the inspection robot is parallel to the normal vector direction of the vehicle head positioning point.
6. The vehicle bottom centering inspection method based on intelligent vision as claimed in claim 5, characterized in that: The method for determining that the inspection robot moves to the center line of the rear of the vehicle comprises the steps of: When the midpoint of the rear wheel is not detected in multiple consecutive frames of the vehicle bottom image, check the robot's straight-line blind driving distance for 2S.
7. A vehicle bottom inspection system, characterized in that: It includes an inspection robot, a workstation and a background control terminal. The inspection robot is used to execute the vehicle bottom alignment inspection method based on intelligent vision as described in any one of claims 1 to 6. The workstation is used to provide logistics services for the inspection robot and receive monitoring data, and upload the monitoring data to the background control terminal. The background control terminal processes, analyzes and detects the monitoring data.
