Insta360Develop / CameraSDK-iOS

iOS SDK to control Insta360 cameras.
40 stars 5 forks source link

HDR shooting with time shift #38

Open ravilich86 opened 6 months ago

ravilich86 commented 6 months ago

I need to capture HDR photos with a time shift, meaning to take a photo initially with one lens and then after a specified interval with another. How can I achieve this? Please advise if anyone has encountered this 🙏

ravilich86 commented 5 months ago

I figured out how to switch lenses and take images. However, the images I get are in the dual-fisheye format. Could someone please advise on how to convert a dual-fisheye image to a rectangular (equirectangular) format? Has anyone already implemented this?

ravilich86 commented 5 months ago

In the INSCameraImageStitcher class, there is a method - (nullable UIImage *)stitchFisheyeImageWithData:(NSData *)imageData; but it formats the image not into a rectangular one but into a concave shape, with black semi-ovals on the left and right edges.