Models
Gemini
About
Docs
API reference
Pricing
Gemma
About
Docs
Solutions
Build with Gemini
Gemini API
Google AI Studio
Customize Gemma open models
Gemma open models
Multi-framework with Keras
Fine-tune in Colab
Run on-device
Google AI Edge
Gemini Nano on Android
Chrome built-in web APIs
Build responsibly
Responsible GenAI Toolkit
Secure AI Framework
Code assistance
Android Studio
Chrome DevTools
Colab
Firebase
Google Cloud
JetBrains
Jules
Project IDX
VS Code
Showcase
Gemini Showcase
Gemini API Developer Competition
Community
Google AI Forum
Gemini for Research
/
English
Deutsch
Español – América Latina
Français
Indonesia
Italiano
Polski
Português – Brasil
Shqip
Tiếng Việt
Türkçe
Русский
עברית
العربيّة
فارسی
हिंदी
বাংলা
ภาษาไทย
中文 – 简体
中文 – 繁體
日本語
한국어
Sign in
Google AI Edge
MediaPipe
MediaPipe Solutions
MediaPipe Framework
LiteRT
Solutions
Framework
Model Explorer
API Reference
Models
More
Solutions
More
Google AI Edge
MediaPipe
More
LiteRT
Solutions
Framework
Model Explorer
API Reference
Code assistance
More
Showcase
More
Community
More
Overview
MediaPipe
Tasks
Python
mp
Overview
CalculatorGraph
GraphInputStreamAddMode
Image
ImageFormat
ImageFrame
Matrix
Packet
Timestamp
ValidatedGraphConfig
mp.calculators
Overview
core
Overview
constant_side_packet_calculator_pb2
Overview
ConstantSidePacketCalculatorOptions
ConstantSidePacketCalculatorOptions.ConstantSidePacket
mediapipe_dot_framework_dot_calculator__options__pb2
Overview
CalculatorOptions
mediapipe_dot_framework_dot_calculator__pb2
Overview
CalculatorGraphConfig
CalculatorGraphConfig.Node
ExecutorConfig
InputCollection
InputCollectionSet
InputStreamInfo
ProfilerConfig
mediapipe_dot_framework_dot_mediapipe__options__pb2
Overview
MediaPipeOptions
mediapipe_dot_framework_dot_packet__factory__pb2
Overview
PacketFactoryConfig
PacketFactoryOptions
PacketManagerConfig
mediapipe_dot_framework_dot_packet__generator__pb2
Overview
PacketGeneratorConfig
PacketGeneratorOptions
mediapipe_dot_framework_dot_status__handler__pb2
Overview
StatusHandlerConfig
mediapipe_dot_framework_dot_stream__handler__pb2
Overview
InputStreamHandlerConfig
OutputStreamHandlerConfig
mediapipe_dot_framework_dot_formats_dot_classification__pb2
Overview
Classification
ClassificationList
ClassificationListCollection
mediapipe_dot_framework_dot_formats_dot_landmark__pb2
Overview
Landmark
LandmarkList
LandmarkListCollection
NormalizedLandmark
NormalizedLandmarkList
NormalizedLandmarkListCollection
mediapipe_dot_framework_dot_formats_dot_matrix__data__pb2
Overview
MatrixData
mediapipe_dot_framework_dot_formats_dot_time__series__header__pb2
Overview
MultiStreamTimeSeriesHeader
TimeSeriesHeader
flow_limiter_calculator_pb2
Overview
FlowLimiterCalculatorOptions
gate_calculator_pb2
Overview
GateCalculatorOptions
split_vector_calculator_pb2
Overview
Range
SplitVectorCalculatorOptions
image
Overview
image_transformation_calculator_pb2
Overview
ImageTransformationCalculatorOptions
ImageTransformationCalculatorOptions.Color
mediapipe_dot_gpu_dot_scale__mode__pb2
Overview
ScaleMode
rotation_mode_pb2
Overview
RotationMode
warp_affine_calculator_pb2
Overview
WarpAffineCalculatorOptions
mediapipe_dot_gpu_dot_gpu__origin__pb2
Overview
GpuOrigin
tensor
Overview
image_to_tensor_calculator_pb2
Overview
ImageToTensorCalculatorOptions
ImageToTensorCalculatorOptions.FloatRange
ImageToTensorCalculatorOptions.IntRange
ImageToTensorCalculatorOptions.UIntRange
inference_calculator_pb2
Overview
InferenceCalculatorOptions
InferenceCalculatorOptions.Delegate
InferenceCalculatorOptions.Delegate.Gpu
InferenceCalculatorOptions.Delegate.Nnapi
InferenceCalculatorOptions.Delegate.TfLite
InferenceCalculatorOptions.Delegate.Xnnpack
tensors_to_classification_calculator_pb2
Overview
TensorsToClassificationCalculatorOptions
TensorsToClassificationCalculatorOptions.LabelItemsEntry
TensorsToClassificationCalculatorOptions.LabelMap
TensorsToClassificationCalculatorOptions.LabelMap.Entry
mediapipe_dot_util_dot_label__map__pb2
Overview
LabelMapItem
tensors_to_detections_calculator_pb2
Overview
TensorsToDetectionsCalculatorOptions
TensorsToDetectionsCalculatorOptions.BoxBoundariesIndices
TensorsToDetectionsCalculatorOptions.TensorMapping
tensors_to_floats_calculator_pb2
Overview
TensorsToFloatsCalculatorOptions
tensors_to_landmarks_calculator_pb2
Overview
TensorsToLandmarksCalculatorOptions
tensors_to_segmentation_calculator_pb2
Overview
TensorsToSegmentationCalculatorOptions
tflite
Overview
ssd_anchors_calculator_pb2
Overview
SsdAnchorsCalculatorOptions
mediapipe_dot_framework_dot_formats_dot_object__detection_dot_anchor__pb2
Overview
Anchor
util
Overview
association_calculator_pb2
Overview
AssociationCalculatorOptions
collection_has_min_size_calculator_pb2
Overview
CollectionHasMinSizeCalculatorOptions
detection_label_id_to_text_calculator_pb2
Overview
DetectionLabelIdToTextCalculatorOptions
DetectionLabelIdToTextCalculatorOptions.LabelItemsEntry
detections_to_rects_calculator_pb2
Overview
DetectionsToRectsCalculatorOptions
landmark_projection_calculator_pb2
Overview
LandmarkProjectionCalculatorOptions
landmarks_refinement_calculator_pb2
Overview
LandmarksRefinementCalculatorOptions
LandmarksRefinementCalculatorOptions.Refinement
LandmarksRefinementCalculatorOptions.ZRefinement
LandmarksRefinementCalculatorOptions.ZRefinementAssignAverage
LandmarksRefinementCalculatorOptions.ZRefinementCopy
LandmarksRefinementCalculatorOptions.ZRefinementNone
landmarks_smoothing_calculator_pb2
Overview
LandmarksSmoothingCalculatorOptions
LandmarksSmoothingCalculatorOptions.NoFilter
LandmarksSmoothingCalculatorOptions.OneEuroFilter
LandmarksSmoothingCalculatorOptions.VelocityFilter
local_file_contents_calculator_pb2
Overview
LocalFileContentsCalculatorOptions
logic_calculator_pb2
Overview
LogicCalculatorOptions
non_max_suppression_calculator_pb2
Overview
NonMaxSuppressionCalculatorOptions
rect_transformation_calculator_pb2
Overview
RectTransformationCalculatorOptions
thresholding_calculator_pb2
Overview
ThresholdingCalculatorOptions
visibility_smoothing_calculator_pb2
Overview
VisibilitySmoothingCalculatorOptions
VisibilitySmoothingCalculatorOptions.LowPassFilter
VisibilitySmoothingCalculatorOptions.NoFilter
mp.model_ckpt_util
Overview
ConvertHfTokenizer
GenerateCpuTfLite
GenerateGpuTfLite
mp.packet_creator
Overview
create_bool
create_bool_vector
create_double
create_float
create_float_array
create_float_vector
create_image
create_image_frame
create_image_vector
create_int
create_int16
create_int32
create_int64
create_int8
create_int_array
create_int_vector
create_matrix
create_packet_vector
create_proto
create_proto_vector
create_string
create_string_to_packet_map
create_string_vector
create_uint16
create_uint32
create_uint64
create_uint8
image
Overview
image_frame
Overview
packet
Overview
mp.packet_getter
Overview
get_bool
get_bool_list
get_bytes
get_float
get_float_list
get_image
get_image_frame
get_image_list
get_int
get_int_list
get_matrix
get_packet_list
get_proto
get_proto_list
get_str
get_str_list
get_str_to_packet_dict
get_uint
mp.resource_util
Overview
set_resource_dir
mp.tasks
Overview
BaseOptions
BaseOptions.Delegate
audio
Overview
AudioClassifier
AudioClassifierOptions
AudioClassifierResult
AudioEmbedder
AudioEmbedderOptions
AudioEmbedderResult
RunningMode
components
Overview
containers
Overview
AudioData
AudioDataFormat
BoundingBox
Category
Classifications
Detection
Embedding
Landmark
LandmarksDetectionResult
NormalizedLandmark
NormalizedRect
Rect
keypoint
Overview
NormalizedKeypoint
location_data_pb2
Overview
LocationData
LocationData.BinaryMask
LocationData.BoundingBox
LocationData.RelativeBoundingBox
LocationData.RelativeKeypoint
mediapipe_dot_framework_dot_formats_dot_annotation_dot_rasterization__pb2
Overview
Rasterization
Rasterization.Interval
processors
Overview
ClassifierOptions
utils
Overview
cosine_similarity
Overview
cosine_similarity
embedding_result
Overview
embeddings_pb2
Overview
Embedding
EmbeddingResult
FloatEmbedding
QuantizedEmbedding
genai
Overview
text
Overview
LanguageDetector
LanguageDetectorOptions
LanguageDetectorResult
LanguageDetectorResult.Detection
TextClassifier
TextClassifierOptions
TextEmbedder
TextEmbedderOptions
core
Overview
base_text_task_api
Overview
task_runner
Overview
TaskRunner
vision
Overview
FaceAligner
FaceAlignerOptions
FaceDetector
FaceDetectorOptions
FaceDetectorResult
FaceLandmarker
FaceLandmarkerOptions
FaceLandmarkerResult
FaceLandmarksConnections
FaceLandmarksConnections.Connection
FaceStylizer
FaceStylizerOptions
GestureRecognizer
GestureRecognizerOptions
GestureRecognizerResult
HandLandmarker
HandLandmarkerOptions
HandLandmarkerResult
HandLandmarksConnections
HandLandmarksConnections.Connection
HolisticLandmarker
HolisticLandmarkerOptions
HolisticLandmarkerResult
ImageClassifier
ImageClassifierOptions
ImageEmbedder
ImageEmbedderOptions
ImageSegmenter
ImageSegmenterOptions
InteractiveSegmenter
InteractiveSegmenterOptions
InteractiveSegmenterRegionOfInterest
InteractiveSegmenterRegionOfInterest.Format
ObjectDetector
ObjectDetectorOptions
PoseLandmarker
PoseLandmarkerOptions
PoseLandmarkerResult
PoseLandmarksConnections
PoseLandmarksConnections.Connection
RunningMode
holistic_landmarker
Overview
base_options_module
Overview
acceleration_pb2
Overview
Acceleration
base_options_pb2
Overview
BaseOptions
external_file_pb2
Overview
ExternalFile
FileDescriptorMeta
FilePointerMeta
base_vision_task_api
Overview
math
Overview
acos
acosh
asin
asinh
atan
atan2
atanh
ceil
comb
copysign
cos
cosh
degrees
dist
erf
erfc
exp
expm1
fabs
factorial
floor
fmod
frexp
fsum
gamma
gcd
hypot
isclose
isfinite
isinf
isnan
isqrt
lcm
ldexp
lgamma
log
log10
log1p
log2
modf
nextafter
perm
pow
prod
radians
remainder
sin
sinh
sqrt
tan
tanh
trunc
ulp
rect_module
Overview
rect_pb2
Overview
NormalizedRect
Rect
category_module
Overview
holistic_landmarker_graph_options_pb2
Overview
HolisticLandmarkerGraphOptions
mediapipe_dot_tasks_dot_cc_dot_vision_dot_face__detector_dot_proto_dot_face__detector__graph__options__pb2
Overview
FaceDetectorGraphOptions
mediapipe_dot_tasks_dot_cc_dot_vision_dot_face__landmarker_dot_proto_dot_face__landmarks__detector__graph__options__pb2
Overview
FaceLandmarksDetectorGraphOptions
mediapipe_dot_tasks_dot_cc_dot_vision_dot_face__landmarker_dot_proto_dot_face__blendshapes__graph__options__pb2
Overview
FaceBlendshapesGraphOptions
mediapipe_dot_tasks_dot_cc_dot_vision_dot_hand__landmarker_dot_proto_dot_hand__landmarks__detector__graph__options__pb2
Overview
HandLandmarksDetectorGraphOptions
mediapipe_dot_tasks_dot_cc_dot_vision_dot_hand__landmarker_dot_proto_dot_hand__roi__refinement__graph__options__pb2
Overview
HandRoiRefinementGraphOptions
mediapipe_dot_tasks_dot_cc_dot_vision_dot_pose__detector_dot_proto_dot_pose__detector__graph__options__pb2
Overview
PoseDetectorGraphOptions
mediapipe_dot_tasks_dot_cc_dot_vision_dot_pose__landmarker_dot_proto_dot_pose__landmarks__detector__graph__options__pb2
Overview
PoseLandmarksDetectorGraphOptions
holistic_result_pb2
Overview
HolisticResult
image_processing_options_module
Overview
ImageProcessingOptions
landmark_module
Overview
running_mode_module
Overview
task_info_module
Overview
Java
com.google.mediapipe.framework.image
Overview
BitmapExtractor
BitmapImageBuilder
ByteBufferExtractor
ByteBufferImageBuilder
MPImage
Overview
MPImageFormat
StorageType
MPImageConsumer
MPImageProducer
MPImageProperties
MediaImageBuilder
MediaImageExtractor
com.google.mediapipe.tasks.audio.audioclassifier
Overview
AudioClassifier
Overview
AudioClassifier.AudioClassifierOptions
Overview
Builder
AudioClassifierResult
com.google.mediapipe.tasks.audio.audioembedder
Overview
AudioEmbedder
Overview
AudioEmbedder.AudioEmbedderOptions
Overview
Builder
AudioEmbedderResult
com.google.mediapipe.tasks.audio.core
Overview
BaseAudioTaskApi
RunningMode
com.google.mediapipe.tasks.components.containers
Overview
AudioData
Overview
AudioData.AudioDataFormat
Overview
Builder
Category
ClassificationResult
Classifications
Connection
Detection
Embedding
EmbeddingResult
Landmark
NormalizedKeypoint
NormalizedLandmark
com.google.mediapipe.tasks.components.processors
Overview
ClassifierOptions
Overview
Builder
com.google.mediapipe.tasks.components.utils
Overview
CosineSimilarity
com.google.mediapipe.tasks.core
Overview
BaseOptions
Overview
Builder
BaseOptions.DelegateOptions
Overview
BaseOptions.DelegateOptions.CpuOptions
Overview
Builder
BaseOptions.DelegateOptions.GpuOptions
Overview
Builder
Delegate
ErrorListener
OutputHandler
Overview
OutputPacketConverter
ProgressListener
PureResultListener
ResultListener
ValueListener
TaskInfo
Overview
Builder
TaskOptions
TaskResult
TaskRunner
com.google.mediapipe.tasks.core.logging
Overview
TasksStatsDummyLogger
TasksStatsLogger
Overview
StatsSnapshot
com.google.mediapipe.tasks.genai.llminference
Overview
LlmInference
Overview
LlmInference.LlmInferenceOptions
Overview
Builder
com.google.mediapipe.tasks.text.languagedetector
Overview
LanguageDetector
Overview
LanguageDetector.LanguageDetectorOptions
Overview
Builder
LanguageDetectorResult
LanguagePrediction
com.google.mediapipe.tasks.text.textclassifier
Overview
TextClassifier
Overview
TextClassifier.TextClassifierOptions
Overview
Builder
TextClassifierResult
com.google.mediapipe.tasks.text.textembedder
Overview
TextEmbedder
Overview
TextEmbedder.TextEmbedderOptions
Overview
Builder
TextEmbedderResult
com.google.mediapipe.tasks.vision.core
Overview
BaseVisionTaskApi
ImageProcessingOptions
Overview
Builder
RunningMode
com.google.mediapipe.tasks.vision.facedetector
Overview
FaceDetector
Overview
FaceDetector.FaceDetectorOptions
Overview
Builder
FaceDetectorResult
com.google.mediapipe.tasks.vision.facelandmarker
Overview
FaceLandmarker
Overview
FaceLandmarker.FaceLandmarkerOptions
Overview
Builder
FaceLandmarkerResult
com.google.mediapipe.tasks.vision.facestylizer
Overview
FaceStylizer
Overview
FaceStylizer.FaceStylizerOptions
Overview
Builder
FaceStylizerResult
com.google.mediapipe.tasks.vision.gesturerecognizer
Overview
GestureRecognizer
Overview
GestureRecognizer.GestureRecognizerOptions
Overview
Builder
GestureRecognizerResult
com.google.mediapipe.tasks.vision.handlandmarker
Overview
HandLandmark
Overview
HandLandmarkType
HandLandmarker
Overview
HandLandmarker.HandLandmarkerOptions
Overview
Builder
HandLandmarkerResult
com.google.mediapipe.tasks.vision.holisticlandmarker
Overview
HolisticLandmarker
Overview
HolisticLandmarker.HolisticLandmarkerOptions
Overview
Builder
HolisticLandmarkerResult
com.google.mediapipe.tasks.vision.imageclassifier
Overview
ImageClassifier
Overview
ImageClassifier.ImageClassifierOptions
Overview
Builder
ImageClassifierResult
com.google.mediapipe.tasks.vision.imageembedder
Overview
ImageEmbedder
Overview
ImageEmbedder.ImageEmbedderOptions
Overview
Builder
ImageEmbedderResult
com.google.mediapipe.tasks.vision.imagegenerator
Overview
ImageGenerator
Overview
ImageGenerator.ConditionOptions
Overview
Builder
ConditionType
ImageGenerator.ConditionOptions.DepthConditionOptions
Overview
Builder
ImageGenerator.ConditionOptions.EdgeConditionOptions
Overview
Builder
ImageGenerator.ConditionOptions.FaceConditionOptions
Overview
Builder
ImageGenerator.ImageGeneratorOptions
Overview
Builder
ImageGeneratorResult
com.google.mediapipe.tasks.vision.imagesegmenter
Overview
ImageSegmenter
Overview
ImageSegmenter.ImageSegmenterOptions
Overview
Builder
ImageSegmenter.SegmentationOptions
Overview
Builder
ImageSegmenterResult
com.google.mediapipe.tasks.vision.interactivesegmenter
Overview
InteractiveSegmenter
Overview
InteractiveSegmenter.InteractiveSegmenterOptions
Overview
Builder
RegionOfInterest
com.google.mediapipe.tasks.vision.objectdetector
Overview
ObjectDetectionResult
ObjectDetector
Overview
ObjectDetector.ObjectDetectorOptions
Overview
Builder
ObjectDetectorResult
com.google.mediapipe.tasks.vision.poselandmarker
Overview
PoseLandmarker
Overview
PoseLandmarker.PoseLandmarkerOptions
Overview
Builder
PoseLandmarkerResult
JavaScript
@mediapipe/tasks-audio
Overview
AudioClassifier
AudioClassifierOptions
AudioClassifierResult
AudioEmbedder
AudioEmbedderOptions
AudioEmbedderResult
Category
Classifications
Embedding
FilesetResolver
@mediapipe/tasks-text
Overview
Category
Classifications
Embedding
FilesetResolver
LanguageDetector
LanguageDetectorOptions
LanguageDetectorPrediction
LanguageDetectorResult
TextClassifier
TextClassifierOptions
TextClassifierResult
TextEmbedder
TextEmbedderOptions
TextEmbedderResult
@mediapipe/tasks-vision
Overview
BoundingBox
Category
Classifications
Detection
DetectionResult
DrawingOptions
DrawingUtils
Embedding
FaceDetector
FaceDetectorOptions
FaceLandmarker
FaceLandmarkerOptions
FaceLandmarkerResult
FaceStylizer
FaceStylizerOptions
FilesetResolver
GestureRecognizer
GestureRecognizerOptions
GestureRecognizerResult
HandLandmarker
HandLandmarkerOptions
HandLandmarkerResult
HolisticLandmarker
HolisticLandmarkerOptions
HolisticLandmarkerResult
ImageClassifier
ImageClassifierOptions
ImageClassifierResult
ImageEmbedder
ImageEmbedderOptions
ImageEmbedderResult
ImageSegmenter
ImageSegmenterOptions
ImageSegmenterResult
InteractiveSegmenter
InteractiveSegmenterOptions
InteractiveSegmenterResult
Landmark
LandmarkData
Matrix
MPImage
MPMask
NormalizedLandmark
ObjectDetector
ObjectDetectorOptions
PoseLandmarker
PoseLandmarkerOptions
PoseLandmarkerResult
RegionOfInterest
Swift
MediaPipeTasksText
Classes
Overview
BaseOptions
ClassificationResult
Classifications
Embedding
EmbeddingResult
LanguageDetector
LanguageDetectorOptions
LanguageDetectorResult
LanguagePrediction
ResultCategory
TaskOptions
TaskResult
TextClassifier
TextClassifierOptions
TextClassifierResult
TextEmbedder
TextEmbedderOptions
TextEmbedderResult
Enumerations
Overview
Delegate
TasksErrorCode
MediaPipeTasksVision
Classes
Overview
BaseOptions
ClassificationResult
Classifications
ClassifierOptions
Connection
Detection
Embedding
EmbeddingResult
FaceDetector
FaceDetectorOptions
FaceDetectorResult
FaceLandmarker
FaceLandmarkerOptions
FaceLandmarkerResult
FaceStylizer
FaceStylizerOptions
FaceStylizerResult
GestureRecognizer
GestureRecognizerOptions
GestureRecognizerResult
HandLandmarker
HandLandmarkerOptions
HandLandmarkerResult
ImageClassifier
ImageClassifierOptions
ImageClassifierResult
ImageEmbedder
ImageEmbedderOptions
ImageEmbedderResult
ImageSegmenter
ImageSegmenterOptions
ImageSegmenterResult
InteractiveSegmenter
InteractiveSegmenterOptions
InteractiveSegmenterResult
Landmark
MPImage
Mask
NormalizedKeypoint
NormalizedLandmark
ObjectDetector
ObjectDetectorOptions
ObjectDetectorResult
PoseLandmarker
PoseLandmarkerOptions
PoseLandmarkerResult
RegionOfInterest
ResultCategory
TaskOptions
TaskResult
TransformMatrix
Constants
Overview
image
pixelBuffer
sampleBuffer
Enumerations
Overview
Delegate
HandLandmark
MaskDataType
RunningMode
TasksErrorCode
Protocols
Overview
FaceDetectorLiveStreamDelegate
FaceLandmarkerLiveStreamDelegate
GestureRecognizerLiveStreamDelegate
HandLandmarkerLiveStreamDelegate
ImageClassifierLiveStreamDelegate
ImageEmbedderLiveStreamDelegate
ImageSegmenterLiveStreamDelegate
ObjectDetectorLiveStreamDelegate
PoseLandmarkerLiveStreamDelegate
Type Definitions
Overview
MPImageSourceType
Functions
Overview
MPPRunningModeDisplayName(_:)
ObjectiveC
MediaPipeTasksText
Classes
Overview
MPPBaseOptions
MPPCategory
MPPClassificationResult
MPPClassifications
MPPEmbedding
MPPEmbeddingResult
MPPLanguageDetector
MPPLanguageDetectorOptions
MPPLanguageDetectorResult
MPPLanguagePrediction
MPPTaskOptions
MPPTaskResult
MPPTextClassifier
MPPTextClassifierOptions
MPPTextClassifierResult
MPPTextEmbedder
MPPTextEmbedderOptions
MPPTextEmbedderResult
Enumerations
Overview
MPPDelegate
MPPTasksErrorCode
MediaPipeTasksVision
Classes
Overview
MPPBaseOptions
MPPCategory
MPPClassificationResult
MPPClassifications
MPPClassifierOptions
MPPConnection
MPPDetection
MPPEmbedding
MPPEmbeddingResult
MPPFaceDetector
MPPFaceDetectorOptions
MPPFaceDetectorResult
MPPFaceLandmarker
MPPFaceLandmarkerOptions
MPPFaceLandmarkerResult
MPPFaceStylizer
MPPFaceStylizerOptions
MPPFaceStylizerResult
MPPGestureRecognizer
MPPGestureRecognizerOptions
MPPGestureRecognizerResult
MPPHandLandmarker
MPPHandLandmarkerOptions
MPPHandLandmarkerResult
MPPImage
MPPImageClassifier
MPPImageClassifierOptions
MPPImageClassifierResult
MPPImageEmbedder
MPPImageEmbedderOptions
MPPImageEmbedderResult
MPPImageSegmenter
MPPImageSegmenterOptions
MPPImageSegmenterResult
MPPInteractiveSegmenter
MPPInteractiveSegmenterOptions
MPPInteractiveSegmenterResult
MPPLandmark
MPPMask
MPPNormalizedKeypoint
MPPNormalizedLandmark
MPPObjectDetector
MPPObjectDetectorOptions
MPPObjectDetectorResult
MPPPoseLandmarker
MPPPoseLandmarkerOptions
MPPPoseLandmarkerResult
MPPRegionOfInterest
MPPTaskOptions
MPPTaskResult
MPPTransformMatrix
Constants
Overview
MPPImageSourceTypeImage
MPPImageSourceTypePixelBuffer
MPPImageSourceTypeSampleBuffer
Enumerations
Overview
MPPDelegate
MPPHandLandmark
MPPMaskDataType
MPPRunningMode
MPPTasksErrorCode
Protocols
Overview
MPPFaceDetectorLiveStreamDelegate
MPPFaceLandmarkerLiveStreamDelegate
MPPGestureRecognizerLiveStreamDelegate
MPPHandLandmarkerLiveStreamDelegate
MPPImageClassifierLiveStreamDelegate
MPPImageEmbedderLiveStreamDelegate
MPPImageSegmenterLiveStreamDelegate
MPPObjectDetectorLiveStreamDelegate
MPPPoseLandmarkerLiveStreamDelegate
Type Definitions
Overview
MPPImageSourceType
Functions
Overview
MPPRunningModeDisplayName
Model Maker
mediapipe_model_maker
Overview
mediapipe_model_maker.face_stylizer
Overview
Dataset
FaceStylizer
FaceStylizerOptions
HParams
ModelOptions
SupportedModels
constants
Overview
file_util
Overview
DownloadedFiles
dataset
Overview
classification_dataset
Overview
ClassificationDataset
image_module
Overview
Image
face_stylizer
Overview
image_preprocessing
Overview
Preprocessor
preprocess_for_eval
preprocess_for_train
loss_functions
Overview
FocalLoss
ImagePerceptualQualityLoss
PerceptualLoss
PerceptualLossWeight
SparseFocalLoss
VGGPerceptualLoss
face_stylizer_options
Overview
hyperparameters
Overview
hp
Overview
BaseHParams
model_options
Overview
model_spec
Overview
ModelSpec
blaze_face_stylizer_256_spec
mediapipe_model_maker.gesture_recognizer
Overview
Dataset
GestureRecognizer
GestureRecognizerOptions
HParams
HandDataPreprocessingParams
ModelOptions
mediapipe_model_maker.image_classifier
Overview
Dataset
HParams
ImageClassifier
ImageClassifierOptions
ModelOptions
ModelSpec
SupportedModels
mediapipe_model_maker.image_utils
Overview
load_image
mediapipe_model_maker.model_util
Overview
LiteRunner
WarmUp
convert_to_tflite
convert_to_tflite_from_file
get_default_callbacks
get_lite_runner
get_steps_per_epoch
load_keras_model
load_tflite_model_buffer
save_tflite
dataset
Overview
Dataset
mediapipe_model_maker.object_detector
Overview
Dataset
HParams
ModelOptions
ModelSpec
ObjectDetector
ObjectDetectorOptions
QATHParams
SupportedModels
mediapipe_model_maker.quantization
Overview
QuantizationConfig
mediapipe_model_maker.text_classifier
Overview
AverageWordEmbeddingHParams
AverageWordEmbeddingModelOptions
BertHParams
BertModelOptions
BertOptimizer
CSVParams
Dataset
SupportedBertTokenizers
SupportedModels
TextClassifier
TextClassifierOptions
model_with_tokenizer
Overview
ModelWithTokenizer
LiteRT
Python
tf.lite
Overview
Interpreter
OpsSet
Optimize
RepresentativeDataset
TFLiteConverter
TargetSpec
experimental
Overview
Analyzer
OpResolverType
QuantizationDebugOptions
QuantizationDebugger
load_delegate
authoring
Overview
compatible
tflite_support
Overview
metadata
Overview
MetadataDisplayer
MetadataPopulator
convert_to_json
get_metadata_buffer
get_path_to_datafile
metadata_schema_py_generated
Overview
AssociatedFile
AssociatedFileAddDescription
AssociatedFileAddLocale
AssociatedFileAddName
AssociatedFileAddType
AssociatedFileAddVersion
AssociatedFileEnd
AssociatedFileStart
AssociatedFileT
AssociatedFileType
AudioProperties
AudioPropertiesAddChannels
AudioPropertiesAddSampleRate
AudioPropertiesEnd
AudioPropertiesStart
AudioPropertiesT
BertTokenizerOptions
BertTokenizerOptionsAddVocabFile
BertTokenizerOptionsEnd
BertTokenizerOptionsStart
BertTokenizerOptionsStartVocabFileVector
BertTokenizerOptionsT
BoundingBoxProperties
BoundingBoxPropertiesAddCoordinateType
BoundingBoxPropertiesAddIndex
BoundingBoxPropertiesAddType
BoundingBoxPropertiesEnd
BoundingBoxPropertiesStart
BoundingBoxPropertiesStartIndexVector
BoundingBoxPropertiesT
BoundingBoxType
ColorSpaceType
Content
ContentAddContentProperties
ContentAddContentPropertiesType
ContentAddRange
ContentEnd
ContentProperties
ContentPropertiesCreator
ContentStart
ContentT
CoordinateType
CustomMetadata
CustomMetadataAddData
CustomMetadataAddName
CustomMetadataEnd
CustomMetadataStart
CustomMetadataStartDataVector
CustomMetadataT
FeatureProperties
FeaturePropertiesEnd
FeaturePropertiesStart
FeaturePropertiesT
ImageProperties
ImagePropertiesAddColorSpace
ImagePropertiesAddDefaultSize
ImagePropertiesEnd
ImagePropertiesStart
ImagePropertiesT
ImageSize
ImageSizeAddHeight
ImageSizeAddWidth
ImageSizeEnd
ImageSizeStart
ImageSizeT
ModelMetadata
ModelMetadataAddAssociatedFiles
ModelMetadataAddAuthor
ModelMetadataAddDescription
ModelMetadataAddLicense
ModelMetadataAddMinParserVersion
ModelMetadataAddName
ModelMetadataAddSubgraphMetadata
ModelMetadataAddVersion
ModelMetadataEnd
ModelMetadataStart
ModelMetadataStartAssociatedFilesVector
ModelMetadataStartSubgraphMetadataVector
ModelMetadataT
NormalizationOptions
NormalizationOptionsAddMean
NormalizationOptionsAddStd
NormalizationOptionsEnd
NormalizationOptionsStart
NormalizationOptionsStartMeanVector
NormalizationOptionsStartStdVector
NormalizationOptionsT
ProcessUnit
ProcessUnitAddOptions
ProcessUnitAddOptionsType
ProcessUnitEnd
ProcessUnitOptions
ProcessUnitOptionsCreator
ProcessUnitStart
ProcessUnitT
RegexTokenizerOptions
RegexTokenizerOptionsAddDelimRegexPattern
RegexTokenizerOptionsAddVocabFile
RegexTokenizerOptionsEnd
RegexTokenizerOptionsStart
RegexTokenizerOptionsStartVocabFileVector
RegexTokenizerOptionsT
ScoreCalibrationOptions
ScoreCalibrationOptionsAddDefaultScore
ScoreCalibrationOptionsAddScoreTransformation
ScoreCalibrationOptionsEnd
ScoreCalibrationOptionsStart
ScoreCalibrationOptionsT
ScoreThresholdingOptions
ScoreThresholdingOptionsAddGlobalScoreThreshold
ScoreThresholdingOptionsEnd
ScoreThresholdingOptionsStart
ScoreThresholdingOptionsT
ScoreTransformationType
SentencePieceTokenizerOptions
SentencePieceTokenizerOptionsAddSentencePieceModel
SentencePieceTokenizerOptionsAddVocabFile
SentencePieceTokenizerOptionsEnd
SentencePieceTokenizerOptionsStart
SentencePieceTokenizerOptionsStartSentencePieceModelVector
SentencePieceTokenizerOptionsStartVocabFileVector
SentencePieceTokenizerOptionsT
Stats
StatsAddMax
StatsAddMin
StatsEnd
StatsStart
StatsStartMaxVector
StatsStartMinVector
StatsT
SubGraphMetadata
SubGraphMetadataAddAssociatedFiles
SubGraphMetadataAddCustomMetadata
SubGraphMetadataAddDescription
SubGraphMetadataAddInputProcessUnits
SubGraphMetadataAddInputTensorGroups
SubGraphMetadataAddInputTensorMetadata
SubGraphMetadataAddName
SubGraphMetadataAddOutputProcessUnits
SubGraphMetadataAddOutputTensorGroups
SubGraphMetadataAddOutputTensorMetadata
SubGraphMetadataEnd
SubGraphMetadataStart
SubGraphMetadataStartAssociatedFilesVector
SubGraphMetadataStartCustomMetadataVector
SubGraphMetadataStartInputProcessUnitsVector
SubGraphMetadataStartInputTensorGroupsVector
SubGraphMetadataStartInputTensorMetadataVector
SubGraphMetadataStartOutputProcessUnitsVector
SubGraphMetadataStartOutputTensorGroupsVector
SubGraphMetadataStartOutputTensorMetadataVector
SubGraphMetadataT
TensorGroup
TensorGroupAddName
TensorGroupAddTensorNames
TensorGroupEnd
TensorGroupStart
TensorGroupStartTensorNamesVector
TensorGroupT
TensorMetadata
TensorMetadataAddAssociatedFiles
TensorMetadataAddContent
TensorMetadataAddDescription
TensorMetadataAddDimensionNames
TensorMetadataAddName
TensorMetadataAddProcessUnits
TensorMetadataAddStats
TensorMetadataEnd
TensorMetadataStart
TensorMetadataStartAssociatedFilesVector
TensorMetadataStartDimensionNamesVector
TensorMetadataStartProcessUnitsVector
TensorMetadataT
ValueRange
ValueRangeAddMax
ValueRangeAddMin
ValueRangeEnd
ValueRangeStart
ValueRangeT
import_numpy
metadata_writers
Overview
audio_classifier
Overview
MetadataWriter
metadata_writer
Overview
MetadataWriter
bert_nl_classifier
Overview
MetadataWriter
image_classifier
Overview
MetadataWriter
image_segmenter
Overview
MetadataWriter
metadata_info
Overview
AssociatedFileMd
BertInputTensorsMd
BertTokenizerMd
CategoryTensorMd
ClassificationTensorMd
GeneralMd
InputAudioTensorMd
InputImageTensorMd
InputTextTensorMd
LabelFileMd
RegexTokenizerMd
ScoreCalibrationMd
SentencePieceTokenizerMd
TensorMd
nl_classifier
Overview
MetadataWriter
object_detector
Overview
MetadataWriter
writer_utils
Overview
compute_flat_size
get_input_tensor_names
get_input_tensor_shape
get_input_tensor_types
get_output_tensor_names
get_output_tensor_types
get_tokenizer_associated_files
load_file
save_file
task
Overview
audio
Overview
AudioClassifier
AudioClassifierOptions
AudioEmbedder
AudioEmbedderOptions
AudioFormat
AudioRecord
TensorAudio
core
Overview
BaseOptions
processor
Overview
BertCluAnnotationOptions
BoundingBox
CategoricalSlot
Category
ClassificationOptions
ClassificationResult
Classifications
CluRequest
CluResponse
ColoredLabel
ConfidenceMask
Detection
DetectionOptions
DetectionResult
Embedding
EmbeddingOptions
EmbeddingResult
FeatureVector
Mention
MentionedSlot
NearestNeighbor
OutputType
Pos
QaAnswer
QuestionAnswererResult
SearchOptions
SearchResult
Segmentation
SegmentationOptions
SegmentationResult
text
Overview
BertCluAnnotator
BertCluAnnotatorOptions
BertNLClassifier
BertNLClassifierOptions
BertQuestionAnswerer
BertQuestionAnswererOptions
NLClassifier
NLClassifierOptions
TextEmbedder
TextEmbedderOptions
TextSearcher
TextSearcherOptions
vision
Overview
ImageClassifier
ImageClassifierOptions
ImageEmbedder
ImageEmbedderOptions
ImageSearcher
ImageSearcherOptions
ImageSegmenter
ImageSegmenterOptions
ObjectDetector
ObjectDetectorOptions
TensorImage
Android (Java)
Core
org.tensorflow.lite
Overview
DataType
Delegate
DelegateFactory
Interpreter
Overview
Options
InterpreterApi
Overview
InterpreterApi.Options
Overview
TfLiteRuntime
InterpreterFactory
RuntimeFlavor
Tensor
Overview
QuantizationParams
TensorFlowLite
acceleration
acceleration
Overview
ValidatedAccelerationConfig
Support Library
support.audio
Overview
TensorAudio
Overview
TensorAudio.TensorAudioFormat
Overview
Builder
support.common
Overview
FileUtil
Operator
Processor
SequentialProcessor
TensorOperator
TensorProcessor
Overview
Builder
support.common.ops
Overview
CastOp
DequantizeOp
NormalizeOp
QuantizeOp
support.image
Overview
BoundingBoxUtil
Overview
CoordinateType
Type
ColorSpaceType
ImageOperator
ImageProcessor
Overview
Builder
ImageProperties
Overview
Builder
MlImageAdapter
TensorImage
support.image.ops
Overview
ResizeOp
Overview
ResizeMethod
ResizeWithCropOrPadOp
Rot90Op
TensorOperatorWrapper
TransformToGrayscaleOp
support.label
Overview
Category
LabelUtil
TensorLabel
support.label.ops
Overview
LabelAxisOp
Overview
Builder
support.metadata
Overview
MetadataExtractor
Overview
QuantizationParams
MetadataParser
support.model
Overview
Model
Overview
Builder
Device
Model.Options
Overview
Builder
support.tensorbuffer
Overview
TensorBuffer
TensorBufferFloat
TensorBufferUint8
Delegates
gpu
Overview
CompatibilityList
GpuDelegate
Overview
Options
GpuDelegateFactory
Overview
GpuDelegateFactory.Options
Overview
GpuBackend
ODML
image
Overview
BitmapExtractor
BitmapMlImageBuilder
ByteBufferExtractor
ByteBufferMlImageBuilder
ImageProperties
MediaImageExtractor
MediaMlImageBuilder
MlImage
Overview
ImageFormat
Internal
StorageType
image.annotation
Overview
KeepForSdk
Swift
TensorFlowLiteSwift
Classes
Overview
CoreMLDelegate
– EnabledDevices
– Options
Interpreter
– Options
MetalDelegate
– Options
Enumerations
Overview
InterpreterError
Runtime
ThreadWaitType
Protocols
Overview
Delegate
Structures
Overview
QuantizationParameters
Tensor
– DataType
– Shape
Type Aliases
Overview
InterpreterOptions
C
Overview
Structs
TfLiteAffineQuantization
TfLiteComplex128
TfLiteComplex64
TfLiteContext
TfLiteCustomAllocation
TfLiteDelegate
TfLiteDelegateParams
TfLiteDelegatePlugin
TfLiteDimensionMetadata
TfLiteEvalTensor
TfLiteExternalContext
TfLiteFloat16
TfLiteFloatArray
TfLiteIntArray
TfLiteNode
TfLiteOpaqueDelegateBuilder
TfLiteOpaqueDelegateParams
TfLiteQuantization
TfLiteQuantizationParams
TfLiteRegistration
TfLiteRegistration_V1
TfLiteRegistration_V2
TfLiteRegistration_V3
TfLiteSparsity
TfLiteTensor
Unions
TfLitePtrUnion
C++
Overview
tflite
Overview
Classes
Allocation
ErrorReporter
FileCopyAllocation
MemoryAllocation
MMAPAllocation
MutableOpResolver
OpResolver
TfLiteIntArrayView
Structs
StderrReporter
tflite::impl
Overview
Classes
FlatBufferModel
Interpreter
InterpreterBuilder
tflite::op_resolver_hasher
Overview
Structs
OperatorKeyHasher
ValueHasher
BuiltinOperator >
Gemini
About
Docs
API reference
Pricing
Gemma
About
Docs
Build with Gemini
Gemini API
Google AI Studio
Customize Gemma open models
Gemma open models
Multi-framework with Keras
Fine-tune in Colab
Run on-device
Google AI Edge
Gemini Nano on Android
Chrome built-in web APIs
Build responsibly
Responsible GenAI Toolkit
Secure AI Framework
Android Studio
Chrome DevTools
Colab
Firebase
Google Cloud
JetBrains
Jules
Project IDX
VS Code
Gemini Showcase
Gemini