본문 바로가기

JW's

검색하기
JW's
프로필사진 wlsdnr929

  • 분류 전체보기 (12)
    • 펌웨어 (1)
      • 사거리 신호등 만들기 with STM32F746 (1)
    • 기타 (1)
    • 코딩 테스트 (1)
    • 라즈베리파이(Raspberry Pi) (8)
      • pyqt5와 pifacecad 활용 (1)
      • VScode 원격접속환경 구축하기 (1)
      • PiCamera OpenCV 마스크인식 (1)
      • PiFaceCad + IR Remote Contr.. (1)
      • 라즈베리파이 GPIO 활용 (1)
      • Google STT, TTS를 활용한 LED 제어 (1)
      • Alexa를 이용한 GPIO 제어 (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Tags
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록라즈베리파이(Raspberry Pi)/Google STT, TTS를 활용한 LED 제어 (1)

JW's

Google STT / TTS를 활용한 LED 제어

먼저 Google STT / TTS를 사용하기위해 Google Cloud에서 계정을 만들고 API 설정해줍니다. import argparse from gpiozero import LED from time import sleep import os # 18번 LED이용 led = LED(18) # STT (Speech To Text를 위한 코드) def transcribe_file(speech_file): """Transcribe the given audio file.""" from google.cloud import speech import io client = speech.SpeechClient() # [START speech_python_migration_sync_request] # [START spe..

라즈베리파이(Raspberry Pi)/Google STT, TTS를 활용한 LED 제어 2022. 7. 3. 23:25
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바