搜索插件、代码仓与 APP 分类

插件详情v0.0.6

speech_to_text_google_dialog

此包用于显示 Google 语音转文字对话框。

Android
近 30 天下载
98
喜欢数
24
Pub 分数
160

安装插件

flutter pub add speech_to_text_google_dialog

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

一个 Flutter 包,将 Google 的语音转文本功能与可自定义的对话框界面集成。它允许用户通过由 Google 的 ASR(自动语音识别)引擎驱动的简单直观的弹出对话框捕获语音输入。专为 Android 设计,简化了需要实时转录的应用程序中的语音输入实现。该包无缝处理权限和音频流,非常适合语音助手、语音输入工具或免提导航功能。

适合场景

  • 语音助手输入
  • 语音输入应用
  • 免提应用导航
  • 实时转录
  • 语音控制表单

主要特点

  • Google ASR 集成
  • 可自定义对话框UI
  • 仅支持 Android
  • 自动权限处理
  • 实时音频流

适合对象

  • 面向Android的语音应用
  • 简单的语音输入功能
  • 原型化语音接口
  • 需要快速语音识别集成的应用程序

使用建议

  • 仅限 Android 平台
  • 需要互联网连接
  • 依赖 Google Play 服务
  • 可能需要额外的配置才能用于生产
  • 长时间录制期间的电池使用情况

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

Speech To Text Google

This package is implemented to display the Google speech to text dialog. There is no need to get any permission from the user for this. This package is currently available on Android.

DemoAndroid

Usage

Example

This example shows how to display a google speech to text dialog and get the result.

bool isServiceAvailable = await SpeechToTextGoogle.getInstance()
                    .showGoogleDialog(onTextReceived: (data) {
                },
                  // locale: "en-US",
);

所属分类

源码仓库

使用此插件的项目

暂无相关数据。