Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Speech To Text library for browser 🎤

License

NotificationsYou must be signed in to change notification settings

codejs-kr/stt.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Speech To Text Javascript Library

Install

npm install stt.js

LiveDemo

https://play.codejs.co.kr/stt.js

Browser support

  • Chrome >= 33
  • Edge >= 82

https://caniuse.com/mdn-api_speechrecognitionevent

Quick Start

Please first prepare your microphone

importSTTfrom'stt.js';conststt=newSTT({continuous:true,interimResults:true,});stt.on('start',()=>{// handle start event});stt.on('end',()=>{// handle end event});stt.on('result',({ finalTranscript, interimTranscript})=>{console.log('result :>> ',finalTranscript,interimTranscript);// handle recognition result});stt.on('error',(error)=>{console.log('error :>> ',error);// no-speech|audio-capture|not-allowed|not-supported-browser});stt.start();// stt.end();

인식률 측정

맥북 내장 마이크 대략적인 거리별 인식 테스트 (4 ~ 6인 소회의실)조용한 환경에서 보통의 목소리 크기로 글을 읽어본 결과.- 1m 이내, 인식률 90% 이상- 1.2m 이내, 인식률 약 60 ~ 70%- 1.5m 초과, 인식률 약 10% 대로 문자 인식 어려움※ 이어폰 마이크를 사용하면 더 나은 인식률을 보인다.

About

Speech To Text library for browser 🎤

Topics

Resources

License

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp