auxiliarySemanticSegmentationHairMatte option not working

Hi,


I tried to get a portrait image that captured with an IOS 13 iphone x device as CIImage with auxiliarySemanticSegmentationHairMatte option but it always returns nil.


I also tried sample code that shared on https://developer.apple.com/videos/play/wwdc2019/225

SSM tab that show segmentations always empty.

Replies

Hello,


Could you log the photoOutput.availableSemanticSegmentationMatteTypes and report the results?


Not all cameras and configurations support the semantic segmentation mattes.

Hi,


photoOutput.availableSemanticSegmentationMatteTypes returns empty array. I tried it with iphone x and iphone xs max. Both of them have ios 13 beta 4.

Please file a bug report at https://developer.apple.com/bug-reporting/

  • Did this ever get resolved? I keep getting an empty array too for availableSemanticSegmentationMatteTypes (iPhone😆

  • Did this ever get resolved? I keep getting an empty array too for availableSemanticSegmentationMatteTypes (iPhone😆

Add a Comment

Did this ever get resolved? I keep getting an empty array too for availableSemanticSegmentationMatteTypes (iPhone😆