46 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
| # Copyright 2019 The MediaPipe Authors.
 | |
| #
 | |
| # Licensed under the Apache License, Version 2.0 (the "License");
 | |
| # you may not use this file except in compliance with the License.
 | |
| # You may obtain a copy of the License at
 | |
| #
 | |
| #      http://www.apache.org/licenses/LICENSE-2.0
 | |
| #
 | |
| # Unless required by applicable law or agreed to in writing, software
 | |
| # distributed under the License is distributed on an "AS IS" BASIS,
 | |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | |
| # See the License for the specific language governing permissions and
 | |
| # limitations under the License.
 | |
| 
 | |
| load("//mediapipe/framework/port:build_config.bzl", "mediapipe_proto_library")
 | |
| 
 | |
| licenses(["notice"])
 | |
| 
 | |
| package(default_visibility = ["//visibility:public"])
 | |
| 
 | |
| cc_library(
 | |
|     name = "landmarks_to_mask_calculator",
 | |
|     srcs = ["landmarks_to_mask_calculator.cc"],
 | |
|     hdrs = ["landmarks_to_mask_calculator.h"],
 | |
|     visibility = ["//visibility:public"],
 | |
|     deps = [
 | |
|         "//mediapipe/framework:calculator_framework",
 | |
|         "//mediapipe/framework:calculator_options_cc_proto",
 | |
|         "//mediapipe/framework/formats:landmark_cc_proto",
 | |
|         "//mediapipe/framework/formats:location_data_cc_proto",
 | |
|         "//mediapipe/framework/port:ret_check",
 | |
|         "//mediapipe/util:color_cc_proto",
 | |
|         "//mediapipe/util:render_data_cc_proto",
 | |
|         "@com_google_absl//absl/memory",
 | |
|         "@com_google_absl//absl/strings",
 | |
|         "//mediapipe/framework/formats:image_format_cc_proto",
 | |
|         "//mediapipe/framework/formats:image_frame",
 | |
|         "//mediapipe/framework/formats:image_frame_opencv",
 | |
|          "//mediapipe/framework/port:opencv_core",
 | |
|         "//mediapipe/framework/port:opencv_imgproc",
 | |
|         "//mediapipe/framework/port:opencv_highgui",
 | |
|         "//mediapipe/framework/port:vector",
 | |
|     ],
 | |
|     alwayslink = 1,
 | |
| )
 |