diff --git a/mediapipe/objc/DrishtiAudioUtil.h b/mediapipe/objc/DrishtiAudioUtil.h index 40e6ded0d..8d598123f 100644 --- a/mediapipe/objc/DrishtiAudioUtil.h +++ b/mediapipe/objc/DrishtiAudioUtil.h @@ -26,10 +26,9 @@ NS_ASSUME_NONNULL_BEGIN // Converts an audio sample buffer list into a `mediapipe::Matrix`. // Returns an error status on failure. -absl::StatusOr> -MediaPipeConvertAudioBufferListToAudioMatrix( - const AudioBufferList* audioBufferList, - const AudioStreamBasicDescription* streamHeader, CMItemCount numFrames); +absl::StatusOr> MediaPipeConvertAudioBufferListToAudioMatrix( + const AudioBufferList* audioBufferList, const AudioStreamBasicDescription* streamHeader, + CMItemCount numFrames); NS_ASSUME_NONNULL_END diff --git a/mediapipe/tasks/python/metadata/metadata.py b/mediapipe/tasks/python/metadata/metadata.py index 9821e0ca9..e888a9d11 100644 --- a/mediapipe/tasks/python/metadata/metadata.py +++ b/mediapipe/tasks/python/metadata/metadata.py @@ -28,6 +28,7 @@ import warnings import zipfile import flatbuffers + from mediapipe.tasks.cc.metadata.python import _pywrap_metadata_version from mediapipe.tasks.metadata import metadata_schema_py_generated as _metadata_fb from mediapipe.tasks.metadata import schema_py_generated as _schema_fb diff --git a/mediapipe/tasks/python/metadata/metadata_writers/image_segmenter.py b/mediapipe/tasks/python/metadata/metadata_writers/image_segmenter.py index ee2dc092d..274b7f4a7 100644 --- a/mediapipe/tasks/python/metadata/metadata_writers/image_segmenter.py +++ b/mediapipe/tasks/python/metadata/metadata_writers/image_segmenter.py @@ -17,6 +17,7 @@ import enum from typing import List, Optional import flatbuffers + from mediapipe.tasks.metadata import image_segmenter_metadata_schema_py_generated as _segmenter_metadata_fb from mediapipe.tasks.metadata import metadata_schema_py_generated as _metadata_fb from mediapipe.tasks.python.metadata import metadata diff --git a/mediapipe/tasks/python/metadata/metadata_writers/metadata_writer.py b/mediapipe/tasks/python/metadata/metadata_writers/metadata_writer.py index 659a89b8e..bf0a1ee12 100644 --- a/mediapipe/tasks/python/metadata/metadata_writers/metadata_writer.py +++ b/mediapipe/tasks/python/metadata/metadata_writers/metadata_writer.py @@ -22,6 +22,7 @@ import tempfile from typing import List, Optional, Tuple, Union import flatbuffers + from mediapipe.tasks.metadata import metadata_schema_py_generated as metadata_fb from mediapipe.tasks.python.metadata import metadata from mediapipe.tasks.python.metadata.metadata_writers import metadata_info diff --git a/mediapipe/tasks/python/metadata/metadata_writers/object_detector.py b/mediapipe/tasks/python/metadata/metadata_writers/object_detector.py index 9944ecfb8..5e02d22dc 100644 --- a/mediapipe/tasks/python/metadata/metadata_writers/object_detector.py +++ b/mediapipe/tasks/python/metadata/metadata_writers/object_detector.py @@ -18,6 +18,7 @@ import dataclasses from typing import List, Optional import flatbuffers + from mediapipe.tasks.metadata import metadata_schema_py_generated as _metadata_fb from mediapipe.tasks.metadata import object_detector_metadata_schema_py_generated as _detector_metadata_fb from mediapipe.tasks.python.metadata import metadata diff --git a/mediapipe/tasks/python/test/metadata/metadata_test.py b/mediapipe/tasks/python/test/metadata/metadata_test.py index 4f7d34072..75ca61a0a 100644 --- a/mediapipe/tasks/python/test/metadata/metadata_test.py +++ b/mediapipe/tasks/python/test/metadata/metadata_test.py @@ -19,9 +19,9 @@ import os from absl.testing import absltest from absl.testing import parameterized +import flatbuffers import six -import flatbuffers from mediapipe.tasks.metadata import metadata_schema_py_generated as _metadata_fb from mediapipe.tasks.metadata import schema_py_generated as _schema_fb from mediapipe.tasks.python.metadata import metadata as _metadata diff --git a/mediapipe/tasks/python/test/metadata/metadata_writers/metadata_info_test.py b/mediapipe/tasks/python/test/metadata/metadata_writers/metadata_info_test.py index fdf8a2204..2ef664f03 100644 --- a/mediapipe/tasks/python/test/metadata/metadata_writers/metadata_info_test.py +++ b/mediapipe/tasks/python/test/metadata/metadata_writers/metadata_info_test.py @@ -19,8 +19,8 @@ import tempfile from absl.testing import absltest from absl.testing import parameterized - import flatbuffers + from mediapipe.tasks.metadata import metadata_schema_py_generated as _metadata_fb from mediapipe.tasks.metadata import schema_py_generated as _schema_fb from mediapipe.tasks.python.metadata import metadata as _metadata