Fixed method call in MPPImageSegmenter.mm

This commit is contained in:
Prianka Liz Kariat 2023-08-31 18:04:09 +05:30
parent 9f01540191
commit d16cb72438

View File

@ -250,8 +250,9 @@ using ::mediapipe::tasks::core::PacketsCallback;
return; return;
} }
MPPImageSegmenterResult *result = [self imageSegmenterResultWithOutputPacketMap:outputPacketMap MPPImageSegmenterResult *result =
shouldCopyMaskPacketData:NO]; [MPPImageSegmenter imageSegmenterResultWithOutputPacketMap:outputPacketMap
shouldCopyMaskPacketData:NO];
dispatch_async(_callbackQueue, ^{ dispatch_async(_callbackQueue, ^{
[self.imageSegmenterLiveStreamDelegate imageSegmenter:self [self.imageSegmenterLiveStreamDelegate imageSegmenter:self