Closed eungyoda closed 1 year ago
pls update to lastest version, it was supported. the error you met is the jpg file miss some information. pls keep the firmware and sdk version the lastest, if still met this problem pls contact our support team for help
I checked that LinuxSDK20230424 version works well. Thanks~
I ran some tests.
Stitching doesn't operate normally when using the download file of OSC Mode.
Hi @Tianweihaihaihai , I met this problem now when using the image stitcher. Device: X3 Firmware version: v1.0.85 SDK version: LinuxSDK20231211
The output I receive (not using cuda) when running the compiled example over jpg captured using the CameraSDK:
[02-12 15:38:14.926] 2625305 2625305 I ExtraInfoAsset.cc:0263: extrainfo asset Parse: iotool read header fail
[02-12 15:38:14.926] 2625305 2625305 E OffsetUtil.cc:0872: merge offset v1v2v3 fail, offset v1 emtpy
[02-12 15:38:14.963] 2625305 2625305 E ImageAsset.cc:0859: AssetFile does not contain ExtraInfo!
[02-12 15:38:14.965] 2625305 2625305 E image_stitcherImp.cpp:0096: blender init failed
Can you please instruct on how to solve this?
hi.
In stitcher.h, there is a comment like this:
/**
but! in MediaSDK-Cpp readme.md (https://github.com/Insta360Develop/MediaSDK-Cpp#supported-fileformat) It is insp & jpg supported.
And There is also a code that checks the jpg file extension in the sample code.
like this : std::string suffix = input_paths[0].substr(input_paths[0].find_last_of(".") + 1); std::transform(suffix.begin(), suffix.end(), suffix.begin(), ::tolower); if (suffix == "insp" || suffix == "jpg") { auto image_stitcher = std::make_shared();
image_stitcher->SetInputPath(input_paths);
But the jpg stitch doesn't work.
cmake-build-debug/sticher [05-23 11:47:44.303] 13360 13360 I ExtraInfoAsset.cc:0263: extrainfo asset Parse: iotool read header fail [05-23 11:47:44.303] 13360 13360 I offset_serializer.cpp:0108: Check Offset String failed!
[05-23 11:47:44.303] 13360 13360 E OffsetUtil.cc:0872: merge offset v1v2v3 fail, offset v1 emtpy [05-23 11:47:44.486] 13360 13360 E image_stitcherImp.cpp:0062: blender init failed
In OSC mode, insp cannot be taken, and jpg cannot be stitched. What should I do?