from PIL import Image

img = Image.open("captures/20260914_014120_117_TEST_ATLAS_OPENED.png")

# Scan row y=10 to 45 across the whole screen for bright text
for y in range(15, 45, 3):
    row_bright = [x for x in range(0, 2560) if sum(img.getpixel((x, y))[:3]) > 400]
    if row_bright:
        print(f"y={y}: bright pixels from x={min(row_bright)} to x={max(row_bright)} (count={len(row_bright)})")
