Skip to main content

Pano Studio

Fast, native-resolution DJI 360° panorama stitcher and full-screen WebGL sphere viewer.

Quick Start

Open the full-screen map from the project folder:

uv run pano-studio

Open the local URL printed in the terminal. Add --browser to open it automatically.

The Places map uses bundled Natural Earth 1:50m country boundaries and state and province boundaries. It works offline. Select a thumbnail to open the viewer, or select a photo stack to browse the captures at that location in Grid. Select a place heading in Grid to show that group on the map. Use Grid or All photos to browse the full library, including photos without GPS, or use B&W for a grayscale map. A capture with a single frame opens as a flat photo.

Captures with a matching DNG for every source frame have a yellow thumbnail outline in Places and a DNG button in the viewer. It develops the RAW frames with Apple Core Image on Metal at full resolution. Use JPEG to switch back. Press Esc to return to the map at the previous center and zoom in the current tab.

The map reads one PANORAMA/<year>/metadata.json per year, with capture dates, median GPS locations, and per-frame EXIF and DJI metadata grouped by capture folder name. Set an optional place_name on a capture to label its location. The example regions have built-in labels, and other unnamed locations show coordinates. Use --library PATH for a different library and restart the server after adding captures. The viewer stitches from the original JPEGs on demand and caches the most recently stitched panorama in memory. Each capture folder holds only the original JPEGs and DNGs.

Stitch a DJI panorama folder and open it full screen:

uv run pano-studio --folder PANORAMA/2022/100_0727

Use --folder for source photos on the same computer. Pano Studio reads them directly from disk and reuses the last stitch on browser reload while the server is running and the folder is unchanged.

Stitching requires Apple Metal and a macOS session with GPU access.

Use Open studio on the map to open or drop a DJI photo folder or an existing panorama.

View an existing equirectangular JPEG directly:

uv run pano-studio --view 100_0727-panorama-360.jpg

Debug a stitch

Press D or select Borders in the viewer to toggle the projected edges of the original source images and see their filenames. The outlines stay thin as you zoom.

Generate a local report from the original JPEGs, including the frame ownership map, an adjustable overlay for any two projected frames, and feature-match errors before and after alignment.

uv run pano-studio --folder PANORAMA/2022/100_0589 --debug-stitch ./stitch-debug --browser

The command prints the path to the report and exits. Each run writes to a new subfolder. The report compares seam candidates at the resolution used for seam finding and shows the selected composite before Metal blending and sky fill. JPEG diagnostics can run without a GPU. Open the capture normally to render the full-resolution panorama.

Pipeline Highlights

  • Propeller & body mask detection: Automatically masks upper-border propeller shadows on upward-tilted DJI frames before feature matching and projection.
  • Fast sparse bundle adjustment: Parallel SIFT + RANSAC homography matching with a DJI telemetry check on matches, joint pose and lens refinement, and a pose-only fallback for unstable lens fits.
  • Consistent color & exposure: Global log-tone and white-balance alignment, wrap-seamless low-frequency residual leveling, seam selection by comparing dynamic programming and graph cut, and tiled Metal multi-band blending at native resolution with upper-sky completion and GPano XMP metadata.

The Python code lives in pano_studio/stitch/ (pipeline and image processing), pano_studio/server/ (CLI, HTTP routes, and library discovery), and pano_studio/metal/ (native GPU code). Browser assets are grouped by screen in pano_studio/web/places/ and pano_studio/web/viewer/.

Viewer Interaction

  • Drag / Arrow keys: Look around
  • Scroll / Pinch / + -: Zoom
  • Double-click / R / Home: Reset view
  • Projection buttons / 1–4: Open 360° (default), Sphere (ground-centered), Inverse Sphere (sky-centered), or Flat directly
  • A: Toggle auto-rotate in the 360° projections
  • F: Toggle browser fullscreen
  • H: Hide or restore the controls. Tap the photo to bring them back.
  • D: Toggle source image borders
  • S: Download the original panorama, including GPano metadata on stitched JPEGs
  • Camera button: Save the current view as a PNG
  • Motion button: Look around by moving your phone on supported devices
  • Drop a folder or image: Stitch DJI source frames or open an equirectangular panorama

WebXR

Open a panorama and tap the goggles icon at the right end of the bottom toolbar. It opens the head-tracked 360° view on compatible headsets. Use the headset's exit control to return to the regular viewer.

For a headset on another device, bind the server to the computer's LAN address and use HTTPS with a certificate the headset trusts. Use a certificate that matches the address or hostname you open on the headset.

uv run pano-studio --view panorama.jpg --host YOUR_LAN_IP --port 8443 \
  --certfile certificate.pem --keyfile private-key.pem

Metadata

Release files for pano-cli 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pano-cli 0.3.3
File Size Uploaded Provenance Actions
pano_cli-0.3.3.tar.gz 1.9 MB Without provenance Details for pano_cli-0.3.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pano-cli 0.3.3
File Interpreter ABI Platform Actions
pano_cli-0.3.3-py3-none-any.whl Python 3 none any Details for pano_cli-0.3.3-py3-none-any.whl

Total release size: 3.8 MB

Release files / pano_cli-0.3.3.tar.gz

Download URL pano_cli-0.3.3.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
4acf96c8f3daba3017c096d88b5408e459c9f98ad8da53cd3bba6875a91459fa
BLAKE2b-256 checksum
How to use checksums
f84223ade75a5dd807657fb0ae5590c1a2b75543e7774326c9baa6151e184c9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / pano_cli-0.3.3-py3-none-any.whl

Download URL pano_cli-0.3.3-py3-none-any.whl
Size 1.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
daa0c9834da3b834f851d97390c444015bdde2c268618955ce86774d400b3ce0
BLAKE2b-256 checksum
How to use checksums
ccce202d1020b30e67e5b7da4ec239b261afc70d1c46e8f903dc26649f4da45f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for pano-cli 0.3.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page