SpeechRecognition实现实时麦克风输入声音转文字效果代码
代码语言:html
所属分类:其他
代码描述:SpeechRecognition实现实时麦克风输入声音转文字效果代码
代码标签: SpeechRecognition 实时 麦克风 输入 声音 转 文字
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400&display=swap");
body {
margin: 0;
padding: 0;
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-family: "Quicksand", sans-serif;
width: 100%;
height: 100vh;
background-color: #fafafa;
overflow: hidden;
}
h3 {
font-weight: 600;
color: #666;
font-size: 22px;
}
#accuracy {
font-weight: 400;
color: #777;
font-size: 16px;
}
.output-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0