@staticmethod
def _count_lane_invasion(weak_self, event):
    """
        Callback to update lane invasion count
        """
    self = weak_self()
    if not self:
        return
    self.actual_value += 1
