internal change.
PiperOrigin-RevId: 551645248
This commit is contained in:
		
							parent
							
								
									4d5c6bd33a
								
							
						
					
					
						commit
						5c007558f8
					
				| 
						 | 
					@ -119,16 +119,13 @@ def draw_detection(
 | 
				
			||||||
def draw_landmarks(
 | 
					def draw_landmarks(
 | 
				
			||||||
    image: np.ndarray,
 | 
					    image: np.ndarray,
 | 
				
			||||||
    landmark_list: landmark_pb2.NormalizedLandmarkList,
 | 
					    landmark_list: landmark_pb2.NormalizedLandmarkList,
 | 
				
			||||||
    connections: Optional[
 | 
					    connections: Optional[List[Tuple[int, int]]] = None,
 | 
				
			||||||
        Union[frozenset[Tuple[int, int]], List[Tuple[int, int]]]
 | 
					    landmark_drawing_spec: Union[DrawingSpec,
 | 
				
			||||||
    ] = None,
 | 
					                                 Mapping[int, DrawingSpec]] = DrawingSpec(
 | 
				
			||||||
    landmark_drawing_spec: Optional[Union[
 | 
					                                     color=RED_COLOR),
 | 
				
			||||||
        DrawingSpec, Mapping[int, DrawingSpec]
 | 
					    connection_drawing_spec: Union[DrawingSpec,
 | 
				
			||||||
    ]] = None,
 | 
					                                   Mapping[Tuple[int, int],
 | 
				
			||||||
    connection_drawing_spec: Union[
 | 
					                                           DrawingSpec]] = DrawingSpec()):
 | 
				
			||||||
        DrawingSpec, Mapping[Tuple[int, int], DrawingSpec]
 | 
					 | 
				
			||||||
    ] = DrawingSpec(),
 | 
					 | 
				
			||||||
):
 | 
					 | 
				
			||||||
  """Draws the landmarks and the connections on the image.
 | 
					  """Draws the landmarks and the connections on the image.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  Args:
 | 
					  Args:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user