パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v1.0.9

livespeechtotext

Flutterアプリに音声認識を簡単に追加し、音声制御機能を有効にします。このプラグインを使用すると、発話された言葉をテキストに変換するのがより簡単になります。

AndroidiOS
30日間ダウンロード
49
いいね数
27
Pub ポイント
150

パッケージをインストール

flutter pub add livespeechtotext

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

LiveSpeechToText は、モバイルアプリケーションでリアルタイムの音声からテキストへの変換機能を可能にするFlutterプラグインです。ユーザーが話した言語をスムーズにテキストに変換でき、音声制御インターフェース、字下げツール、アクセシビリティ機能に最適です。AndroidおよびiOS向けに開発されており、簡単なコマンドでFlutterプロジェクトに簡単に統合できます。連続的な転写をサポートしており、手を使わない操作に適しています。ihsanberahim.comによって開発され、信頼性の高いパフォーマンスを実現するためにネイティブ音声認識APIを利用しています。

用途

  • 音声制御アプリナビゲーション
  • リアルタイムの字下げツール
  • 視覚障害者向けのアクセシビリティ機能
  • ハンドフリーでのデータ入力
  • インタラクティブな音声アシスタント
  • 話されたノートの転写

主な機能

  • リアルタイム音声認識
  • Android および iOS のサポート
  • pub.dev を通じたシンプルな統合
  • 連続トランスクリプションモード
  • 軽量かつ効率的
  • 組み込みエラー処理

適している対象

  • 音声対応アプリを開発する開発者
  • 手を使わない入力が必要なアプリ
  • アクセシビリティを重視したアプリケーション
  • 迅速な音声機能のプロトタイピング
  • 音声入力付きの教育または生産性ツール

注意事項

  • マイクの権限が必要です
  • パフォーマンスはデバイスのハードウェアに依存します
  • クラウドベースの認識にはインターネット接続が必要です
  • 制限されたオフライン機能
  • 正確性は発音や背景ノイズによって異なります
  • アクティブなときに大幅なバッテリー消費を引き起こす可能性があります

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

Live Speech-To-Text

Effortlessly add speech-to-text to your Flutter apps, enabling voice-controlled features. Transcribe spoken words into text easier with this plugin.

SDK

  • Android
  • MinSDK 21 /CompileSDK 31
    • android/local.properties
    flutter.minSdkVersion=21
    flutter.compileSdkVersion=21
    
    • android/app/build.gradle
    def flutterMinSdkVersion = localProperties.getProperty('flutter.minSdkVersion')
    if (flutterMinSdkVersion == null) {
        flutterMinSdkVersion = '21'
    }
    
    def flutterCompileSdkVersion = localProperties.getProperty('flutter.compileSdkVersion')
    if (flutterCompileSdkVersion == null) {
        flutterCompileSdkVersion = '31'
    }
    
    android {
        ...
        compileSdkVersion flutterCompileSdkVersion.toInteger()
        ...
    
        defaultConfig {
          ...
          minSdkVersion flutterMinSdkVersion.toInteger()
          ...
        }
    }
    
  • iOS
    • this package tested on target iOS 13

Permissions

It is highly recommended use permission_handler:^9.2.0 package to make sure the user have required permissions granted.

  • Android
    • android/app/src/{debug,main,profile}/AndroidManifest.xml
    <uses-permission android:name="android.permission.RECORD_AUDIO" />
    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
    
  • iOS
    • ios/Runner/Info.plist
    <key>NSMicrophoneUsageDescription</key>
      <string>Your voice input needed for the speech to text functionality</string>
      <key>NSSpeechRecognitionUsageDescription</key>
      <string>Allow app to get text input from your speech</string>
    
    • ios/Podfile
      • First refer the guide
      • Uncomment these lines
            ## dart: PermissionGroup.microphone
            'PERMISSION_MICROPHONE=1',
      
            ## dart: PermissionGroup.speech
            'PERMISSION_SPEECH_RECOGNIZER=1',
      

Troubleshoots

  • Android Emulator (without Android Studio) not receive input from microphone on MacOS 13
    • Open 'Activity Monitor' find process name like 'qemu'. get the full process name
    • run command
      • sudo defaults write com.apple.security.device.microphone qemu-system-aarch64 -bool true
      • restart the emulator

カテゴリー

依存関係

依存関係一覧 1 件

  • plugin_platform_interface^2.0.2

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。