Run the interactive webcam demo
mainYou can run an interactive demo that shows the camera feed and real-time calibration results using the geocalib.interactive_demo module.
python -m geocalib.interactive_demo --camera_id 0If --camera_id is not provided, the demo will prompt for a droidcam IP address.
Controls:
h: Show estimated horizon lineu: Show estimated up-vectorsl: Show estimated latitude heatmapc: Show confidence heatmap (up-vectors and latitudes)d: Show undistorted imageg: Show virtual grid of pointsb: Show virtual box object1: Switch topinholemodel2: Switch tosimple_radialmodel3: Switch tosimple_divisionalmodelq: Quit
python -m geocalib.interactive_demo --camera_id 0