Files
guitar_score/.planning/codebase/INTEGRATIONS.md

613 B

INTEGRATIONS

YouTube

  • Mechanism: Integrated natively through yt-dlp binary invocation via subprocess.
  • Purpose: Fetch the source guitar play-through videos asynchronously before frame extraction.
  • Data Flow: Downloads MP4 directly to the local filesystem (usually enforcing res:720 for a balance between OCR fidelity and VRAM economy) before cv2 processing.

EasyOCR Model

  • Mechanism: Lazy-loaded en (English/Digits) detection network.
  • Lifecycle: Initialized on first call in _get_ocr_reader(). Downloads model weights if not locally cached in the Python environment.