Method for determining cleaning information, method for training neural network algorithm, control device, camera sensor system, vehicle, computer program and storage medium
A neural network-based method for camera sensors in vehicles accurately detects and classifies disturbances, optimizing cleaning to enhance sensor performance and reduce unnecessary operations.
Patent Information
- Application Number
- JP2024035504
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-14
- Filing Date
- 2024-03-08
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-03-08
AI Technical Summary
Existing camera sensors in vehicles are prone to disturbances such as dirt, rain, snow, and fog, which impair their ability to detect features in the surrounding environment, leading to unnecessary cleaning and reduced efficiency.
A method using a neural network algorithm to process camera images for segmentation and classification, determining the degree and type of disturbance, and providing cleaning information to adaptively clean the camera sensor based on the detected interference.
Enhances the accuracy of disturbance detection, reduces unnecessary cleaning, and improves the efficiency of camera sensors by optimizing the cleaning process based on the type and severity of interference, ensuring reliable operation of advanced driver assistance systems.
Smart Images

Figure 2024132949000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a method for determining cleaning information for a camera sensor that is at least partially obstructed, including an obstruction on a transparent camera sensor component in the optical path of the camera sensor, and to a method for training a neural network algorithm, a control device, a camera sensor system, a vehicle, a computer program and a recording medium. [Background technology]
[0002] In modern vehicles, camera sensors are used to capture the vehicle's surroundings, in particular to provide the vehicle driver with the functions of advanced driver assistance systems. The camera sensor is therefore directed towards the vehicle's surroundings, which requires that at least a part of the camera sensor is located in the vehicle's external environment. In normal cases, this is a transparent part, e.g. a camera lens or a transparent camera cover. Depending on the weather conditions in the vehicle's surroundings and / or depending on the vehicle's driving conditions, these parts of the camera sensor may be obstructed. In the obstructed state, the camera sensor is at least partially blocked, for example, by dirt or by precipitation such as rain, snow, etc.
[0003] Because such obstruction of the camera sensor reduces or prevents its ability to detect features in the vehicle's environment, it is known to detect when the camera sensor is obstructed and initiate cleaning of the camera sensor to remove the obstruction.
[0004] In the patent application WO 2007 / 023331, a processor is described that is configured to detect an occlusion on a surface in a vehicle sensor optical path based on a segmentation of sensor image data, and a cleaning plan for this surface is selected depending on the detected occlusion and depending on map data and vehicle route data.
[0005] US Patent No. 5,999,333 discloses a computer-implemented method for detecting a visual field obstruction covering an image capture sensor. The method compares a captured scene in a first data set with a reference topology of the scene described in a second data set. If the difference between the classified scene elements of the first data set and the classified scene elements of the second data set exceeds a threshold, an obstruction is detected. [Prior art documents] [Patent documents]
[0006] [Patent Document 1] U.S. Pat. No. 1,082,9091 [Patent Document 2] DE 102021201255 A1 Summary of the Invention [Problem to be solved by the invention]
[0007] Since each detection of a presumed obstruction of the camera sensor may result in cleaning of the camera sensor, the detection of obstructions should be as accurate as possible to avoid any unnecessary cleaning by the cleaning device assigned to the camera sensor.
[0008] The invention is therefore based on the objective problem of providing an improved method for supplying cleaning information, which in particular improves the detection of the obstruction of a camera sensor and the cleaning of the obstructed camera sensor by a cleaning device assigned to the camera sensor. [Means for solving the problem]
[0009] According to the invention, the objective problem is solved by the method as mentioned in the opening paragraph, which method comprises the steps of: - controlling a camera sensor to capture at least one camera image; - processing at least one camera image by a computing device using a neural network algorithm, the neural network algorithm being configured to determine as output from the or each camera image a degree of camera sensor obstruction based on a segmentation of at least a part of the camera image and a obstruction class from among a plurality of obstruction classes of camera sensor obstructions based on a classification of at least a part of the camera image; - determining cleaning information as a function of a camera sensor obstruction degree and a class of camera sensor obstruction, the cleaning information indicating that cleaning of the camera sensor is necessary if a cleaning criterion is assigned to the determined class of camera sensor obstruction and if at least one degree threshold is exceeded by the determined camera sensor obstruction degree; - transmitting the cleaning information to a cleaning device associated with the camera sensor for cleaning the camera sensor in accordance with the cleaning information.
[0010] The camera sensor may be, for example, a camera sensor of a vehicle, in particular a camera sensor used as part of a driver assistance system to capture at least a part of the vehicle's surroundings. The transparent camera sensor component may in particular be a component that is at least partially transparent to light in the visible spectrum and is provided in the optical path of the camera, such as a lens, a protective lens cover, a light filtering element, etc. The transparent camera sensor component may be provided on an exterior surface of the vehicle, such as a front or rear bumper, a door mirror or any other part of the vehicle body.
[0011] A first step of the method for determining cleaning information includes controlling a camera sensor to capture at least one camera image, where if a transparent camera sensor component is obstructed, the obstruction is visible in the image because the obstruction covers at least a portion of the transparent camera component, thereby blocking a portion of the field of view of the camera sensor.
[0012] In this regard, at least one camera image is processed by a computing device, the camera image being input data for a neural network algorithm that processes the captured camera images, the neural network algorithm being implemented on the computing device, the neural network algorithm being configured to determine as outputs for each processed camera image a camera sensor obstruction degree and an obstruction class from among a plurality of obstruction classes.
[0013] The camera sensor obstruction degree, hereinafter also referred to as obstruction degree, is determined based on a segmentation of at least a portion of the camera image. The obstruction degree is a measure of the portion of the field of view of the camera sensor that is obstructed or blocked by an obstruction. The obstruction degree may vary, for example, between 0% for an unobstructed camera sensor and 100% for a completely obstructed camera sensor.
[0014] In addition to the obstruction degree, the neural network algorithm determines a obstruction class of the camera sensor obstruction based on the classification of at least a portion of the camera image, hereinafter also referred to as the obstruction class.
[0015] The obstruction class may be selected from among a number of predefined obstruction classes, which may encompass different types of precipitation that may cover the transparent camera sensor components during operation. The obstruction classes may include at least one class that represents an unobstructed sensor, i.e., when no obstruction is present. Cleaning criteria may be assigned to at least some of the obstruction classes, i.e., at least some of the classes may be labeled as types of obstruction that may be removed by a cleaning procedure. The determination of the obstruction class may occur in parallel or in series with the determination of the obstruction degree, for example, in a neural network algorithm.
[0016] After the degree of interference and the interference class are determined as the output of the neural network algorithm, the cleaning information is determined according to these outputs. The cleaning information may indicate that the cleaning of the camera sensor is necessary, i.e. that interference with the camera sensor has been detected and that this interference should be removed by a cleaning procedure. To determine the cleaning information, it is therefore checked whether the interference class to which the cleaning criterion is assigned has been detected. During the determination of the cleaning information, it is also checked whether the degree of interference determined by the neural network algorithm exceeds a predefined threshold value. In other words, the cleaning information may indicate that the cleaning of the camera sensor is necessary if the type of interference to be cleaned has been detected and a significant degree of the field of view of the camera sensor is blocked by the interference.
[0017] If the camera sensor requires cleaning, cleaning information is sent to a cleaning device associated with the camera sensor. The cleaning device may be any device capable of cleaning the camera sensor or removing detected obstructions from the transparent camera sensor component. The cleaning information may include, among other things, information regarding a cleaning process suitable for the detected obstruction type and / or the detected obstruction degree.
[0018] Detecting both the degree of disturbance and the disturbance class has the advantage that the cleaning information can be determined depending on both the disturbance amount and the disturbance type. In particular, the camera sensor can be cleaned according to the medium type of the disturbance and / or the severity of the disturbance. Also, the efficiency of the cleaning process can be improved, since the sensor can be cleaned with an optimal amount of cleaning medium and / or energy. Advantageously, unnecessary cleaning procedures or unnecessary cleaning procedure durations and / or cleaning medium waste can be prevented.
[0019] Additionally, by determining both the degree and type of obstruction, or by using both segmentation and classification, redundancy is created in determining the presence of obstructions, which may improve detection of conditions requiring cleaning and may reduce the amount of false positives that may result in erroneous decisions regarding cleaning.
[0020] This redundancy also allows for a reduction in the time required to detect an obstructed state of the camera sensor requiring cleaning. The reduction in the time for obstruction determination also allows for faster processing of the camera image in further algorithms, for example image restoration algorithms that restore the obstructed portions of the camera image. Advantageously, this reduces the response time of driver assistance functions utilizing the camera images provided by the camera sensor.
[0021] The use of neural network algorithms to detect the obstructed state of the camera sensor to be cleaned has the advantage that automated cleaning is possible without user interaction and adapted to the detected obstruction. This also makes it possible to reliably determine obstructions in first-look images, which typically occur when using a camera sensor to capture a portion of the vehicle's surroundings. Advantageously, obstructions can be detected from a single camera image, eliminating the need for additional real-time frame calculations of the camera image stream of multiple camera images to detect obstructions.
[0022] The method according to the invention can be advantageously used in systems with only a single sensor, since no sensor redundancy is required to detect interference, whereas the method according to the invention can also be applied to multi-sensor systems with several camera sensors, even if their fields of view do not overlap, since interference determination may be made for each of the camera sensors only on the basis of the camera images provided by that particular camera sensor.
[0023] Obstruction detection and optimized cleaning may be important, for example, from a safety-related point of view for Advanced Driver Assistance System (ADAS) functions in vehicles, since a clean camera lens is a prerequisite for other functions, for example the semantic segmentation of roads, etc. In particular, in an autonomous driving scenario, the method according to the invention has the advantage that no reference image is required to determine the obstruction. Comparing the images captured by the camera sensor with the reference image is difficult in a real-world driving environment, since the scenes captured in these images may be more or less affected by changes due to the movement of the vehicle. In addition to vehicles, the method according to the invention can also be used in any type of device based on camera images provided by at least one camera sensor that are prone to be obstructed by cleanable obstructions before and during operation.
[0024] In a preferred embodiment of the present invention, the neural network algorithm is or comprises a semantic segmentation algorithm and / or an algorithm comprising both a binary segmentation and a classifier model. The neural network algorithm may be, for example, a semantic segmentation algorithm (SemSeg algorithm) capable of multi-class segmentation that can determine the degree of obstruction and the respective obstruction class. Additionally or alternatively, the neural network algorithm may be, for example, a combined binary segmentation and classification algorithm (BinCla algorithm) that determines both obstructed segments, i.e. obstructed segments, and unobstructed areas in the camera image based on the segmentation and assigns obstruction classes to the obstructed segments.
[0025] Preferably, the plurality of obstruction classes includes at least one non-obstruction class to which no cleaning criteria is assigned, which allows for including a state in which no obstruction of the camera sensor exists. In such a case, cleaning information may not be determined or may include information that no cleaning is required.
[0026] In a preferred embodiment, the plurality of interference classes includes at least a dirt class, a droplet class, and / or a cloudy class, each of which is assigned a cleaning criterion. Thus, the neural network algorithm may be able to distinguish between dirt interference, droplet interference, and / or cloudy interference. There may be further classes, each of which is assigned a cleaning criterion, which may include further types of precipitation and / or other interference types occurring in the particular environment of the camera sensor. As further classes, for example, a snow class, an ice class, or a dust class may be used, which indicate the interference of a transparent camera sensor component with snow, ice, or dust, respectively.
[0027] Preferably, the cleaning information is determined by a further algorithm, the cleaning information indicating a cleaning strategy for cleaning the camera sensor, the cleaning strategy being determined among a plurality of cleaning strategies depending on the determined disturbance class and / or by comparing the determined camera sensor disturbance degree with two or more different degree thresholds assigned to each cleaning strategy. This allows different cleaning strategies to be defined for different types of disturbance and / or different disturbance degrees, i.e. for one disturbance class, two or more cleaning strategies may be defined depending on the disturbance degree. For example, if dirt is determined as a disturbance class, different cleaning strategies may be selected for a disturbance degree between 10% and 67% and for a disturbance degree above 67%, and no cleaning information is determined for a disturbance degree below 10%.
[0028] The further algorithm may receive as input the output of the neural network, i.e. the disturbance degree and the disturbance class. In one embodiment, a decision tree is used as the further algorithm. The decision tree may assign different cleaning strategies to different disturbance classes and different disturbance thresholds. The use of the decision tree makes it possible to quickly determine the cleaning strategy indicated by the cleaning information. Advantageously, the cleaning strategy indicated by the cleaning information is adapted to the detected disturbance class and the detected disturbance degree.
[0029] The cleaning strategy may include one or more instructions to the cleaning device, the instructions may include cleaning medium discharge, duration and / or amount of cleaning medium discharge, temperature and / or composition of cleaning medium discharge, duration and / or intensity of cleaning actuator operation, etc.
[0030] In a preferred embodiment, the cleaning strategy is additionally determined as a function of at least one cleaning device status information indicating a current state of the cleaning device. The cleaning device status information may be, for example, the level of the cleaning fluid in the container. Additionally or alternatively, other types of cleaning device status information may be used. Taking into account the current state of the cleaning device as well makes it possible to adapt the cleaning strategy for cleaning the camera sensor to the cleaning capabilities of the cleaning device in its current state, thus preventing unnecessary or infeasible commands.
[0031] According to the invention, the cleaning information may include cleaning instructions for liquid-based cleaning, air-based cleaning and / or actuator-based cleaning. The cleaning device may be configured to emit a cleaning fluid, e.g. water and / or detergent and / or air, for cleaning the camera sensor, in particular for cleaning the transparent camera sensor component. Additionally or alternatively, the cleaning device may comprise an actuator for cleaning, e.g. a movable wiper blade, an ultrasonic actuator, etc., which allows for mechanically removing the obstruction from the transparent camera sensor component.
[0032] Furthermore, the present invention relates to a method of training a neural network algorithm, the method comprising the steps of: - providing a plurality of camera images captured by at least one unobstructed camera sensor; - enhancing at least some of the camera images by superimposing a jamming mask on each camera image, the jamming mask being assigned to a jamming class from among a plurality of jamming classes, the jamming mask jamming a portion of the camera image according to a jamming degree of the jamming mask, the jamming degree being determined probabilistically for each camera image; - associating a label with each camera image, the label indicating a disturbance class and a disturbance degree of a disturbance mask that augments the camera image; - generating, for each augmented camera image, an output of the neural network algorithm by processing the augmented camera image through one or more network layers of a neural network algorithm and in accordance with parameters associated with the one or more network layers; - comparing the generated output for each augmented camera image with the label associated with the augmented camera image using an objective function; - updating the parameters based on the comparison.
[0033] In particular, the method for training a neural network algorithm according to the present invention may be used to train a neural network algorithm of the method for determining cleaning information of a camera sensor subjected to at least partial obstruction according to the present invention. Thus, the neural network algorithm of the method for determining cleaning information of a camera sensor subjected to at least partial obstruction according to the present invention may be trained by the method for training a neural network algorithm according to the present invention.
[0034] The method for training the neural network algorithm uses a number of camera images captured by an unobstructed camera sensor. These images may, in particular, depict various surrounding environments of the camera sensor that are expected to occur during normal use of the camera sensor. For example, when training a neural network for a camera sensor used to capture the surrounding environment of a vehicle, the camera images provided may depict various scenes that may occur during operation of the vehicle.
[0035] The provided camera images are captured by an unobstructed camera sensor, so that initially no obstructions are present in these images. In order to train a neural network algorithm for determining the obstruction segments or obstruction degrees and the various obstruction classes, at least some of the unobstructed camera images are augmented by superimposing an obstruction mask. The obstruction mask indicates certain types of obstructions virtually covering certain degrees of the field of view of the camera sensor. The obstructions virtually augmenting the camera images are assigned to obstruction classes selected from among a plurality of obstruction classes. The obstruction mask may virtually reproduce certain types of obstructions by covering one or more portions of the camera image corresponding to the certain types of obstructions, e.g. corresponding to dirt, drops or fog.
[0036] In order to obtain as many differently augmented images as possible, each obstruction mask covers a probabilistically or randomly determined portion of the camera image. Thus, the obstruction degree of each mask is determined probabilistically, and the obstruction degree of the obstruction mask corresponds to the obstruction degree of the camera image on which the obstruction mask is superimposed. Probabilistic determination of the obstruction degree allows the creation of a large number of differently obstructed augmented camera images, and thus allows precise and extensive training of the neural network on the basis of different obstruction degrees and different obstruction classes. Thus, the method for training a neural network according to the invention is particularly suitable for the method for determining cleaning information according to the invention, since the automated creation of virtually obstructed images allows the neural network to be trained on a variety of differently obstructed images.
[0037] Each augmented camera image is assigned a label indicating the interference class and interference degree of the interference mask used to augment the particular camera image. The labels are specifically created by the same computing device used to augment the camera image with the interference mask. This significantly reduces the effort of creating training data, since manual labeling of the training data or the augmented camera images is not required.
[0038] Here, the augmented and labeled camera images are fed into a neural network algorithm to be trained, resulting in a corresponding neural network algorithm output, which then processes the augmented and labeled camera images through one or more network layers according to parameters associated with each layer.
[0039] The output of the neural network algorithm for each augmented camera image, in particular the determined degree of obstruction and the determined obstruction class, is then compared with the label assigned to each augmented and labeled camera image used as input. To perform the comparison, an operational function may be used that quantifies and / or qualifies the match between the label assigned to each augmented camera image and the output of the neural network algorithm. Based on the results of the comparison using the objective function, parameters associated with one or more layers of the neural network algorithm are updated to increase the match between the label and the output of the neural network algorithm.
[0040] In order to cover the unobstructed state of the camera sensor, some camera images used to train the neural network algorithm may not be augmented with an obstruction mask, allowing training of the neural network based on a determination of the obstruction class, e.g., indicating 0% obstruction and / or an unobstructed camera sensor.
[0041] In a preferred embodiment, at least one further parameter of the appearance of the obstruction mask is additionally varied probabilistically, in particular the color, the color distribution, the transparency, the transparency distribution, the number of masking segments, the distribution of the masking segments, the size of the masking segments, and / or the contour of the masking segments of the obstruction mask. This allows the virtual obstruction created by the obstruction mask to be further adapted to the obstruction types that may occur in reality. By varying the parameters, such as the color, the transparency or their distribution, different types of dirt may be represented. Also the number, size, contour and / or distribution of the masking segments may be varied to encompass as many obstruction appearances as possible.
[0042] Preferably, at least one further parameter is varied within one or more intervals associated with the interference classes assigned to the interference mask, which allows the interference mask to be adapted to the specific appearance of the various interference classes. For example, to simulate a camera sensor component that is obstructed by raindrops, a large number of segments with a circular or elliptical shape with a relatively high transparency may be used, whereas for dirt interference, a small number of large segments with a high opacity and an irregular shape may be used.
[0043] The control device according to the present invention comprises a computing device, the control device being adapted to execute the method for determining cleaning information according to the present invention.
[0044] A camera sensor system according to the present invention comprises at least one camera sensor, at least one cleaning device associated with the camera sensor, and a controller according to the present invention.
[0045] A vehicle according to the present invention comprises a camera sensor system according to the present invention.
[0046] A computer program according to the invention comprises instructions for controlling a computer to carry out the method for determining cleaning information according to the invention.
[0047] A non-transitory recording medium according to the present invention comprises a computer program according to the present invention.
[0048] All details and advantages described with respect to one of the methods according to the invention apply correspondingly to the other methods according to the invention and also to the control device, the camera sensor system, the vehicle, the computer program and the storage medium, and vice versa.
[0049] Further features and details of the invention will be discussed in relation to the figures, which are schematic drawings. [Brief description of the drawings]
[0050] [Figure 1] FIG. 1 shows an embodiment of a vehicle according to the present invention. [Diagram 2] FIG. 2 is a block diagram of an embodiment of a method for determining cleaning information for an at least partially obstructed camera sensor according to the present invention. [Diagram 3] FIG. 3 shows an embodiment of a decision tree that is used as a further algorithm for determining cleaning information. [Figure 4] FIG. 4 is a block diagram of an embodiment of a method for training a neural network algorithm according to the present invention. [Diagram 5] FIG. 5 is a schematic diagram of camera image augmentation and labeling in an embodiment of a method for training a neural network algorithm. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0051] 1 shows an embodiment of a vehicle 1. The vehicle 1 may be a motorized or non-motorized vehicle, e.g., a car, a truck, a train, a trailer, etc. The vehicle 1 comprises a camera sensor system 2, which comprises a camera sensor 3, a controller 4 and a cleaning device 5. The camera sensor 3 and the cleaning device 5 communicate with the controller 4 via a communication link, e.g., via a bus system, e.g., a CAN-Bus, and / or via one or more point-to-point connections.
[0052] The camera sensor 3 is arranged on the body of the vehicle 1, for example on a bumper, a side mirror or a radiator grille of the vehicle 1. The camera sensor 3 is arranged to capture a camera image, in particular a video stream consisting of a number of subsequently captured camera images. A part of the surrounding environment of the vehicle 1 is captured by the camera sensor 3.
[0053] The camera sensor system 2 may be part of a driving assistance system of the vehicle 1. The driving assistance system may be configured to provide at least one control signal to an actuator of the vehicle 1 and / or at least one optical and / or acoustic signal to a driver of the vehicle 1 depending on the camera images provided by the camera sensor 3, in particular depending on an interpretation of the content of the camera images provided by the camera sensor 3.
[0054] The cleaning device 5 is assigned to the camera sensor 3 and is configured to clean the camera sensor 3, in particular to clean a transparent camera sensor component 6 arranged in the optical path of the camera sensor 3, such as a lens, an optical filler and / or a transparent cover of the camera sensor 3. The cleaning device 5 may be configured to emit a cleaning fluid, such as water, a detergent and / or air, for cleaning the transparent camera sensor component 6. Additionally or alternatively, the cleaning device 5 may comprise an actuator (not shown) for cleaning, such as a movable wiper blade, an ultrasonic actuator, etc., which allows for mechanically removing disturbances, such as drops, dirt, fogging, etc., from the transparent camera sensor component 6.
[0055] The control device 4 is or comprises a computing device. The control device 4 is configured to execute the method for determining cleaning information of the camera sensor 3 when the control device 4 is at least partially obstructed, i.e. when the transparent camera sensor component 6 is at least partially covered by an obstruction that blocks the field of view of the camera sensor 3.
[0056] FIG. 2 shows a block diagram of an embodiment of a method for determining cleaning information of a camera sensor 3 that is at least partially obstructed.
[0057] In step S1, the camera sensor 3 is controlled to capture at least one camera image, for example by sending an image acquisition trigger from the control device 4 to the camera sensor 3. It is also conceivable to control the camera sensor 3 by means of a further control device of the vehicle 1 to capture one or more camera images. The camera sensor 3 captures and transmits at least one camera image to the control device 4. It is conceivable to capture a video stream consisting of multiple subsequently captured camera images by the camera sensor 3 and to transmit single camera images successively to the control device 4 for detecting obstructions and / or determining cleaning information.
[0058] In step S2, the camera images transmitted to the control device 4 are processed by the control device 4 using a neural network algorithm implemented in the control device 4. The neural network algorithm is configured to determine, from the or each camera image processed by the neural network algorithm, both a camera sensor obstruction degree based on a segmentation of at least a part of the camera image and a obstruction class from a plurality of obstruction classes of camera sensor obstructions based on a classification of at least a part of the camera image as outputs of the neural network algorithm. For example, a semantic segmentation algorithm and / or an algorithm comprising both binary segmentation and a classifier model may be used as or as part of the neural network algorithm.
[0059] The camera sensor obstruction degree indicates the portion of the field of view of the camera sensor 3 that is covered by obstruction of the transparent camera sensor component 6. The camera sensor obstruction degree may vary from 0% to 100%, with 0% indicating that the field of view of the camera sensor 3 is not obstructed, 100% indicating that the field of view of the camera sensor 3 is completely obstructed, and values in between indicating that the field of view of the camera sensor 3 is partially obstructed.
[0060] The degree of obstruction is determined based on a segmentation of the camera image to determine one or more portions of the camera image that are indicative of obstruction and one or more portions of the camera image that are indicative of portions of the vehicle's surroundings. The degree of obstruction may be determined, for example, as a ratio of an area of the segment that is indicative of obstruction to an area of an unobstructed segment that is indicative of the surroundings.
[0061] In addition to the degree of disturbance, the neural network algorithm determines a disturbance class from a plurality of disturbance classes. The disturbance class is determined based on a classification of at least a part of the camera image. A cleaning criterion is assigned to at least some of the disturbance classes, the cleaning criterion indicating that cleaning of the camera sensor may be required from this particular type of disturbance or that cleaning of the camera sensor is possible from this type of disturbance. Advantageously, both segmentation and classification may be performed independently of each other, resulting in a combined prediction, and the reliability of the system is improved by fusing the predictions from the two models.
[0062] The plurality of interference classes preferably includes at least a dirt class, a drip class and a cloudy class, to which cleaning criteria are respectively assigned. It is also conceivable to use additional interference classes which indicate other precipitation such as ice, snow, etc. and / or specific types of dirt, e.g. dirt due to dust, mud, sand, insects, etc. The plurality of interference classes may in particular include at least one non-obstruction class to which no cleaning criteria is assigned. The non-obstruction class indicates a state in which the camera sensor 3 or its transparent camera sensor component 6 is not covered by interference. Information regarding the various interference classes and the cleaning criteria assigned to the interference classes may for example be stored in the control device 4.
[0063] In step S3, cleaning information is determined according to the camera sensor obstruction degree determined by the neural network algorithm and the class of camera sensor obstruction, and the cleaning information indicates that cleaning of the camera sensor 3 is necessary if a cleaning criterion is assigned to the determined class of camera sensor obstruction and if at least one degree threshold is exceeded by the determined camera sensor obstruction degree.
[0064] Preferably, the cleaning information is determined by a further algorithm implemented in the control device 4. The further algorithm may for example be a decision tree which is used to determine a cleaning strategy from a plurality of cleaning strategies depending on the determined obstruction class and / or by comparing the determined camera sensor obstruction degree with two or more different degree thresholds assigned to each cleaning strategy. The determined cleaning information indicates a cleaning strategy for cleaning the camera sensor 3. The cleaning strategy may for example comprise cleaning instructions for liquid-based cleaning, air-based cleaning and / or actuator-based cleaning depending on the type of cleaning device 5.
[0065] In step S4, cleaning information is sent to the cleaning device 5 for cleaning the camera sensor 3 according to the determined cleaning strategy. If the cleaning information indicates that cleaning of the camera sensor 3 is not necessary, the transmission to the cleaning device 5 may be omitted. In this case, the method can continue by controlling the camera sensor 3 to capture the next image of the plurality of camera images provided by the camera sensor 3 (step S1) or by processing the next camera image (step S2).
[0066] An embodiment of a decision tree used as a further algorithm for determining cleaning information is shown in Fig. 3. For the disturbance degree indicated as D, three thresholds are used: < 10%, < 66.6% and < 100%. For each disturbance degree D of the corresponding section, four different disturbance classes C1 to C4 are exemplarily shown, which are distinguished by the neural network algorithm.
[0067] For example, no cleaning criteria is assigned to the interference class C1, which indicates a non-interference class. Cleaning criteria are assigned to interference class C2, which is, for example, a dirt interference class, interference class C3, which is, for example, a cloudy interference class, and interference class C4, which is, for example, a droplet interference class. In FIG. 3, the interference classes to which cleaning criteria are assigned are shown in bold for distinction.
[0068] Since no cleaning criterion is assigned to the disturbance class C1, no cleaning strategy is assigned to the disturbance class C1, regardless of the threshold value for the disturbance degree D. In other words, if a non-disturbance class is determined as a disturbance class based on the classification, no cleaning strategy is executed, regardless of the determination result of the disturbance degree D based on the classification. In such a case, the cleaning information may indicate, for example, that cleaning is not required, or the cleaning information may not be determined.
[0069] If the degree of disturbance D is between 0% and 10%, classifying the disturbance as one of the disturbance classes C2, C3 or C4 does not result in cleaning of the camera sensor 3, even though cleaning criteria are assigned to each of these disturbance classes. This reduces the use of energy and / or cleaning detergents of the cleaning device 5 when the functionality of the camera sensor 3 is not affected by the disturbance.
[0070] If the degree of interference is between 10% and 66.6%, the first cleaning strategy CS1 is assigned to each of the interference classes C3 and C4. The second cleaning strategy CS2 is assigned to the interference class C2. If the degree of interference D is between 66.6% and 100%, instead the third cleaning strategy CS3 is associated with the interference class C2, and the second cleaning strategy CS2 is associated with the interference classes C3 and C4.
[0071] The decision tree shown in FIG. 3 is only one example, and it is contemplated that a different number of disturbance classes, a different number of cleaning strategies, a different number of degree thresholds and / or a different degree threshold may be used.
[0072] It is conceivable that the cleaning strategy is additionally determined depending on at least one cleaning device status information indicating a current state of the cleaning device. The cleaning device status information may for example be transmitted from the cleaning device 5 to the control device 4. The cleaning device status information may for example be a fluid level of the cleaning fluid in a fluid container of the cleaning device 5. Additionally or alternatively, other types of cleaning device status information may be used. Taking into account also the current state of the cleaning device, it is possible to adapt the cleaning strategy for cleaning the camera sensor 3 to the cleaning capabilities of the cleaning device 5 in its current state, so that unnecessary or unfeasible commands to the cleaning device 5 can be avoided.
[0073] For example, it is conceivable to determine a certain cleaning strategy as or as part of the cleaning information if the fluid level of the cleaning fluid in the fluid container of the cleaning device 5 is 10% or more, while selecting a different cleaning strategy for a fluid level below 10%. Additionally or alternatively, a warning and / or a refill request may be issued in case of a low fluid level, for example as an optical and / or acoustic signal to the driver of the vehicle 1.
[0074] 4 shows a block diagram of an embodiment of a method for training a neural network algorithm, particularly for a neural network algorithm in the control device 4. The method allows for efficient training of a neural network algorithm that determines both the degree of obstruction and the obstruction class of a camera sensor for obstructions that block at least a portion of the field of view of the camera sensor.
[0075] In step T1, a plurality of camera images captured by at least one unobstructed camera sensor is provided. These images may in particular show different surroundings of the camera sensor that are expected to occur during normal use of the camera sensor. For example, training of the neural network algorithm of the control device 4 may be performed with camera images showing different scenes of the vehicle surroundings, in particular different traffic situations and / or traffic environments. The camera images may for example be recorded by the camera sensor 3 or by a similar camera sensor 3 of the vehicle 1 and / or by a similar camera sensor 3 of another vehicle.
[0076] In step T2, at least some of the camera images are augmented by superimposing a jamming mask on each of the camera images, the jamming mask being assigned to a jamming class from among a plurality of jamming classes, the jamming mask jamming a portion of the camera image according to a jamming degree of the jamming mask, the jamming degree being determined probabilistically for each camera image, and a label is associated with each camera image, the label indicating the jamming class and the jamming degree of the jamming mask that augments the camera image. The process of augmenting and labeling the camera images is described in more detail below with reference to FIG. 5.
[0077] In step T3, the augmented camera images are processed through one or more network layers of a neural network algorithm in accordance with parameters associated with the one or more network layers to generate an output of the neural network algorithm for each augmented camera image.
[0078] In step T4, the output generated for each augmented camera image is compared to a label associated with the augmented camera image using an objective function, and based on the comparison, parameters of the neural network algorithm associated with the layer of the neural network algorithm are updated.
[0079] In Fig. 5 the process of augmenting and labelling camera images for training neural network algorithms is explained in detail. This process can be computationally implemented, in particular as an automated pipeline. The camera images to be augmented are provided, for example, by using an unobstructed camera sensor 3. An unobstructed camera image 7 is shown diagrammatically in Fig. 5.
[0080] Obstruction masks 8 are used to augment an unobstructed camera image 7, i.e. to add virtual obstructions to the camera image 7 so that it appears as if the camera sensor used to capture the camera image 7 was obstructed by an obstruction. For each camera image 7 to be augmented, an associated obstruction mask 8 is created. The obstruction masks generate virtual obstructions of certain obstruction classes.
[0081] For each jamming mask 8, a jamming class can be selected deterministically or probabilistically from a number of predefined jamming classes, and each jamming mask provides a virtual jamming overlay on the camera image 7, covering a part of the camera image 7 according to a probabilistically determined jamming degree. The jamming degree provided by the jamming mask may for example depend on the number of masking segments 9 and on the size of each masking segment 9 compared to the size of the jamming mask 8 or the camera image 7 to be augmented. The jamming degree determines the jamming degree of the camera image 7 after augmentation by the jamming mask 8.
[0082] Additionally, one or more further parameters related to the appearance of the obstruction mask 8 may be varied stochastically. As further parameters, for example, the color of the individual masking segments 9, the color distribution of the individual masking segments 9, the transparency of the individual masking segments 9, the transparency distribution of the individual masking segments 9, the number of masking segments 9, the distribution of the masking segments 9 in the obstruction mask 8, the size of the individual masking segments 9 and / or the contour of the individual masking segments 9 may be used.
[0083] In particular, one or more further parameters may be varied within one or more intervals associated with the interference class assigned to the interference mask 8. For example, if the interference class of the interference mask indicates dirt interference, the color may be varied between different brownish colors and the transparency is varied between zero transparency and 30% transparency. If the interference class of the interference mask 8 is, for example, raindrops, much higher transparency values and different colors can be used. Also, the number and shape of the interference segments 9 can be varied to reproduce the appearance of raindrops on a transparent camera component 6.
[0084] Here, the obstruction mask 8 is used to augment the camera image 7. The obstruction mask 8 is thus superimposed on the camera image 7 to generate an augmented camera image 10. Also, a label is associated with the augmented camera image 10, the label indicating the obstruction class and the obstruction degree of the obstruction mask superimposed on the camera image 7. The label could comprise a value of the obstruction degree generated by the obstruction mask, or for example a binary image label corresponding to the obstruction mask could be provided, which binary image label indicates both the areas obstructed and the areas not obstructed by the segments 9. The label is in particular generated automatically during the augmentation of the camera image 7. This has the advantage that no subsequent manual labeling is necessary.
[0085] The augmented camera images 10 are then used for training, in particular for training a neural network algorithm of the control device 4. In addition to the augmented camera images 10, unobstructed camera images may also be used. These unobstructed camera images may be associated with an unobstructed obstruction class and therefore may include a label indicative of the unobstructed obstruction class.
[0086] Automatically generating the augmented camera images 10 has the advantage that a large number of training images can be created that encompass a wide variety of different obstruction conditions, which in particular makes it possible to efficiently train neural network algorithms based on determining the obstruction degree and obstruction class of camera images 7 provided by obstructed camera sensors 3 during operation of the vehicle 1.
[0087] In this case, the neural network algorithm trained on the extended camera image 10 may be used to evaluate and predict real obstructions of the camera image. The weights of the neural network algorithm, i.e. the updated parameters, learned during training with the extended data set are then used in the neural network algorithm to make predictions on the real-world data set portion with respect to obstructions. It is advantageous to provide the trained neural network algorithm in this way without having to provide real obstructed images, which may be difficult to obtain for real vehicle driving scenarios. On the other hand, it is also conceivable to further fine-tune the neural network algorithm pre-trained on the extended data set on a real data set comprising real obstructed camera images with the same obstruction degree and the same obstruction class selected from a plurality of obstruction classes, thereby achieving a further improvement in the performance of the neural network algorithm.
Claims
1. 1. A method for determining cleaning information of a camera sensor (3) that is at least partially obstructed, including an obstruction on a transparent camera sensor component (6) in the optical path of the camera sensor (3), comprising: - controlling said camera sensor (3) to capture at least one camera image; - processing said at least one camera image (3) by a computing device using a neural network algorithm, said neural network algorithm being adapted to determine as output from the or each camera image a degree of camera sensor obstruction based on a segmentation of at least a part of said camera image and a obstruction class from among a plurality of obstruction classes of camera sensor obstructions based on a classification of at least a part of said camera image; - determining cleaning information as a function of the camera sensor obstruction degree and the class of the camera sensor obstruction, the cleaning information indicating that cleaning of the camera sensor (3) is necessary if a cleaning criterion has been assigned to the determined class of camera sensor obstruction and if at least one degree threshold is exceeded by the determined camera sensor obstruction degree; - transmitting said cleaning information to a cleaning device (5) associated with said camera sensor (3) for cleaning said camera sensor (3) in accordance with said cleaning information.
2. 2. The method of claim 1, wherein the neural network algorithm is or comprises a semantic segmentation algorithm and / or an algorithm comprising both a binary segmentation and a classifier model.
3. 3. The method of claim 1, wherein the plurality of disturbing classes includes at least one non-disturbing class to which no cleaning criteria is assigned.
4. Method according to any one of claims 1 to 3, characterized in that said plurality of disturbance classes comprises at least a dirt class, a drip class and / or a cloudy class, each of which is assigned a cleaning criterion.
5. 5. The method according to claim 1 , characterized in that the cleaning information is determined by a further algorithm, in particular by a neural network, and the cleaning information indicates a cleaning strategy for cleaning the camera sensor, which cleaning strategy is determined from among a plurality of cleaning strategies depending on the determined obstruction class and / or by comparing the determined camera sensor obstruction degree with two or more different degree thresholds assigned to each cleaning strategy.
6. The method according to any one of the preceding claims, characterized in that the cleaning strategy is additionally determined depending on at least one cleaning device status information indicative of a current status of the cleaning device.
7. The method according to any one of the preceding claims, characterized in that the cleaning information comprises cleaning instructions for liquid-based cleaning, air-based cleaning and / or actuator-based cleaning.
8. In particular for use in the method according to any one of claims 1 to 7, a method for training a neural network algorithm, comprising: - providing a plurality of camera images (7) captured by at least one unobstructed camera sensor; - expanding at least some of the camera images (7) by superimposing a disturbance mask (8) on each of the camera images (7), the disturbance mask (8) being assigned to a disturbance class from among a plurality of disturbance classes, the disturbance mask (8) disturbing a part of the camera image (7) according to a disturbance degree of the disturbance mask, the disturbance degree being determined probabilistically for each of the camera images (7); - associating to each said camera image (7) a label, said label indicating said obstruction class and said obstruction degree of said obstruction mask (8) which augments said camera image; - generating an output of said neural network algorithm for each said augmented camera image (7) by processing said augmented camera image (10) through one or more network layers of said neural network algorithm and in accordance with parameters associated with said one or more network layers; - comparing the generated output for each augmented camera image (10) with the label associated with said augmented camera image (10) using an objective function; updating said parameters based on said comparison.
9. 9. The method according to claim 8, further comprising stochastically varying at least one further parameter related to the appearance of the obstruction mask (8), in particular the color, the color distribution, the transparency, the transparency distribution, the number of masking segments, the distribution of the masking segments, the size of the masking segments and / or stochastically varying the contours of the masking segments of the obstruction mask.
10. 10. The method according to claim 9, characterized in that the at least one further parameter is varied within one or more intervals which are associated with the disturbance classes assigned to the disturbance mask (8).
11. A control device comprising a computing device, said control device (4) being configured to carry out the method according to any one of claims 1 to 7.
12. A camera sensor system comprising at least one camera sensor (3), at least one cleaning device (5) associated with said camera sensor (3), and a control device (4) according to claim 11.
13. A vehicle equipped with a camera sensor system (2) according to claim 12.
14. A computer program comprising instructions for controlling a computer to carry out the method according to any one of claims 1 to 7.
15. A non-transitory recording medium comprising the computer program of claim 14.
Citation Information
Patent Citations
Imaging device with cleaning function
JP2016009099A
Technologies for detection of occlusions on a camera
US20210192745A1
Vehicle cleaning system
WO2019116607A1
System for cleaning a glazed surface of a motor vehicle
WO2022162235A1
Computer-implemented method and system for detecting a visual impairment of an imaging sensor and training method
DE102021201255A1
Cited By
Antenna positioner with eccentric tilt position mechanism
US12347918B2
