Skip to content

Commit

Permalink
chore: ruff fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HeadTriXz committed May 27, 2024
1 parent 593b866 commit ff75a2c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/lane_assist/line_detection/window_search.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import math

import numpy as np

from collections.abc import Iterable
Expand All @@ -18,8 +17,6 @@ def process_window(image: np.ndarray, window: Window, stop_line: bool) -> Line |
:param stop_line: Whether we are searching for a stop line.
:return: The processed window.
"""
image_center = image.shape[1] // 2

while not __window_at_bounds(image, window):
top, bottom, left, right = window.get_borders(image.shape)

Expand Down

0 comments on commit ff75a2c

Please sign in to comment.