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/.
Within pano_studio/stitch/, pipeline.py coordinates alignment, blending,
and export. propeller.py owns cut detection, scaling, and source-frame
cleanup. sky.py estimates the sky color and feather weights, and clouds.py
continues cloud bands when both sides of the zenith gap support a match.
gaps.py repairs general interior holes, sky_borders.py builds the viewer
overlays, and output.py encodes the GPano JPEG.
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/ Space: Toggle auto-rotate in the 360° projectionsC: Show or hide the compassN: Show the compass and turn to north, or to the panorama’s zero heading when capture orientation is unavailableF: Toggle browser fullscreenH: Hide or restore the controls. Tap the photo to bring them back.D: Toggle source image bordersS: 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.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pano_cli-0.3.4.tar.gz | 1.9 MB | Without provenance | Details for pano_cli-0.3.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pano_cli-0.3.4-py3-none-any.whl | Python 3 | none | any | Details for pano_cli-0.3.4-py3-none-any.whl |
Total release size: 3.8 MB
Release files / pano_cli-0.3.4.tar.gz
| Download URL | pano_cli-0.3.4.tar.gz |
|---|---|
| Size | 1.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
af80f6fa555d0a24833959a3a2218f05aa762557232b476e3e4a78f853cab4af
|
|
BLAKE2b-256 checksum How to use checksums |
069690fb073b64be0d4edbf30d5ea425f1996d73324d98d1839cbec26e3340f2
|
| 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.4-py3-none-any.whl
| Download URL | pano_cli-0.3.4-py3-none-any.whl |
|---|---|
| Size | 1.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
45c437904682f1c96e9800a6c6892e91852db0ad8600321b70c4c346ea9b61bb
|
|
BLAKE2b-256 checksum How to use checksums |
2bc34878b0dc9cf2843b471d93683e8804b0297258877f9136edb12ba23ef333
|
| 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.4
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.