sksurgeryspeech.ui.sksurgeryspeech_demo module

Demo for the Speech API module

class sksurgeryspeech.ui.sksurgeryspeech_demo.SpeechRecognitionDemo(config_file)[source]

Bases: PySide2.QtCore.QObject

Demo class for the Speech API module

on_voice_signal(input_string)[source]

Slot for the quit signal Quits application

run_demo()[source]

Entry point to run the demo

staticMetaObject = <PySide2.QtCore.QMetaObject object>
class sksurgeryspeech.ui.sksurgeryspeech_demo.VoiceListener[source]

Bases: PySide2.QtCore.QObject

Class which contains the slots for the demo application

on_google_api_not_understand()[source]

Slot if the google api doesn’t understand audio

on_google_api_request_failure(exception)[source]

Slot if something with the google api went wrong

on_start_listen()[source]

Slot when the user says the keyword

on_start_processing_request()[source]

Slot when the request is sent to Google API

staticMetaObject = <PySide2.QtCore.QMetaObject object>