Fixed typo in MPPImageSegmenterResultHelpers
This commit is contained in:
		
							parent
							
								
									218bfc8f69
								
							
						
					
					
						commit
						b1915d8801
					
				| 
						 | 
				
			
			@ -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