| CPC G06V 20/59 (2022.01) [B60J 1/20 (2013.01)] | 14 Claims | 

| 
               1. A computer implemented method for determining a current status of a window of a vehicle, the vehicle comprising an optical sensor system configured to acquire at least one image of an interior of a vehicle cabin, at least a part of the window visible in the at least one image, the method comprising: 
            determining, via a processing unit, at least one characteristic of a pane of the window from the at least one image, and 
                determining, via the processing unit, a current status of the window based on the at least one characteristic of the pane, 
                wherein determining the current status of the window includes based on the at least one characteristic of the pane further comprises: applying a machine learning algorithm to the at least one image, and 
                wherein: 
              the optical sensor system is configured to capture an image in the visible spectral range and an infrared image, 
                  the current status of the window is determined by applying the machine learning algorithm to the image in the visible spectral range and to the infrared image, 
                  determining the at least one characteristic of the pane further comprises monitoring at least a predefined portion of an upper edge of the pane with respect to a frame of the window, 
                  monitoring at least the predefined portion of the upper edge of the pane further comprises determining a position of the predefined portion of the upper edge of the pane relative to a position of at least one of an upper part or a lower part of the frame, 
                  a first straight line is adapted to the predefined portion of upper edge of the pane, 
                  a second straight line is adapted to at least one of the upper part or the lower part of the frame, and 
                  the position of the upper edge of the pane is determined with respect to at least one of the upper part or the lower part of the frame based on a respective offset and a respective slope of the first and second straight lines. 
                 |