dual-fisheye-video-stitching
dual-fisheye-video-stitching copied to clipboard
4k stitching
Hi @cynricfu I try to use it for stitching videos from a Gear 360 2017 I already changed:
# output video resolution W = 4096 H = 2048 FOV = 194.0 W_remap = 2148
and all hard encoded strings with "1280" but it's stuck on this step:
# image labeling (find minimum error boundary cut) mask, minloc_old = optimal_seamline.imgLabeling( warped1[:, int(W_remap / 2) - W_lbl:int(W_remap / 2)], warped2[:, int(W_remap / 2) - W_lbl:int(W_remap / 2)], warped1[:, W - int(W_remap / 2):W - int(W_remap / 2) + W_lbl], warped2[:, W - int(W_remap / 2):W - int(W_remap / 2) + W_lbl], (W, H), int(W_remap / 2) - W_lbl, W - int(W_remap / 2)) labeled = warped1 * mask + warped2 * (1 - mask)
With an error "Segmentation fault (core dumped)" Can you help with advice on where to look for a fix? thank you!
Sorry, my current focus is not image processing and I pretty much have forgotten all the algorithm details. You might need to figure out the bug yourself.