remove annotations from holistic tracking
This commit is contained in:
		
							parent
							
								
									839094943a
								
							
						
					
					
						commit
						b85d991cdc
					
				| 
						 | 
				
			
			@ -26,7 +26,7 @@ output_stream: "right_hand_landmarks"
 | 
			
		|||
node {
 | 
			
		||||
  calculator: "FlowLimiterCalculator"
 | 
			
		||||
  input_stream: "input_video"
 | 
			
		||||
  input_stream: "FINISHED:output_video"
 | 
			
		||||
  input_stream: "FINISHED:pose_landmarks"
 | 
			
		||||
  input_stream_info: {
 | 
			
		||||
    tag_index: "FINISHED"
 | 
			
		||||
    back_edge: true
 | 
			
		||||
| 
						 | 
				
			
			@ -52,31 +52,32 @@ node {
 | 
			
		|||
  output_stream: "FACE_LANDMARKS:face_landmarks"
 | 
			
		||||
  output_stream: "LEFT_HAND_LANDMARKS:left_hand_landmarks"
 | 
			
		||||
  output_stream: "RIGHT_HAND_LANDMARKS:right_hand_landmarks"
 | 
			
		||||
  # output_stream: "SEGMENTATION_MASK:segmentation_mask"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
# Gets image size.
 | 
			
		||||
node {
 | 
			
		||||
  calculator: "ImagePropertiesCalculator"
 | 
			
		||||
  input_stream: "IMAGE:throttled_input_video"
 | 
			
		||||
  output_stream: "SIZE:image_size"
 | 
			
		||||
}
 | 
			
		||||
# node {
 | 
			
		||||
#   calculator: "ImagePropertiesCalculator"
 | 
			
		||||
#   input_stream: "IMAGE:throttled_input_video"
 | 
			
		||||
#   output_stream: "SIZE:image_size"
 | 
			
		||||
# }
 | 
			
		||||
 | 
			
		||||
# Converts pose, hands and face landmarks to a render data vector.
 | 
			
		||||
node {
 | 
			
		||||
  calculator: "HolisticTrackingToRenderData"
 | 
			
		||||
  input_stream: "IMAGE_SIZE:image_size"
 | 
			
		||||
  input_stream: "POSE_LANDMARKS:pose_landmarks"
 | 
			
		||||
  input_stream: "POSE_ROI:pose_roi"
 | 
			
		||||
  input_stream: "LEFT_HAND_LANDMARKS:left_hand_landmarks"
 | 
			
		||||
  input_stream: "RIGHT_HAND_LANDMARKS:right_hand_landmarks"
 | 
			
		||||
  input_stream: "FACE_LANDMARKS:face_landmarks"
 | 
			
		||||
  output_stream: "RENDER_DATA_VECTOR:render_data_vector"
 | 
			
		||||
}
 | 
			
		||||
# node {
 | 
			
		||||
#   calculator: "HolisticTrackingToRenderData"
 | 
			
		||||
#   input_stream: "IMAGE_SIZE:image_size"
 | 
			
		||||
#   input_stream: "POSE_LANDMARKS:pose_landmarks"
 | 
			
		||||
#   input_stream: "POSE_ROI:pose_roi"
 | 
			
		||||
#   input_stream: "LEFT_HAND_LANDMARKS:left_hand_landmarks"
 | 
			
		||||
#   input_stream: "RIGHT_HAND_LANDMARKS:right_hand_landmarks"
 | 
			
		||||
#   input_stream: "FACE_LANDMARKS:face_landmarks"
 | 
			
		||||
#   output_stream: "RENDER_DATA_VECTOR:render_data_vector"
 | 
			
		||||
# }
 | 
			
		||||
 | 
			
		||||
# Draws annotations and overlays them on top of the input images.
 | 
			
		||||
node {
 | 
			
		||||
  calculator: "AnnotationOverlayCalculator"
 | 
			
		||||
  input_stream: "IMAGE:throttled_input_video"
 | 
			
		||||
  input_stream: "VECTOR:render_data_vector"
 | 
			
		||||
  output_stream: "IMAGE:output_video"
 | 
			
		||||
}
 | 
			
		||||
# node {
 | 
			
		||||
#   calculator: "AnnotationOverlayCalculator"
 | 
			
		||||
#   input_stream: "IMAGE:throttled_input_video"
 | 
			
		||||
#   input_stream: "VECTOR:render_data_vector"
 | 
			
		||||
#   output_stream: "IMAGE:output_video"
 | 
			
		||||
# }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user