UnWrap
Unwrap allsky (Fisheye) images into rectilinear in Python. Fisheye to panorama.
Install / Use
/learn @rankinstudio/UnWrapREADME
unWrap
Unwrap allsky (fisheye) images into rectilinear in Python

Simple to use python script to unwrap an allsky or 360 deg RGB fisheye image into a panoramic rectilinear image. Assumes square image. May need to crop square before running.
Dependencies:<br> imageio<br> numpy<br> opencv<br>
Tested: Raspberry Pi 3/4
usage
from unWrap import unwrap
import imageio
image = imageio.imread('rgb.jpg')
result = unwrap(image, 40, 1500) #Here we are cropping 40px from the bottom of final pano. Set to 0 for disable. 3rd arg offsets the final pano by x pixels.
imageio.imwrite('test.jpg', result)
