Phase 1: Keep tests pure-Python with lazy imports
`mediapipe`, `ultralytics`, `cv2` are slow to import and need model weights at runtime. The trick that keeps the test suite small, fast, and weights-free is putting those imports inside function bodies, not at module top level.
pythontestingcomputer vision