Automobile light detection method, system, storage medium and intelligent terminal

By obtaining image information of the vehicle and lighting curtain, adjusting the vehicle position and moving the light detection equipment, the light detection error problem caused by the car's tilt is solved, and accurate light detection and efficiency improvement is achieved.

CN115683570BActive Publication Date: 2025-08-15NINGBO PUBLIC TRANSPORT VEHICLE TESTING CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211340705.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-29
Publication Date
2025-08-15
Estimated Expiration
2042-10-29

AI Technical Summary

Technical Problem

In the prior art, the light detection results are prone to errors when the vehicle is tilted, resulting in inaccurate detection.

Method used

By obtaining image information of the vehicle and lighting curtain, determining the lighting position and inclination angle, controlling the rotating equipment to adjust the vehicle position and moving the lighting detection equipment to obtain accurate lighting intensity information, determining whether it is within the standard range, and using wiping and blowing equipment to deal with dust or external brightness interference if necessary.

Benefits of technology

It reduces the light detection error caused by car tilt, improves detection efficiency, and accurately eliminates dust and external brightness interference, ensuring the accuracy of the detection results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115683570B_ABST
    Figure CN115683570B_ABST
Patent Text Reader

Abstract

The present application relates to a vehicle light detection method, system, storage medium, and intelligent terminal, covering the field of vehicle detection technology. The method comprises obtaining vehicle image information and screen image information; determining light position information based on the vehicle image information; determining brightness profile information and center position information within the screen image information; determining tilt line information based on the center position information and the light position information, and determining tilt angle information based on the tilt line information and the facing line; controlling a rotating device to rotate along an adjustment direction to obtain the tilt angle information, and controlling a light detection device to move to a position corresponding to the light position information to perform detection operations and obtain light intensity information; determining whether the intensity value corresponding to the light intensity information is within a standard range; if so, outputting a normal light signal; if not, outputting an abnormal light signal. The present application is effective in reducing inaccurate vehicle light detection results due to vehicle tilt.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle detection technology, and in particular to a vehicle light detection method, system, storage medium and intelligent terminal. Background Art

[0002] Vehicles need to be inspected regularly to reduce accidents during use. Currently, vehicle inspection items include appearance inspection, brake inspection, exhaust inspection, axle weight inspection, and lighting inspection.

[0003] In related technologies, when testing lights, the vehicle needs to be driven to a designated area and the lights turned on. At this time, images of the front face of the vehicle are captured and identified to determine the location of the lights, so that the light detection equipment can move along the width, length, and height of the vehicle body on a preset track to automatically track the light to realize the detection of the brightness of the lights.

[0004] Regarding the above-mentioned related technologies, the inventor believes that when a car moves to a designated area and is tilted, the brightness of the light irradiated on the light detection device will be lower than the actual brightness that the car light can produce, which may cause false detection of the car light, making the detection results obtained by the car light detection inaccurate, and there is still room for improvement. Summary of the Invention

[0005] In order to reduce the situation where the vehicle light detection results are inaccurate due to the vehicle tilting, the present application provides a vehicle light detection method, system, storage medium and intelligent terminal.

[0006] In a first aspect, the present application provides a method for detecting vehicle lights, which adopts the following technical solution:

[0007] A method for detecting automobile lights, comprising:

[0008] Acquiring vehicle image information of a preset vehicle parking area and curtain image information of a lighting curtain preset in front of the vehicle parking area;

[0009] Determine light position information based on vehicle image information;

[0010] Determine brightness profile information in the screen image information according to a preset edge detection algorithm, and determine center position information in the profile corresponding to the brightness profile information;

[0011] Determine tilted straight line information according to the center position information and the light position information, and determine tilt angle information according to the tilted straight line information and a preset facing straight line;

[0012] Controlling a rotating device preset in the vehicle parking area to rotate along a preset adjustment direction by an angle corresponding to the tilt angle information, re-determining the light position information and controlling a preset light detection device to move to a position corresponding to the position corresponding to the light position information to perform a detection operation to obtain light intensity information;

[0013] Determine whether the intensity value corresponding to the light intensity information is within a preset standard range;

[0014] If the intensity value corresponding to the light intensity information is within the standard range, a light normal signal is output;

[0015] If the intensity value corresponding to the light intensity information is not within the standard range, a light abnormality signal is output.

[0016] By adopting the above technical solution, the lighting point of the headlights can be determined according to the contour of the headlight illumination, and the corresponding tilt angle of the vehicle can be determined according to the lighting point of the headlights and the position of the headlights. At this time, the wheel parking area of the parked vehicle can be controlled to rotate to adjust the position of the vehicle, so that when detecting the vehicle lights, inaccurate light intensity detection will not occur due to the tilt of the car.

[0017] Optionally, a method for determining the center location information includes:

[0018] Establishing a horizontal virtual straight line parallel to the bottom boundary line of the image and a vertical virtual straight line perpendicular to the horizontal virtual straight line in the image corresponding to the screen image information;

[0019] Controlling the horizontal virtual straight line to move along a preset longitudinal direction in the image corresponding to the screen image information, determining horizontal line segment information based on a portion of the horizontal virtual straight line within a contour line corresponding to the brightness contour information, and determining horizontal length information based on the horizontal line segment information;

[0020] Controlling the longitudinal virtual straight line to move along a preset horizontal direction in the image corresponding to the screen image information, determining longitudinal line segment information based on a portion of the longitudinal virtual straight line within a contour line corresponding to the brightness contour information, and determining longitudinal length information based on the longitudinal line segment information;

[0021] Determine the horizontal length information corresponding to the largest value according to a preset sorting rule, and define the line segment corresponding to the horizontal line segment information corresponding to the horizontal length information as the major diameter line segment; determine the vertical length information corresponding to the largest value according to the sorting rule, and define the line segment corresponding to the vertical line segment information corresponding to the vertical length information as the minor diameter line segment;

[0022] The center position information is determined based on the intersection of the short diameter segment and the long diameter segment.

[0023] By adopting the above technical solution, a virtual straight line is established and moved in the image to determine the longest line segment in the horizontal direction and the longest line segment in the vertical direction. At this time, the intersection of the two is the light irradiation point, so as to achieve accurate determination of the light irradiation point.

[0024] Optionally, a method for determining the adjustment direction includes:

[0025] The two end points of the long diameter line segment are defined as detection points, and the distance information is determined based on the corresponding positions of the detection points and the center position information;

[0026] Comparing the distance values corresponding to the two pieces of separation distance information, defining the detection point corresponding to the separation distance information with the larger corresponding value as a far point, and defining the other detection point as a close point;

[0027] Determine the corrected direction information based on the direction from the far point to the near point;

[0028] A matching analysis is performed on the correction direction information stored in the preset direction database and the adjustment direction to determine the adjustment direction corresponding to the correction direction information.

[0029] By adopting the above technical solution, the appropriate adjustment direction is determined according to the actual tilt of the vehicle, so that the vehicle can be quickly corrected when turning.

[0030] Optionally, the method for moving the light detection device includes:

[0031] Determine adjustment position information based on tilt angle information, adjustment direction, light position information, and a preset rotation center point;

[0032] Determine target location information based on the adjusted location information and the preset correction distance;

[0033] Determine translation distance information and approach distance information according to target position information and a preset reference position;

[0034] Calculate the adjustment duration information based on the tilt angle information and the preset rotation speed;

[0035] Perform matching analysis based on the translation distance information, approach distance information, adjustment duration information, and movement mode information stored in the preset mode database to determine the movement mode information corresponding to the translation distance information and the approach distance information under the adjustment duration information;

[0036] The light detection device is controlled to move in a mode corresponding to the movement mode information for a duration corresponding to the adjustment duration information.

[0037] By adopting the above technical solution, the light detection device can be moved synchronously during the rotation of the wheel, so that the light detection device can be in place at the same time as the vehicle rotation is completed, thereby improving the efficiency of light detection.

[0038] Optionally, when the abnormal light signal is output, the vehicle light detection method further includes:

[0039] Determine whether the intensity value corresponding to the light intensity information is greater than the maximum value in the standard range;

[0040] If the intensity value corresponding to the light intensity information is greater than the maximum value in the standard range, a light-over-intensity signal is output;

[0041] If the intensity value corresponding to the light intensity information is not greater than the maximum value in the standard range, a light too weak signal is output, and the preset wiping device is controlled to move to the position corresponding to the adjustment position information to operate for a preset fixed time, and after the fixed time, the preset blowing device is controlled to operate for a preset blowing time;

[0042] After the blowing time has passed, the light intensity information is acquired again and it is determined whether there is a light too weak signal;

[0043] If there is no light-weak signal, then the light-normal signal is output;

[0044] If there is a light too weak signal, a light damage signal is output.

[0045] By adopting the above technical solution, when it is detected that the light intensity is too weak, a wiping device and a blowing device can be used to remove the interference caused by the excessive dust on the car lampshade, so that the car light detection is more accurate.

[0046] Optionally, when the light-too-strong signal is output, the vehicle light detection method further includes:

[0047] Get external brightness information;

[0048] Determine whether the brightness value corresponding to the external brightness information is greater than a preset reasonable value;

[0049] If the brightness value corresponding to the external brightness information is not greater than the reasonable value, a lighting modification signal is output;

[0050] If the brightness value corresponding to the external brightness information is greater than a reasonable value, the light detection device is controlled to move along a preset approach direction and a preset detection distance, and the light intensity information before the movement is defined as the initial intensity information, and the light intensity information after the movement is defined as the end intensity information;

[0051] Calculate the difference between the final intensity information and the initial intensity information to determine the deviation intensity information;

[0052] Performing a matching analysis based on the initial intensity information and the difference intensity information stored in the preset target database to determine the difference intensity information corresponding to the initial intensity information;

[0053] Calculating based on the deviation strength information and the difference strength information to determine the adjustment ratio value;

[0054] Determine whether the adjustment ratio value is within a preset reasonable range;

[0055] If the adjustment ratio value is within a reasonable range, the light modification signal is output;

[0056] If the adjustment ratio value is not within a reasonable range, a light pending signal is output.

[0057] By adopting the above technical solution, when it is detected that the light is too strong, the light detection device is controlled to move to determine the external interference situation, thereby eliminating the situation where inaccurate vehicle detection occurs due to excessive external light intensity.

[0058] Optionally, after the light pending signal is output, the vehicle light detection method further includes:

[0059] Get the test quantity information;

[0060] When the quantity value corresponding to the detected quantity information is equal to two, counting is performed according to the pending signal to determine the pending quantity information;

[0061] Determine whether the quantity value corresponding to the undetermined quantity information is equal to two;

[0062] If the quantity value corresponding to the pending quantity information is equal to two, the lighting pending signal is converted into a lighting modification signal;

[0063] If the quantity value corresponding to the pending quantity information is not equal to two, the light pending signal is converted into a signal corresponding to another light detection.

[0064] By adopting the above technical solution, the conditions of the two headlights of the same car can be judged to determine the actual condition of the headlight that outputs the light pending signal.

[0065] In a second aspect, the present application provides an automobile light detection system, which adopts the following technical solution:

[0066] An automobile light detection system, comprising:

[0067] An acquisition module, configured to acquire vehicle image information of a preset vehicle parking area and curtain image information of a lighting curtain preset in front of the vehicle parking area;

[0068] A processing module, connected to the acquisition module and the judgment module, for storing and processing information;

[0069] The judgment module is connected with the acquisition module and the processing module and is used for judging the information;

[0070] The processing module determines the light position information based on the vehicle image information;

[0071] The processing module determines brightness profile information in the screen image information according to a preset edge detection algorithm, and determines center position information in the profile corresponding to the brightness profile information;

[0072] The processing module determines the tilted straight line information according to the center position information and the light position information, and determines the tilt angle information according to the tilted straight line information and the preset facing straight line;

[0073] The processing module controls a rotating device preset in the vehicle parking area to rotate along a preset adjustment direction by an angle corresponding to the tilt angle information, re-determines the light position information, and controls a preset light detection device to move to a position corresponding to the position corresponding to the light position information to perform a detection operation to obtain light intensity information;

[0074] The judgment module judges whether the intensity value corresponding to the light intensity information is within a preset standard range;

[0075] If the judgment module determines that the intensity value corresponding to the light intensity information is within the standard range, the processing module outputs a light normal signal;

[0076] If the judging module determines that the intensity value corresponding to the light intensity information is not within the standard range, the processing module outputs a light abnormality signal.

[0077] By adopting the above technical solution, the lighting point of the headlights can be determined according to the contour of the headlight illumination, and the corresponding tilt angle of the vehicle can be determined according to the lighting point of the headlights and the position of the headlights. At this time, the wheel parking area of the parked vehicle can be controlled to rotate to adjust the position of the vehicle, so that when detecting the vehicle lights, inaccurate light intensity detection will not occur due to the tilt of the car.

[0078] In a third aspect, the present application provides a smart terminal that adopts the following technical solution:

[0079] An intelligent terminal includes a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and execute any of the above-mentioned automobile light detection methods.

[0080] By adopting the above technical solution and using a smart terminal, the lighting point of the headlights can be determined according to the contour of the headlights, and the corresponding tilt angle of the vehicle can be determined according to the lighting point and the position of the headlights. At this time, the wheel parking area of the parked vehicle can be controlled to rotate to adjust the position of the vehicle, so that when detecting the vehicle lights, inaccurate light intensity detection will not occur due to the tilt of the car.

[0081] In a fourth aspect, the present application provides a computer storage medium capable of storing a corresponding program, which has the characteristics of reducing the inaccuracy of vehicle light detection results caused by vehicle tilt, and adopts the following technical solutions:

[0082] A computer-readable storage medium stores a computer program that can be loaded by a processor and execute any of the above-mentioned vehicle light detection methods.

[0083] By adopting the above technical solution, a computer program for the automobile light detection method is stored in the storage medium. The illumination point of the automobile light is determined according to the contour of the automobile light illumination. The corresponding tilt angle of the vehicle can be determined according to the illumination point of the automobile light and the position of the automobile light. At this time, the parking area of the parked vehicle can be controlled to rotate to adjust the position of the vehicle, so that the light intensity detection will not be inaccurate due to the tilt of the vehicle during the vehicle light detection.

[0084] In summary, this application includes at least one of the following beneficial technical effects:

[0085] 1. Determine the vehicle's tilt and adjust the vehicle's position to reduce inaccurate vehicle light detection results due to vehicle tilt;

[0086] 2. The light detection equipment can be controlled to rotate synchronously with the vehicle, thereby improving the efficiency of light detection;

[0087] 3. Factors such as dust and external lights can be eliminated to reduce the occurrence of inaccurate light detection due to external factors. BRIEF DESCRIPTION OF THE DRAWINGS

[0088] Figure 1 It is a flow chart of the automobile light detection method.

[0089] Figure 2 It is a schematic diagram of the automobile lighting detection environment.

[0090] Figure 3 It is a flow chart of the center position determination method.

[0091] Figure 4 It is a schematic diagram of the center position determination process.

[0092] Figure 5It is a flow chart of the method for determining the adjustment direction.

[0093] Figure 6 It is a flow chart of a method for controlling movement of a lighting detection device.

[0094] Figure 7 This is a flow chart of a method for determining abnormally weak lighting.

[0095] Figure 8 This is a flow chart of a method for determining abnormally strong lighting.

[0096] Figure 9 It is a flow chart of the pending lighting treatment confirmation method.

[0097] Figure 10 It is a module flow chart of the automobile light detection method. DETAILED DESCRIPTION

[0098] In order to make the purpose, technical solutions and advantages of this application more clear, the following Figure 1-10 It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application.

[0099] The embodiments of the present invention are described in further detail below with reference to the accompanying drawings.

[0100] An embodiment of the present application discloses a method for detecting automobile lights. After a car moves to a parking area and turns on its lights, the position of the illumination point is determined based on the lighting area of the lights on the lighting curtain, thereby determining the tilt of the vehicle. The parking area is controlled to rotate according to the tilt so that the vehicle faces the light detection equipment, thereby ensuring that the detection results of the light detection equipment will not be erroneous due to the tilt of the car.

[0101] Reference Figure 1 The method flow of the automobile light detection method includes the following steps:

[0102] Step S100: obtaining vehicle image information of a preset vehicle parking area and curtain image information of a lighting curtain preset in front of the vehicle parking area.

[0103] Reference Figure 2The vehicle parking area is the area where the car is parked when the car's lights are detected. The image corresponding to the vehicle image information is the image of the vehicle in the vehicle parking area. The lighting curtain is a curtain set in front of the vehicle parking area for the car lights to illuminate. In order to make the lighting level easier to observe, the curtain is black. At the same time, in order to facilitate the detection of the lights of the two car lights, there is a partition in the middle of the lighting curtain. The image corresponding to the curtain image information is the image at the lighting curtain. Both image information are obtained by an externally mounted fixed device with a shooting function.

[0104] Step S101: determining light position information based on vehicle image information.

[0105] The position corresponding to the light position information is the position of the light that needs to be detected in the car, which can be determined by performing feature recognition on the image corresponding to the wheel image information. This technology is existing technology and is not an innovation of this application, so it will not be described in detail.

[0106] Step S102 : determining brightness contour information in the screen image information according to a preset edge detection algorithm, and determining center position information in a contour corresponding to the brightness contour information.

[0107] The contour corresponding to the brightness contour information is the contour of the light illuminated on the lighting curtain. The edge detection algorithm is to first perform grayscale processing on the image, and then filter and canny processing. The position corresponding to the center position information is the position of the light illumination point at the contour corresponding to the brightness contour information, that is, the projection point of the light on the lighting curtain. The contour shape can be determined by identifying it through the database, and can also be determined by the corresponding algorithm. Both are set by the staff according to the actual situation and will not be elaborated on.

[0108] Step S103: determining tilted straight line information according to the center position information and the light position information, and determining tilt angle information according to the tilted straight line information and a preset facing straight line.

[0109] The straight line corresponding to the inclined straight line information is the straight line in the length direction of the car body, which is determined by connecting the position corresponding to the center position information and the position corresponding to the light position information. The facing straight line is the length straight line of the headlights when the headlights are facing the lighting curtain set by the staff. The angle value corresponding to the inclined angle information is the angle value between the straight line corresponding to the inclined straight line information and the facing straight line, and the angle is an acute angle.

[0110] Step S104: Control the rotating device preset in the vehicle parking area to rotate along the preset adjustment direction to the angle corresponding to the tilt angle information, re-determine the light position information and control the preset light detection device to move to the position corresponding to the position corresponding to the light position information to perform detection operations to obtain light intensity information.

[0111] The rotating device is a device installed under the vehicle parking area that can drive the vehicle parking area to rotate. The adjustment direction is the direction set by the staff to control the rotation of the rotating device, including clockwise and counterclockwise. The specific direction is set by the staff according to actual conditions and will not be elaborated on. The rotating device is controlled to rotate to rotate the vehicle parking area. At this time, the car parked in the vehicle parking area can be rotated to adjust to the direction facing the lighting curtain; the light detection device is a device that can detect the intensity of the car light. Controlling the movement of the light detection device can determine the actual intensity of the car light, and recording the intensity information is the light intensity information.

[0112] Step S105: Determine whether the intensity value corresponding to the light intensity information is within a preset standard range.

[0113] The standard range is the range set by the staff when the light intensity of the car lights is in a reasonable state. The purpose of the judgment is to know whether the current light is normal.

[0114] Step S1051: If the intensity value corresponding to the light intensity information is within the standard range, a light normal signal is output.

[0115] When the intensity value corresponding to the light intensity information is within the standard range, it means that the light at this time meets the requirements, and a normal light signal is output for identification so that the staff can know the light condition.

[0116] Step S1052: If the intensity value corresponding to the light intensity information is not within the standard range, output a light abnormality signal.

[0117] When the intensity value corresponding to the light intensity information is not within the standard range, it means that the light at this time does not meet the requirements, and a light abnormality signal is output for identification so that the staff can be informed of the light condition.

[0118] Reference Figure 3 , the method for determining the center location information includes:

[0119] Step S200 : establishing a horizontal virtual line parallel to the bottom boundary line of the image and a vertical virtual line perpendicular to the horizontal virtual line in the image corresponding to the screen image information.

[0120] Reference Figure 4 The horizontal virtual straight line is a straight line parallel to the bottom boundary line of the image, and the vertical virtual straight line is a point in the image that is perpendicular to the horizontal virtual straight line. The method of establishing a straight line in the image is a conventional technical means for those skilled in the art and will not be described in detail.

[0121] Step S201: Controlling a horizontal virtual line to move along a preset longitudinal direction in the image corresponding to the screen image information, determining horizontal line segment information based on a portion of the horizontal virtual line within a contour corresponding to the brightness contour information, and determining horizontal length information based on the horizontal line segment information.

[0122] The longitudinal direction is the direction along which the length of the horizontal virtual straight line extends. When the horizontal virtual straight line is controlled to move along the longitudinal direction, the horizontal virtual straight line can first approach the brightness contour and then move away from the brightness contour. The specific direction can be determined by the establishment position of the horizontal virtual straight line. The line segment corresponding to the horizontal line segment information is the line segment formed by connecting the intersection between the horizontal virtual straight line and the contour corresponding to the brightness contour information. The length corresponding to the horizontal length information is the length of the line segment corresponding to the horizontal line segment information.

[0123] Step S202: Controlling the vertical virtual line to move along a preset horizontal direction in the image corresponding to the screen image information, and determining vertical line segment information based on the portion of the vertical virtual line within the contour corresponding to the brightness contour information, and determining vertical length information based on the vertical line segment information.

[0124] The horizontal direction is the direction along which the length of the longitudinal virtual straight line extends. When the longitudinal virtual straight line is controlled to move horizontally, the longitudinal virtual straight line can first approach the brightness contour and then move away from the brightness contour. The specific direction can be determined by the establishment position of the longitudinal virtual straight line. The line segment corresponding to the longitudinal line segment information is the line segment formed by connecting the intersection between the longitudinal virtual straight line and the contour corresponding to the brightness contour information. The length corresponding to the longitudinal length information is the length of the line segment corresponding to the longitudinal line segment information.

[0125] Step S203: Determine the horizontal length information with the largest corresponding value according to the preset sorting rules, and define the line segment corresponding to the horizontal line segment information corresponding to the horizontal length information as the long diameter line segment, and determine the vertical length information with the largest corresponding value according to the sorting rules, and define the line segment corresponding to the vertical line segment information corresponding to the vertical length information as the short diameter line segment.

[0126] The sorting rule is a method that can sort large and small values, such as the bubble method. The sorting rule can be used to determine the horizontal length information with the largest value among all horizontal length information and the vertical length information with the largest value among all vertical length information, so that the corresponding line segments can be defined as long-diameter line segments and short-diameter line segments, thereby achieving the distinction between different line segments for subsequent analysis.

[0127] Step S204: determining the center position information according to the intersection of the short-diameter line segment and the long-diameter line segment.

[0128] According to the light diffusion, the intersection of the short-diameter line segment and the long-diameter line segment is the illumination point of the light on the lighting curtain, and the position of the intersection is the position corresponding to the center position information.

[0129] 5, the method for determining the adjustment direction includes:

[0130] Step S300: defining both end points of the long-diameter line segment as detection points, and determining the distance information based on the corresponding positions of the detection points and the center position information.

[0131] Detection points are defined to distinguish different points on the long-diameter line segment. The distance value corresponding to the distance information is the distance between the detection point and the position corresponding to the center position information. Two detection points have two distance information.

[0132] Step S301 : comparing the distance values corresponding to the two pieces of separation distance information, defining the detection point corresponding to the separation distance information with the larger value as a far point, and defining the other detection point as a close point.

[0133] By comparing the distances corresponding to the two separated distance information, the distance between the detection point and the position corresponding to the center position information can be determined, so as to determine the far point and the close point, realize the distinction between the two detection points, and facilitate subsequent analysis.

[0134] Step S302: determining corrected orientation information according to the direction from the distant point to the close point.

[0135] The direction corresponding to the corrected orientation information is the direction from the away point to the approaching point.

[0136] Step S303: performing a matching analysis between the correction direction information stored in the preset direction database and the adjustment direction to determine the adjustment direction corresponding to the correction direction information.

[0137] The direction corresponding to the corrected orientation information can be used to know the vehicle's tilt direction. At this time, the adjustment direction can be determined to control the rotation of the rotating device. The correspondence between the corrected orientation information and the adjustment direction is determined by the staff and the direction database is established. The method of establishing the database is a conventional technical means used by technicians in this field and will not be elaborated on.

[0138] Reference Figure 6 , the moving method of the light detection device includes:

[0139] Step S400: determining adjustment position information according to the tilt angle information, the adjustment direction, the light position information, and the preset rotation center point.

[0140] The rotation center point is the rotation point when the rotating device rotates. The position corresponding to the adjustment position information is the position where the light needs to be after the rotation adjustment, which can be determined based on the current position of the light and the angle required to rotate.

[0141] Step S401: determining target location information according to the adjusted location information and the preset correction distance.

[0142] The correction distance is a fixed value, which is the distance value that the light detection equipment needs to maintain when detecting the vehicle lights, set by the staff. It is manually input by the staff in advance according to the specified requirements. The position corresponding to the target position information is the position where the light detection equipment needs to be when operating.

[0143] Step S402: determining translation distance information and approach distance information according to the target position information and the preset reference position.

[0144] Reference Figure 2 The reference position is the position where the light detection equipment is parked when not in use. The position where the light detection equipment returns to the initial position after use can be determined as the reference position, or the position during the previous detection operation can be defined as the reference position. The staff will set it according to actual conditions; the distance value corresponding to the translation distance information is the distance the light detection equipment needs to move along the width direction of the car body, and the distance value corresponding to the approach distance information is the distance the light detection equipment needs to move along the length direction of the car body, which is determined by the position corresponding to the target position information and the coordinate point of the reference position.

[0145] Step S403: performing calculation according to the tilt angle information and the preset rotation speed to determine the adjustment duration information.

[0146] The rotation speed is the speed at which the rotating device rotates along the adjustment direction. The duration corresponding to the adjustment duration information is the length of time required for the rotating device to rotate to the angle corresponding to the tilt angle information, which is obtained by dividing the angle corresponding to the tilt angle information by the rotation speed.

[0147] Step S404: performing matching analysis based on the translation distance information, approach distance information, adjustment duration information, and movement mode information stored in the preset mode database to determine the movement mode information corresponding to the translation distance information and approach distance information under the adjustment duration information.

[0148] The mode corresponding to the mobile mode information is the mode when the light detection device moves. The mode includes the light detection device's movement acceleration value, acceleration duration value, uniform movement speed value and duration value, etc. Different translation distance information, approach distance information, and adjustment duration information correspond to different mobile mode information. The correspondence between the four is determined by the staff based on experiments, and a mode database is established based on the correspondence to facilitate data query. The method of establishing the database is a conventional technical means of those skilled in the art and will not be elaborated on.

[0149] Step S405: Control the light detection device to move in a mode corresponding to the movement mode information for a duration corresponding to the adjustment duration information.

[0150] The light detection device is controlled to move in a mode corresponding to the movement mode information and adjust the duration corresponding to the duration information, so that the light detection device can be moved to the corresponding position after the rotating device rotates the corresponding angle, so that the light detection device can quickly perform light detection and improve the overall operating efficiency of light detection.

[0151] Reference Figure 7 When the abnormal light signal is output, the automobile light detection method further includes:

[0152] Step S500: Determine whether the intensity value corresponding to the light intensity information is greater than the maximum value in the standard range.

[0153] The purpose of the judgment is to know whether the light is too strong.

[0154] Step S5001: If the intensity value corresponding to the light intensity information is greater than the maximum value in the standard range, a light-too-strong signal is output.

[0155] When the intensity value corresponding to the light intensity information is greater than the maximum value in the standard range, it means that the current light intensity is too strong. At this time, a light-excessive-intensity signal is output for identification so that the staff can know the specific lighting situation.

[0156] Step S5002: If the intensity value corresponding to the light intensity information is not greater than the maximum value in the standard range, a light-too-weak signal is output, and the preset wiping device is controlled to move to the position corresponding to the adjustment position information to operate for a preset fixed time, and after the fixed time, the preset blowing device is controlled to operate for a preset blowing time.

[0157] When the intensity value corresponding to the light intensity information is not greater than the maximum value in the standard range, it means that the current light intensity is weak. At this time, a light too weak signal is output for identification, so that the staff can know the lighting situation. At this time, the weak light may be caused by dust on the lampshade, which requires further analysis; the wiping equipment is a device that can wipe the lampshade of the car light, which can be formed by a robot carrying a wiping towel to form a combination; the blowing equipment is a device with a blowing function, which can be formed by a robot carrying a hair dryer to form a combination. The fixed time and the blowing time are both fixed time lengths set by the staff. The wiping equipment is controlled to move to wipe the lampshade, and then the blowing equipment is used to reduce the interference of water vapor formed by wiping by the wiping equipment on the lighting detection.

[0158] Step S501: reacquire the light intensity information after the hair drying time and determine whether there is a light too weak signal.

[0159] The purpose of the judgment is to know whether the problem of weak light intensity has been solved, that is, to know whether the weak light intensity is caused by dust on the lampshade.

[0160] Step S5011: If there is no light-too-weak signal, output a light-normal signal.

[0161] When there is no weak light signal, it means that the weak light is caused by dust on the lampshade, and there is no problem with the headlight itself. At this time, the normal light signal is output to describe the current headlight condition.

[0162] Step S5012: If there is a light too weak signal, output a light damage signal.

[0163] When there is a weak light signal, it means that the weak light is not caused by dust on the lampshade, that is, there is a problem with the headlight itself. At this time, a light damage signal is output to describe the current headlight condition.

[0164] Reference Figure 8 When the light is too strong signal is output, the automobile light detection method further includes:

[0165] Step S600: Acquire external brightness information.

[0166] The brightness value corresponding to the external brightness information is the brightness value of the area not affected by the vehicle lights, and can be obtained by installing a brightness sensor on the external environment.

[0167] Step S601: Determine whether the brightness value corresponding to the external brightness information is greater than a preset reasonable value.

[0168] The reasonable value is the maximum brightness value set by the staff when the external environment brightness is considered normal. The purpose of the judgment is to find out whether the external brightness may affect the headlight detection.

[0169] Step S6011: If the brightness value corresponding to the external brightness information is not greater than a reasonable value, a lighting modification signal is output.

[0170] When the brightness value corresponding to the external brightness information is not greater than the reasonable value, it means that the brightness of the external environment will not affect the current headlight detection. At this time, the excessive intensity of the headlight is caused by the headlight itself, that is, the headlight may have been modified. At this time, a light modification signal is output to identify the situation so that the staff can know the specific situation of the headlight.

[0171] Step S6012: If the brightness value corresponding to the external brightness information is greater than a reasonable value, the light detection device is controlled to move along a preset approach direction by a preset detection distance, and the light intensity information before the movement is defined as the initial intensity information, and the light intensity information after the movement is defined as the end intensity information.

[0172] When the brightness value corresponding to the external brightness information is greater than the reasonable value, it means that the brightness of the external environment may affect the light detection, and further analysis is required at this time; the approach direction is the direction facing the car and approaching the car, and the detection distance is the fixed distance set by the staff. The light detection equipment is controlled to move in the approach direction to determine the light intensity collection situation. At the same time, the initial intensity information and the end intensity information are defined to determine different light intensity information, which is convenient for subsequent analysis and call of the data.

[0173] Step S602: Calculate a difference according to the final intensity information and the initial intensity information to determine deviation intensity information.

[0174] The intensity value corresponding to the deviation intensity information is the change in light intensity after the light detection device moves the detection distance, and is obtained by subtracting the intensity value corresponding to the initial intensity information from the intensity value corresponding to the termination intensity information.

[0175] Step S603: performing a matching analysis on the initial intensity information and the difference intensity information stored in the preset target database to determine the difference intensity information corresponding to the initial intensity information.

[0176] The intensity value corresponding to the difference intensity information is the light intensity change value that will appear after the light of the intensity corresponding to the initial intensity information moves the detection distance. The correspondence between the two is obtained by the staff based on experiments, and the target database is established based on the correspondence between the two. The method of establishing the database is a conventional technical means of those skilled in the art and will not be elaborated on.

[0177] Step S604: performing calculation according to the deviation strength information and the difference strength information to determine the adjustment ratio value.

[0178] The adjustment ratio value is the ratio of the current deviation to the theoretically required deviation, which is obtained by subtracting the value corresponding to the difference strength information from the value corresponding to the deviation strength information, calculating the absolute value, and then dividing it by the value corresponding to the difference strength information.

[0179] Step S605: Determine whether the adjustment ratio value is within a preset reasonable range.

[0180] The reasonable range is the range within which the light intensity adjustment set by the staff meets the adjustment requirements. The purpose of the judgment is to know whether the current headlight adjustment is only for the headlights, so as to determine whether there is any influence from external lights.

[0181] Step S6051: If the adjustment ratio value is within a reasonable range, a lighting modification signal is output.

[0182] If the adjustment ratio value is within a reasonable range, it means that the current headlight adjustment is only affected by the headlights and there is no external environment influence, that is, the external environment does not exist to affect the brightness of the lighting detection. At this time, the excessive headlight intensity may be caused by modification, so the light modification signal is output to let the staff know the specific situation of the headlights.

[0183] Step S6052: If the adjustment ratio value is not within a reasonable range, output a light pending signal.

[0184] When the adjustment ratio value is not within a reasonable range, it means that the current adjustment of the headlights is also affected by external lights. At this time, the current lighting conditions cannot be determined. A light pending signal is output to determine the current headlight conditions so that the staff can know the specific conditions of the headlights.

[0185] Reference Figure 9 After the light pending signal is output, the automobile light detection method further includes:

[0186] Step S700: Obtain detection quantity information.

[0187] The number corresponding to the detection quantity information is the number of detected headlights, which is the number of headlights of the same vehicle and can be obtained by counting the output signals of the detection results.

[0188] Step S701 : When the quantity value corresponding to the detected quantity information is equal to two, counting is performed according to the pending signal to determine the pending quantity information.

[0189] When the quantity value corresponding to the detection quantity information is equal to two, it indicates that the light detection of the current vehicle has been completed. The quantity value corresponding to the pending quantity information is the total quantity value of the pending signals, which can be obtained by counting the pending signals.

[0190] Step S702: Determine whether the quantity value corresponding to the undetermined quantity information is equal to two.

[0191] The purpose of the judgment is to find out whether both headlights cannot be determined to be corresponding.

[0192] Step S7021: If the quantity value corresponding to the pending quantity information is equal to two, the lighting pending signal is converted into a lighting modification signal.

[0193] When the quantity value corresponding to the pending quantity information is equal to two, it means that both headlights cannot be determined. At this time, the two headlights are most likely modified headlights, so the pending light signal is converted into a light modification signal to let the staff know the specific situation of the headlights.

[0194] Step S7022: If the quantity value corresponding to the pending quantity information is not equal to two, convert the light pending signal into a signal corresponding to another light detection.

[0195] When the quantity value corresponding to the pending quantity information is not equal to two, it means that the condition of one headlight can be determined. If a headlight is modified, it is basically not the case that only one headlight is modified. At this time, it is only necessary to convert the light pending signal according to the condition of the other headlight. That is, if the other headlight is normal, the pending headlight is also normal. If the other headlight is modified, the pending headlight is also modified.

[0196] Reference Figure 10 Based on the same inventive concept, an embodiment of the present invention provides an automobile light detection system, comprising:

[0197] An acquisition module, configured to acquire vehicle image information of a preset vehicle parking area and curtain image information of a lighting curtain preset in front of the vehicle parking area;

[0198] A processing module, connected to the acquisition module and the judgment module, for storing and processing information;

[0199] The judgment module is connected with the acquisition module and the processing module and is used for judging the information;

[0200] The processing module determines the light position information based on the vehicle image information;

[0201] The processing module determines brightness profile information in the screen image information according to a preset edge detection algorithm, and determines center position information in the profile corresponding to the brightness profile information;

[0202] The processing module determines the tilted straight line information according to the center position information and the light position information, and determines the tilt angle information according to the tilted straight line information and the preset facing straight line;

[0203] The processing module controls a rotating device preset in the vehicle parking area to rotate along a preset adjustment direction by an angle corresponding to the tilt angle information, re-determines the light position information, and controls a preset light detection device to move to a position corresponding to the position corresponding to the light position information to perform a detection operation to obtain light intensity information;

[0204] The judgment module judges whether the intensity value corresponding to the light intensity information is within a preset standard range;

[0205] If the judgment module determines that the intensity value corresponding to the light intensity information is within the standard range, the processing module outputs a light normal signal;

[0206] If the judgment module determines that the intensity value corresponding to the light intensity information is not within the standard range, the processing module outputs a light abnormality signal;

[0207] A center position determination module is used to determine the position of the lighting point where the light shines on the lighting curtain;

[0208] An adjustment direction determination module determines the adjustment direction based on the actual tilt of the vehicle;

[0209] The equipment movement control module controls the synchronous movement of the light detection equipment according to the vehicle rotation adjustment to improve the overall detection efficiency;

[0210] Abnormally weak determination module, used to eliminate interference caused by excessive dust on the lampshade when the light intensity is too weak;

[0211] The abnormal over-brightness determination module is used to eliminate the interference of detection abnormalities caused by excessive external light;

[0212] The pending confirmation processing module determines the actual condition of the light outputting the pending signal according to the actual condition of the adjacent vehicle lights.

[0213] Those skilled in the art will clearly understand that for the sake of convenience and brevity, the division of the above-mentioned functional modules is only used as an example for illustration. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working processes of the above-mentioned systems, devices, and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0214] An embodiment of the present invention provides a computer-readable storage medium storing a computer program capable of being loaded by a processor and executing a vehicle light detection method.

[0215] Computer storage media include, for example, various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical disks.

[0216] Based on the same inventive concept, an embodiment of the present invention provides an intelligent terminal including a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and execute the automobile light detection method.

[0217] Those skilled in the art will clearly understand that for the sake of convenience and brevity, the division of the above-mentioned functional modules is only used as an example for illustration. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working processes of the above-mentioned systems, devices, and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0218] The above are all preferred embodiments of the present application and are not intended to limit the scope of protection of this application. Unless otherwise specified, any feature disclosed in this specification (including the abstract and drawings) may be replaced by other equivalent or similar features. In other words, unless otherwise specified, each feature is merely an example of a series of equivalent or similar features.

Claims

1. A method for detecting automobile lights, characterized in that: include: Acquiring vehicle image information of a preset vehicle parking area and curtain image information of a lighting curtain preset in front of the vehicle parking area; Determine light position information based on vehicle image information; Determine brightness profile information in the screen image information according to a preset edge detection algorithm, and determine center position information in the profile corresponding to the brightness profile information; Determine tilted straight line information according to the center position information and the light position information, and determine tilt angle information according to the tilted straight line information and a preset facing straight line; Controlling a rotating device preset in the vehicle parking area to rotate along a preset adjustment direction by an angle corresponding to the tilt angle information, re-determining the light position information and controlling a preset light detection device to move to a position corresponding to the position corresponding to the light position information to perform a detection operation to obtain light intensity information; Determine whether the intensity value corresponding to the light intensity information is within a preset standard range; If the intensity value corresponding to the light intensity information is within the standard range, a light normal signal is output; If the intensity value corresponding to the light intensity information is not within the standard range, a light abnormality signal is output; When the abnormal light signal is output, the vehicle light detection method further includes: Determine whether the intensity value corresponding to the light intensity information is greater than the maximum value in the standard range; If the intensity value corresponding to the light intensity information is greater than the maximum value in the standard range, a light-over-intensity signal is output; If the intensity value corresponding to the light intensity information is not greater than the maximum value in the standard range, a light too weak signal is output, and the preset wiping device is controlled to move to the position corresponding to the adjustment position information to operate for a preset fixed time, and after the fixed time, the preset blowing device is controlled to operate for a preset blowing time; After the blowing time has passed, the light intensity information is acquired again and it is determined whether there is a light too weak signal; If there is no light-weak signal, then the light-normal signal is output; If there is a light too weak signal, a light damage signal is output.

2. The automobile light detection method according to claim 1, characterized in that: Methods for determining center location information include: Establishing a horizontal virtual straight line parallel to the bottom boundary line of the image and a vertical virtual straight line perpendicular to the horizontal virtual straight line in the image corresponding to the screen image information; Controlling the horizontal virtual straight line to move along a preset longitudinal direction in the image corresponding to the screen image information, determining horizontal line segment information based on a portion of the horizontal virtual straight line within a contour line corresponding to the brightness contour information, and determining horizontal length information based on the horizontal line segment information; Controlling the longitudinal virtual straight line to move along a preset horizontal direction in the image corresponding to the screen image information, determining longitudinal line segment information based on a portion of the longitudinal virtual straight line within a contour line corresponding to the brightness contour information, and determining longitudinal length information based on the longitudinal line segment information; Determine the horizontal length information corresponding to the largest value according to a preset sorting rule, and define the line segment corresponding to the horizontal line segment information corresponding to the horizontal length information as the major diameter line segment; determine the vertical length information corresponding to the largest value according to the sorting rule, and define the line segment corresponding to the vertical line segment information corresponding to the vertical length information as the minor diameter line segment; The center position information is determined based on the intersection of the short diameter segment and the long diameter segment.

3. The automobile light detection method according to claim 2, characterized in that: Methods for determining the adjustment direction include: The two end points of the long diameter line segment are defined as detection points, and the distance information is determined based on the corresponding positions of the detection points and the center position information; Comparing the distance values corresponding to the two pieces of separation distance information, defining the detection point corresponding to the separation distance information with the larger value as a far point, and defining the other detection point as a close point; Determine the corrected direction information based on the direction from the far point to the near point; A matching analysis is performed on the correction direction information stored in the preset direction database and the adjustment direction to determine the adjustment direction corresponding to the correction direction information.

4. The automobile light detection method according to claim 1, characterized in that: Methods for moving the light detection equipment include: Determine adjustment position information based on tilt angle information, adjustment direction, light position information, and a preset rotation center point; Determine target location information based on the adjusted location information and the preset correction distance; Determine translation distance information and approach distance information according to target position information and a preset reference position; Calculate the adjustment duration information based on the tilt angle information and the preset rotation speed; Perform matching analysis based on the translation distance information, approach distance information, adjustment duration information, and movement mode information stored in the preset mode database to determine the movement mode information corresponding to the translation distance information and the approach distance information under the adjustment duration information; The light detection device is controlled to move in a mode corresponding to the movement mode information for a duration corresponding to the adjustment duration information.

5. The automobile light detection method according to claim 1, characterized in that: When the light is too strong signal is output, the vehicle light detection method further includes: Get external brightness information; Determine whether the brightness value corresponding to the external brightness information is greater than a preset reasonable value; If the brightness value corresponding to the external brightness information is not greater than the reasonable value, a lighting modification signal is output; If the brightness value corresponding to the external brightness information is greater than a reasonable value, the light detection device is controlled to move along a preset approach direction and a preset detection distance, and the light intensity information before the movement is defined as the initial intensity information, and the light intensity information after the movement is defined as the end intensity information; Calculate the difference between the final intensity information and the initial intensity information to determine the deviation intensity information; Performing a matching analysis based on the initial intensity information and the difference intensity information stored in the preset target database to determine the difference intensity information corresponding to the initial intensity information; Calculating based on the deviation strength information and the difference strength information to determine the adjustment ratio value; Determine whether the adjustment ratio value is within a preset reasonable range; If the adjustment ratio value is within a reasonable range, the light modification signal is output; If the adjustment ratio value is not within a reasonable range, a light pending signal is output.

6. The automobile light detection method according to claim 5, characterized in that: After the light pending signal is output, the vehicle light detection method further includes: Get the test quantity information; When the quantity value corresponding to the detected quantity information is equal to two, counting is performed according to the pending signal to determine the pending quantity information; Determine whether the quantity value corresponding to the undetermined quantity information is equal to two; If the quantity value corresponding to the pending quantity information is equal to two, the lighting pending signal is converted into a lighting modification signal; If the quantity value corresponding to the pending quantity information is not equal to two, the light pending signal is converted into a signal corresponding to another light detection.

7. An automobile light detection system, characterized in that: include: An acquisition module, configured to acquire vehicle image information of a preset vehicle parking area and curtain image information of a lighting curtain preset in front of the vehicle parking area; A processing module, connected to the acquisition module and the judgment module, for storing and processing information; The judgment module is connected with the acquisition module and the processing module and is used for judging the information; The processing module determines the light position information based on the vehicle image information; The processing module determines brightness profile information in the screen image information according to a preset edge detection algorithm, and determines center position information in the profile corresponding to the brightness profile information; The processing module determines the tilted straight line information according to the center position information and the light position information, and determines the tilt angle information according to the tilted straight line information and the preset facing straight line; The processing module controls a rotating device preset in the vehicle parking area to rotate along a preset adjustment direction by an angle corresponding to the tilt angle information, re-determines the light position information, and controls a preset light detection device to move to a position corresponding to the position corresponding to the light position information to perform a detection operation to obtain light intensity information; The judgment module judges whether the intensity value corresponding to the light intensity information is within a preset standard range; If the judgment module determines that the intensity value corresponding to the light intensity information is within the standard range, the processing module outputs a light normal signal; If the judging module determines that the intensity value corresponding to the light intensity information is not within the standard range, the processing module outputs a light abnormality signal.

8. An intelligent terminal, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executes the method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that A computer program is stored which can be loaded by a processor and execute the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Vehicle light detection method and device, electronic equipment and readable storage medium

    CN110796078A

  • Vehicle headlamp control method, device and equipment and storage medium

    CN114312550A