Xcode hangs when I call PhotogrammetrySession(input: [PhotogrammetrySample]) with objectMask set and traps on some devices, see the attached screenshot, it gets to the function and hangs. Even the folder reconstruction also doesn't complete as it can't find alignment and displays the CoreOC.PhotogrammetrySession.Error 6 and I understand to mean alignment failed. In this case it failed while object masking was ON, so RealityKit could not find enough consistent feature tracks inside the masked pixels across the image set.
What can be done or do you guys expose any functions that can be used to aid, or handle these internally, can't find any internally.
The ObjectMasks are actually segmentation masks from an ML algorithm .
To replicate try calling PhotogrammetrySession(input: [PhotogrammetrySample]) with contentsOf as captured on your documentation, even with like 30 image set or is there something I'm missing.
I will appreciate a timely response and willing to provide more clarity and informations, thank you so much for your understanding
2
0
62