https://github.com/rnbguy/fishpypano
Stitch two fish eye images to get 360° panorama
https://github.com/rnbguy/fishpypano
Last synced: about 1 year ago
JSON representation
Stitch two fish eye images to get 360° panorama
- Host: GitHub
- URL: https://github.com/rnbguy/fishpypano
- Owner: rnbguy
- License: mit
- Created: 2018-01-07T15:42:17.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-25T23:40:30.000Z (over 8 years ago)
- Last Synced: 2025-04-02T04:56:27.047Z (about 1 year ago)
- Language: Python
- Size: 822 KB
- Stars: 40
- Watchers: 5
- Forks: 9
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FishPyPano
Stitch two fish eye images to get 360° panorama
[](https://www.paypal.me/ranadeepb)
FishPyPano works with ***Mi Sphere dual*** fisheye photos. I intend to make it work for any dual fisheye images.
It takes two >180° HFOV/VFOV fisheye images and stitches them.
### Comparison

### Setup
Before running, set up requirements, executing `pip install -r requirements.txt`
### Running
The code offers two functions.
1. Calibrate - `python calibrate.py` You have to do this one time. You give a list of matched points in the image from JSON file and it calibrates the lens parameters. After calibration it will generate a json file with the calibrated parameters.
- I have cooked up a [html](https://codepen.io/ranadeep/full/XVaPwy/) page which you can use to generate the json file.
2. Stitch - `python stitch.py` Pass the image and wait for the magic.
#### Contribute
Feel free to fork. Pull requests are most welcome. For any suggestion, open an issue.
### Thank you
[Chris Pebble](https://www.facebook.com/chris.pebble.1) for suggesting distortion functions.