Introducing Google AI Edge Portal: Benchmark Edge AI at scale. Sign-up to request access during private preview.

mp.tasks.audio.RunningMode

View source on GitHub

MediaPipe audio task running mode.

Attributes

AUDIO_CLIPS The mode for running a mediapipe audio task on independent audio clips.
AUDIO_STREAM The mode for running a mediapipe audio task on an audio stream, such as from microphone.

Class Variables

AUDIO_CLIPS <AudioTaskRunningMode.AUDIO_CLIPS: 'AUDIO_CLIPS'>
AUDIO_STREAM <AudioTaskRunningMode.AUDIO_STREAM: 'AUDIO_STREAM'>

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024年05月01日 UTC.