Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I use OS X 10.8's speech recognition/dictation without a GUI?

Ideally I would like to use 10.8's/Mountain Lion's dictation feature from Python, without a GUI. As far as I can tell dictation is currently only supported by using the UITextInput protocol, which implies a GUI (correct?).

like image 512
John Wiseman Avatar asked Aug 07 '12 18:08

John Wiseman


People also ask

How do I install speech recognition?

The easiest way to install this is using pip install SpeechRecognition. Otherwise, download the source distribution from PyPI, and extract the archive. In the folder, run python setup.py install.

How do I dictate to my Mac?

Turn on keyboard dictation On your Mac, choose Apple menu > System Preferences, click Keyboard , then click Dictation. Click On. If a prompt appears, click Enable Dictation.

How do I use Apple dictation?

To enter text, tap the microphone button on your keyboard, then start speaking. As you speak, the text appears on the screen. To finish, stop speaking, then tap the keyboard button . If dictation isn't sure what word it heard, you'll see a blue line under the transcribed word so you can check it for accuracy.

Does Apple have speech To text?

With keyboard dictation on iPhone, you can dictate text anywhere you can type it. On supported models, general text dictation (for example, composing messages and notes) can be processed on your device in many languages, and no internet connection is required.


1 Answers

You can create a dummy text field and programmatically start dictating by emulating the keypress (tried out successfully here)

like image 103
Anno2001 Avatar answered Sep 25 '22 04:09

Anno2001