""" DEPRECATED - Superseded by capture_screen.py. Template-matching produced a canvas of unpredictable height that never matched the DOM coordinate space, and it silently fell back to a fixed 750px offset whenever matching failed. Kept so existing commands keep working; it forwards to the replacement. """ import runpy import sys from pathlib import Path sys.path.insert(0, str(Path(__file__).resolve().parent)) print( "[deprecated] stitch_opencv.py now runs capture_screen.py - see its --help for options.", file=sys.stderr, ) sys.argv[0] = str(Path(__file__).resolve().parent / "capture_screen.py") runpy.run_module("capture_screen", run_name="__main__")