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,7 +250,8 @@ using ::mediapipe::tasks::core::PacketsCallback;
return; return;
} }
MPPImageSegmenterResult *result = [self imageSegmenterResultWithOutputPacketMap:outputPacketMap MPPImageSegmenterResult *result =
[MPPImageSegmenter imageSegmenterResultWithOutputPacketMap:outputPacketMap
shouldCopyMaskPacketData:NO]; shouldCopyMaskPacketData:NO];
dispatch_async(_callbackQueue, ^{ dispatch_async(_callbackQueue, ^{