Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions node/InputNode/node_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -769,30 +769,6 @@ def update(
# Adjust indicator position after left padding
indicator_col += pad_width

# Draw boundary cursors (green) at start and end of the window
# These show the full window (including padding) being sent to classification
# Green in BGR is (0, 255, 0)
start_cursor_col = 0
end_cursor_col = spectrogram_window.shape[1] - 1

# Draw start boundary cursor (left edge)
cv2.line(
spectrogram_window,
(start_cursor_col, 0),
(start_cursor_col, spectrogram_window.shape[0] - 1),
(0, 255, 0),
2,
)

# Draw end boundary cursor (right edge)
cv2.line(
spectrogram_window,
(end_cursor_col, 0),
(end_cursor_col, spectrogram_window.shape[0] - 1),
(0, 255, 0),
2,
)

# Draw yellow vertical line at current position within the window (middle cursor)
if 0 <= indicator_col < spectrogram_window.shape[1]:
# Yellow in BGR is (0, 255, 255)
Expand Down