AmericanRedCross / street-view-green-view

BSD 3-Clause "New" or "Revised" License
18 stars 17 forks source link

reproject 360 image for segmentation (and other analysis options) #13

Open danbjoseph opened 9 months ago

danbjoseph commented 9 months ago

If we want to do image segmentation or object detection we want images with a "normal" field of view rather than the 360 equirectangular images like this one 👇 An-Ec3_VNyWnIMw4ErCwg9mbwCXubAtvQHjng6cxVdd_9Kl2FTt7BvGv2XXMZ64VQI0QE--9bOY30-WLHmbG5XPhwUYnChcpod6cer2Qy_vtkv8wJzUx8uU66dlKUBUaB6KJ7DZGfcFQDkLBXJrduQ

This Stack Overflow post provides an interesting deep dive into this (with good visuals): https://stackoverflow.com/questions/29678510/convert-21-equirectangular-panorama-to-cube-map

This script - https://github.com/NitishMutha/equirectangular-toolbox - is 7 years old but the readme seems to describe exactly that. Can we use it (or some other python tool) to change our 360 image into 4 images with 90 degree field-of-view? Other repositories of interest?

ayoakin commented 9 months ago

@danbjoseph I tested https://github.com/NitishMutha/equirectangular-toolbox with two panorama SLI. 1 of 2 worked. Also the output was blurry. I will test other libraries as well.