Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Speech Frameworkを使った音声認識の基本

Masashi
January 29, 2025

Speech Frameworkを使った音声認識の基本

Mobile勉強会 ウォンテッドリー × チームラボ × Sansan #18 〜新技術の導入〜
https://sansan.connpass.com/event/338706/

Masashi

January 29, 2025
Tweet

More Decks by Masashi

Other Decks in Programming

Transcript

  1. Ի੠ೝࣝͷதؒ݁Ռͷऔಘ • SFSpeechRecognitionRequest ͷ shouldReportPartialResults ϓϩύςΟͰɺԻ੠ೝࣝͷதؒ݁ՌΛऔಘ͢Δɾऔಘ͠ͳ͍ͷ ੍ޚ͕Մೳ • σϑΥϧτ஋͸ true

    ( தؒ݁ՌΛऔಘ͢Δ ) • a • Ի੠ೝࣝͷ࠷ऴతͳ݁Ռ͚͕ͩඞཁͳ৔߹͸ɺ shouldReportPartialResults Λfalse ʹઃఆ͢Δ
  2. ΦϯσόΠεͰͷԻ੠ೝࣝ • ϓϥΠόγʔΛߟྀͯ͠ɺΦϯσόΠεͰԻ੠ೝࣝΛͤ͞Δ͜ͱ͕Ͱ͖Δ • ωοτϫʔΫʹܨ͕ͣͱ΋Ի੠ೝ͕ࣝՄೳ • ͨͩ͠ɺServer ϕʔεͷԻ੠ೝࣝͱൺֱͯ͠ਫ਼౓͕ߴ͘ͳ͍ • Server

    ϕʔεͷԻ੠ೝࣝ΋ɺԻ੠ೝࣝͷ࠷େ࣌ؒͷ੍ݶ, Ұ೔͋ͨΓͷճ਺੍ݶ͕͋Δͱ͍͏σϝϦοτ͕͋Δ • SFSpeechRecognitionRequest ͷ requiresOnDeviceRecognition ϓϩύςΟͰɺ༗ޮԽͰ͖Δ • a
  3. ࢀߟ • Advances in Speech Recognition • https://developer.apple.com/videos/play/wwdc2019/256 • Customize

    on-device speech recognition • https://developer.apple.com/videos/play/ wwdc2023/10101 • Recognizing speech in live audio • https://developer.apple.com/documentation/speech/ recognizing-speech-in-live-audio