Skip to content

v0.2.4

Choose a tag to compare

@alx alx released this 25 Apr 08:02
· 16 commits to main since this release

Fix COLMAP reconstruction failure and surface pipeline errors

Root cause: COLMAP sequential matcher was matching each frame to only 5 neighbors (default). At low resolution (426×240), geometric verification yielded too few inliers to bootstrap reconstruction. The mapper produced no sparse/0 output, causing image_undistorter to crash — with the error silently swallowed by the handler.

Changes

  • handler.py: capture pipeline stderr and include it in the RunPod error response — failures now show the actual error instead of a generic CalledProcessError
  • pipeline.py: validate sparse/0 exists after colmap mapper; emit a clear diagnostic and sys.exit(1) instead of crashing inside image_undistorter
  • pipeline.py: increase sequential matching overlap from 5 → 10, giving each frame twice as many matched neighbors and significantly improving reconstruction success on fast-moving or low-resolution video