Fixed typo in iOS image segmenter result helper
This commit is contained in:
commit
03f82ef338
|
@ -52,7 +52,7 @@ using ::mediapipe::Packet;
|
|||
}
|
||||
|
||||
if (categoryMaskPacket.ValidateAsType<Image>().ok()) {
|
||||
const Image &cppCategoryMask = confidenceMasksPacket.Get<Image>();
|
||||
const Image &cppCategoryMask = categoryMaskPacket.Get<Image>();
|
||||
categoryMask = [[MPPMask alloc]
|
||||
initWithUInt8Data:(UInt8 *)cppCategoryMask.GetImageFrameSharedPtr().get()->PixelData()
|
||||
width:cppCategoryMask.width()
|
||||
|
|
Loading…
Reference in New Issue
Block a user