Add mediapipe tasks face detector graph

PiperOrigin-RevId: 504078951
This commit is contained in:
MediaPipe Team
2023-01-23 14:15:21 -08:00
committed by Copybara-Service
parent ccd1461add
commit 873d7181bf
8 changed files with 584 additions and 4 deletions
+8
View File
@@ -37,6 +37,8 @@ mediapipe_files(srcs = [
"coco_ssd_mobilenet_v1_1.0_quant_2018_06_29.tflite",
"coco_ssd_mobilenet_v1_1.0_quant_2018_06_29_with_dummy_score_calibration.tflite",
"deeplabv3.tflite",
"face_detection_full_range.tflite",
"face_detection_full_range_sparse.tflite",
"fist.jpg",
"fist.png",
"hand_landmark_full.tflite",
@@ -58,6 +60,7 @@ mediapipe_files(srcs = [
"palm_detection_full.tflite",
"pointing_up.jpg",
"pointing_up_rotated.jpg",
"portrait.jpg",
"right_hands.jpg",
"right_hands_rotated.jpg",
"segmentation_golden_rotation0.png",
@@ -79,6 +82,7 @@ exports_files(
"expected_right_down_hand_landmarks.prototxt",
"expected_right_up_hand_landmarks.prototxt",
"gesture_recognizer.task",
"portrait_expected_detection.pbtxt",
],
)
@@ -106,6 +110,7 @@ filegroup(
"multi_objects_rotated.jpg",
"pointing_up.jpg",
"pointing_up_rotated.jpg",
"portrait.jpg",
"right_hands.jpg",
"right_hands_rotated.jpg",
"segmentation_golden_rotation0.png",
@@ -129,6 +134,8 @@ filegroup(
"coco_ssd_mobilenet_v1_1.0_quant_2018_06_29.tflite",
"coco_ssd_mobilenet_v1_1.0_quant_2018_06_29_with_dummy_score_calibration.tflite",
"deeplabv3.tflite",
"face_detection_full_range.tflite",
"face_detection_full_range_sparse.tflite",
"hand_landmark_full.tflite",
"hand_landmark_lite.tflite",
"hand_landmarker.task",
@@ -161,6 +168,7 @@ filegroup(
"hand_detector_result_two_hands.pbtxt",
"pointing_up_landmarks.pbtxt",
"pointing_up_rotated_landmarks.pbtxt",
"portrait_expected_detection.pbtxt",
"thumb_up_landmarks.pbtxt",
"thumb_up_rotated_landmarks.pbtxt",
"victory_landmarks.pbtxt",
@@ -0,0 +1,35 @@
# proto-file: mediapipe/framework/formats/detection.proto
# proto-message: Detection
location_data {
format: RELATIVE_BOUNDING_BOX
relative_bounding_box {
xmin: 0.35494408
ymin: 0.1059662
width: 0.28768203
height: 0.23037356
}
relative_keypoints {
x: 0.44416338
y: 0.17643969
}
relative_keypoints {
x: 0.55514044
y: 0.17731678
}
relative_keypoints {
x: 0.5046702
y: 0.2265771
}
relative_keypoints {
x: 0.50227845
y: 0.2719954
}
relative_keypoints {
x: 0.37245658
y: 0.20143759
}
relative_keypoints {
x: 0.6084143
y: 0.20409837
}
}