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;
}
MPPImageSegmenterResult *result = [self imageSegmenterResultWithOutputPacketMap:outputPacketMap
shouldCopyMaskPacketData:NO];
MPPImageSegmenterResult *result =
[MPPImageSegmenter imageSegmenterResultWithOutputPacketMap:outputPacketMap
shouldCopyMaskPacketData:NO];
dispatch_async(_callbackQueue, ^{
[self.imageSegmenterLiveStreamDelegate imageSegmenter:self