Internal change
PiperOrigin-RevId: 537928827
This commit is contained in:
parent
cbf1d97429
commit
ab72fccca7
|
@ -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<std::unique_ptr<mediapipe::Matrix>>
|
||||
MediaPipeConvertAudioBufferListToAudioMatrix(
|
||||
const AudioBufferList* audioBufferList,
|
||||
const AudioStreamBasicDescription* streamHeader, CMItemCount numFrames);
|
||||
absl::StatusOr<std::unique_ptr<mediapipe::Matrix>> MediaPipeConvertAudioBufferListToAudioMatrix(
|
||||
const AudioBufferList* audioBufferList, const AudioStreamBasicDescription* streamHeader,
|
||||
CMItemCount numFrames);
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user