SkillAgentSearch skills...

UnWrap

Unwrap allsky (Fisheye) images into rectilinear in Python. Fisheye to panorama.

Install / Use

/learn @rankinstudio/UnWrap
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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)
View on GitHub
GitHub Stars19
CategoryDevelopment
Updated1y ago
Forks1

Languages

Python

Security Score

75/100

Audited on Aug 12, 2024

No findings