This commit is contained in:
2026-05-06 19:47:31 +07:00
parent 94d8682530
commit 12dbb7731b
9963 changed files with 2747894 additions and 0 deletions
@@ -0,0 +1,27 @@
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: mediapipe/modules/face_geometry/effect_renderer_calculator.proto
# Protobuf Python Version: 4.25.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from mediapipe.framework import calculator_options_pb2 as mediapipe_dot_framework_dot_calculator__options__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n@mediapipe/modules/face_geometry/effect_renderer_calculator.proto\x12\tmediapipe\x1a,mediapipe/framework/calculator_options.proto\"\xce\x01\n+FaceGeometryEffectRendererCalculatorOptions\x12\x1b\n\x13\x65\x66\x66\x65\x63t_texture_path\x18\x01 \x01(\t\x12\x1b\n\x13\x65\x66\x66\x65\x63t_mesh_3d_path\x18\x02 \x01(\t2e\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\xf0\xd9\xac\x9a\x01 \x01(\x0b\x32\x36.mediapipe.FaceGeometryEffectRendererCalculatorOptions')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'mediapipe.modules.face_geometry.effect_renderer_calculator_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
_globals['_FACEGEOMETRYEFFECTRENDERERCALCULATOROPTIONS']._serialized_start=126
_globals['_FACEGEOMETRYEFFECTRENDERERCALCULATOROPTIONS']._serialized_end=332
# @@protoc_insertion_point(module_scope)
@@ -0,0 +1,28 @@
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: mediapipe/modules/face_geometry/env_generator_calculator.proto
# Protobuf Python Version: 4.25.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from mediapipe.framework import calculator_options_pb2 as mediapipe_dot_framework_dot_calculator__options__pb2
from mediapipe.modules.face_geometry.protos import environment_pb2 as mediapipe_dot_modules_dot_face__geometry_dot_protos_dot_environment__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n>mediapipe/modules/face_geometry/env_generator_calculator.proto\x12\tmediapipe\x1a,mediapipe/framework/calculator_options.proto\x1a\x38mediapipe/modules/face_geometry/protos/environment.proto\"\xcb\x01\n)FaceGeometryEnvGeneratorCalculatorOptions\x12\x39\n\x0b\x65nvironment\x18\x01 \x01(\x0b\x32$.mediapipe.face_geometry.Environment2c\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\xf2\xd9\xac\x9a\x01 \x01(\x0b\x32\x34.mediapipe.FaceGeometryEnvGeneratorCalculatorOptions')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'mediapipe.modules.face_geometry.env_generator_calculator_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
_globals['_FACEGEOMETRYENVGENERATORCALCULATOROPTIONS']._serialized_start=182
_globals['_FACEGEOMETRYENVGENERATORCALCULATOROPTIONS']._serialized_end=385
# @@protoc_insertion_point(module_scope)
@@ -0,0 +1,27 @@
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: mediapipe/modules/face_geometry/geometry_pipeline_calculator.proto
# Protobuf Python Version: 4.25.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from mediapipe.framework import calculator_options_pb2 as mediapipe_dot_framework_dot_calculator__options__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nBmediapipe/modules/face_geometry/geometry_pipeline_calculator.proto\x12\tmediapipe\x1a,mediapipe/framework/calculator_options.proto\"\x9f\x01\n%FaceGeometryPipelineCalculatorOptions\x12\x15\n\rmetadata_path\x18\x01 \x01(\t2_\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\xf4\xd9\xac\x9a\x01 \x01(\x0b\x32\x30.mediapipe.FaceGeometryPipelineCalculatorOptions')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'mediapipe.modules.face_geometry.geometry_pipeline_calculator_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
_globals['_FACEGEOMETRYPIPELINECALCULATOROPTIONS']._serialized_start=128
_globals['_FACEGEOMETRYPIPELINECALCULATOROPTIONS']._serialized_end=287
# @@protoc_insertion_point(module_scope)
@@ -0,0 +1,31 @@
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: mediapipe/modules/face_geometry/protos/environment.proto
# Protobuf Python Version: 4.25.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8mediapipe/modules/face_geometry/protos/environment.proto\x12\x17mediapipe.face_geometry\"L\n\x11PerspectiveCamera\x12\x1c\n\x14vertical_fov_degrees\x18\x01 \x01(\x02\x12\x0c\n\x04near\x18\x02 \x01(\x02\x12\x0b\n\x03\x66\x61r\x18\x03 \x01(\x02\"\xa2\x01\n\x0b\x45nvironment\x12K\n\x15origin_point_location\x18\x01 \x01(\x0e\x32,.mediapipe.face_geometry.OriginPointLocation\x12\x46\n\x12perspective_camera\x18\x02 \x01(\x0b\x32*.mediapipe.face_geometry.PerspectiveCamera*B\n\x13OriginPointLocation\x12\x16\n\x12\x42OTTOM_LEFT_CORNER\x10\x01\x12\x13\n\x0fTOP_LEFT_CORNER\x10\x02\x42=\n)com.google.mediapipe.modules.facegeometryB\x10\x45nvironmentProto')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'mediapipe.modules.face_geometry.protos.environment_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
_globals['DESCRIPTOR']._options = None
_globals['DESCRIPTOR']._serialized_options = b'\n)com.google.mediapipe.modules.facegeometryB\020EnvironmentProto'
_globals['_ORIGINPOINTLOCATION']._serialized_start=328
_globals['_ORIGINPOINTLOCATION']._serialized_end=394
_globals['_PERSPECTIVECAMERA']._serialized_start=85
_globals['_PERSPECTIVECAMERA']._serialized_end=161
_globals['_ENVIRONMENT']._serialized_start=164
_globals['_ENVIRONMENT']._serialized_end=326
# @@protoc_insertion_point(module_scope)
@@ -0,0 +1,29 @@
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: mediapipe/modules/face_geometry/protos/face_geometry.proto
# Protobuf Python Version: 4.25.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from mediapipe.framework.formats import matrix_data_pb2 as mediapipe_dot_framework_dot_formats_dot_matrix__data__pb2
from mediapipe.modules.face_geometry.protos import mesh_3d_pb2 as mediapipe_dot_modules_dot_face__geometry_dot_protos_dot_mesh__3d__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n:mediapipe/modules/face_geometry/protos/face_geometry.proto\x12\x17mediapipe.face_geometry\x1a-mediapipe/framework/formats/matrix_data.proto\x1a\x34mediapipe/modules/face_geometry/protos/mesh_3d.proto\"s\n\x0c\x46\x61\x63\x65Geometry\x12-\n\x04mesh\x18\x01 \x01(\x0b\x32\x1f.mediapipe.face_geometry.Mesh3d\x12\x34\n\x15pose_transform_matrix\x18\x02 \x01(\x0b\x32\x15.mediapipe.MatrixDataB>\n)com.google.mediapipe.modules.facegeometryB\x11\x46\x61\x63\x65GeometryProto')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'mediapipe.modules.face_geometry.protos.face_geometry_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
_globals['DESCRIPTOR']._options = None
_globals['DESCRIPTOR']._serialized_options = b'\n)com.google.mediapipe.modules.facegeometryB\021FaceGeometryProto'
_globals['_FACEGEOMETRY']._serialized_start=188
_globals['_FACEGEOMETRY']._serialized_end=303
# @@protoc_insertion_point(module_scope)
@@ -0,0 +1,32 @@
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: mediapipe/modules/face_geometry/protos/geometry_pipeline_metadata.proto
# Protobuf Python Version: 4.25.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from mediapipe.modules.face_geometry.protos import mesh_3d_pb2 as mediapipe_dot_modules_dot_face__geometry_dot_protos_dot_mesh__3d__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nGmediapipe/modules/face_geometry/protos/geometry_pipeline_metadata.proto\x12\x17mediapipe.face_geometry\x1a\x34mediapipe/modules/face_geometry/protos/mesh_3d.proto\":\n\x13WeightedLandmarkRef\x12\x13\n\x0blandmark_id\x18\x01 \x01(\r\x12\x0e\n\x06weight\x18\x02 \x01(\x02\"\xe0\x01\n\x18GeometryPipelineMetadata\x12:\n\x0cinput_source\x18\x03 \x01(\x0e\x32$.mediapipe.face_geometry.InputSource\x12\x37\n\x0e\x63\x61nonical_mesh\x18\x01 \x01(\x0b\x32\x1f.mediapipe.face_geometry.Mesh3d\x12O\n\x19procrustes_landmark_basis\x18\x02 \x03(\x0b\x32,.mediapipe.face_geometry.WeightedLandmarkRef*S\n\x0bInputSource\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\x1a\n\x16\x46\x41\x43\x45_LANDMARK_PIPELINE\x10\x01\x12\x1b\n\x17\x46\x41\x43\x45_DETECTION_PIPELINE\x10\x02\x42J\n)com.google.mediapipe.modules.facegeometryB\x1dGeometryPipelineMetadataProto')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'mediapipe.modules.face_geometry.protos.geometry_pipeline_metadata_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
_globals['DESCRIPTOR']._options = None
_globals['DESCRIPTOR']._serialized_options = b'\n)com.google.mediapipe.modules.facegeometryB\035GeometryPipelineMetadataProto'
_globals['_INPUTSOURCE']._serialized_start=441
_globals['_INPUTSOURCE']._serialized_end=524
_globals['_WEIGHTEDLANDMARKREF']._serialized_start=154
_globals['_WEIGHTEDLANDMARKREF']._serialized_end=212
_globals['_GEOMETRYPIPELINEMETADATA']._serialized_start=215
_globals['_GEOMETRYPIPELINEMETADATA']._serialized_end=439
# @@protoc_insertion_point(module_scope)
@@ -0,0 +1,31 @@
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: mediapipe/modules/face_geometry/protos/mesh_3d.proto
# Protobuf Python Version: 4.25.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4mediapipe/modules/face_geometry/protos/mesh_3d.proto\x12\x17mediapipe.face_geometry\"\xf9\x01\n\x06Mesh3d\x12?\n\x0bvertex_type\x18\x01 \x01(\x0e\x32*.mediapipe.face_geometry.Mesh3d.VertexType\x12\x45\n\x0eprimitive_type\x18\x02 \x01(\x0e\x32-.mediapipe.face_geometry.Mesh3d.PrimitiveType\x12\x15\n\rvertex_buffer\x18\x03 \x03(\x02\x12\x14\n\x0cindex_buffer\x18\x04 \x03(\r\"\x1b\n\nVertexType\x12\r\n\tVERTEX_PT\x10\x00\"\x1d\n\rPrimitiveType\x12\x0c\n\x08TRIANGLE\x10\x00\x42\x38\n)com.google.mediapipe.modules.facegeometryB\x0bMesh3dProto')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'mediapipe.modules.face_geometry.protos.mesh_3d_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
_globals['DESCRIPTOR']._options = None
_globals['DESCRIPTOR']._serialized_options = b'\n)com.google.mediapipe.modules.facegeometryB\013Mesh3dProto'
_globals['_MESH3D']._serialized_start=82
_globals['_MESH3D']._serialized_end=331
_globals['_MESH3D_VERTEXTYPE']._serialized_start=273
_globals['_MESH3D_VERTEXTYPE']._serialized_end=300
_globals['_MESH3D_PRIMITIVETYPE']._serialized_start=302
_globals['_MESH3D_PRIMITIVETYPE']._serialized_end=331
# @@protoc_insertion_point(module_scope)