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