openstitching/stitch - Docker Image

1 min read Original article ↗

This is a CLI to create a panorama from images within your mounted /data directory

The help (-h) is the default setting of cmd. To display it, run the following

docker container run --rm openstitching/stitch:latest


You need to put your images into a directory like /path/to/data (on Windows use C:\path\to\data).

By default the result will be stored in this directory as result.jpg

You need to mount this directory onto the containers /data directory using

-v /path/to/data:/data


A one-liner to stitch all jpg files in the /data directory into a panorama would be

docker container run --rm -v /path/to/data:/data openstitching/stitch:latest *.jpg


You can replace *.jpg with e.g.

img_dir/IMG*.jpg - this stitches all files in the /data/img_dir directory starting with "IMG" and ending with ".jpg"

img1.jpg img2.jpg img3.jpg this stitches the 3 explicit files of the /data directory


Enable verbose mode with -v. This will create a folder where all intermediate results are stored so that you can find out where there are problems with your images, if any


For more information visit https://github.com/OpenStitching/stitching