"""Entry-point standalone Pattern Matching 2D shape-based. Esegui: uv run python main.py """ from pathlib import Path from pm2d.gui import run if __name__ == "__main__": test_dir = Path(__file__).parent / "Test" run( initial_dir=str(test_dir) if test_dir.is_dir() else None, angle_range_deg=(0.0, 360.0), angle_step_deg=5.0, scale_range=(1.0, 1.0), scale_step=0.1, num_features=96, weak_grad=30.0, strong_grad=60.0, spread_radius=5, pyramid_levels=3, min_score=0.55, max_matches=25, backend="line", )