搜尋套件、儲存庫與 APP 分類

套件詳情v7.5.0

speech_to_text

一個 Flutter 插件,可提供特定於設備的語音轉文字識別功能。

AndroidiOSWebmacOSWindows
近 30 天下載
89.8萬
喜歡數
1630
Pub 分數
150

安裝套件

flutter pub add speech_to_text

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

一個 Flutter 插件,透過利用裝置特定的語音辨識 API 實現語音轉文字功能。它支援跨多個平台(包括 Android、iOS、Web、macOS 與 Windows)的即時轉錄。該插件提供簡單介面來啟動與停止語音辨識,並可選設定語言、連續辨識與錯誤處理。適用於需要語音輸入的應用程式,例如語音助理、語音打字工具或輔助功能。可輕鬆整合至 Flutter 應用中,設定簡單。

適用情境

  • 語音控制介面
  • 即時轉錄
  • 無障礙工具
  • 語音搜尋
  • 語音輸入應用
  • 免提資料輸入

主要特色

  • 跨平台支援
  • 即時識別
  • 語言選擇
  • 連續監聽模式
  • 錯誤和狀態回調
  • 簡單 API 結合

適合對象

  • 開發語音功能應用的開發者
  • 需要免提操作的應用程式
  • 注重可訪問性的應用程式
  • 語音驅動的使用者體驗
  • 原型化語音功能

使用建議

  • 需要麥克風權限
  • 性能因設備而異
  • 某些平台需要互聯網連接
  • 有限的離線功能
  • 準確性取決於音訊品質和環境

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

speech_to_text

A library that exposes device specific speech recognition capability.

This plugin contains a set of classes that make it easy to use the speech recognition capabilities of the underlying platform in Flutter. It supports Android, iOS and web. The target use cases for this library are commands and short phrases, not continuous spoken conversion or always on listening.

Contents

Plugin

This project has the code for the plugin on multiple native platforms including iOS, Android and the web.

Platform Interface

This project defines the behaviour required on each host platform. To implement the plugin for a new platform the behaviour of this interface is implemented on that platform. See the docs here for a description of the approach.

Example apps

The main example app included with the plugin shows basic use of the plugin.

In addition there is a Provider example that shows how to use the plugin as a Flutter Provider.

These examples work only with the plugin source checked out because their dependency is on a relative path, not the pub.dev version.

所屬分類

依賴

依賴清單 6 項

原始碼儲存庫

使用此套件的專案