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

前端 未结 2 454
刺人心
刺人心 2020-12-31 18:05

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 U

相关标签:
2条回答
  • 2020-12-31 18:48

    I think you want the Speech Framework. SFSpeechRecognizer et al. I don't believe this requires a window session on macOS as this is part of AVFoundation, though I'm not 100% certain. Try it and see. :-)

    0 讨论(0)
  • 2020-12-31 18:52

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

    0 讨论(0)
提交回复
热议问题