Google cloud speech to text C++ - c++

I want to use google speech to text api in my c++ Qt/mingw application but I had a problems building c++ library for it. So I implement simple REST client for speech to text api it recognize small audio files. And now I want to use audio stream and there is no rest api for it. So I have a question, how can I implement client for streaming speech recognition without using all google libraries with dependensies. I have not find any examples for grpc api or even documentation about how does streeming speech recogniton work with grpc.

Related

Google Speech to text available offline?

I would like to leverage Google's Speech to text service for a desktop app, but I would like it to be offline. Is this possible?
They have on-prem solutions but can it be offline so no data is sent?
https://cloud.google.com/speech-to-text#all-features
Google's Speech to Text API only works through the cloud, it is not possible to work offline, this is because Speech API and Text to Speech API make request using REST or RPC calls.
The Speech-to-Text On-Prem allows you to deploy the Speech to Text API through a container or any GKE cluster, but that doesn't mean you can do it in your local desktop.
Google Speech-to-text API is available offline only for English in several devices. If You want this API to work for you offline for other languages, you should install that Specific language on you device - otherwise it won't work.
Basically Google Speech Recognition requires internet access to make REST and RPC calls. If you have a working with internet access, it will work on every Language you want. But in offline mode it only works on device-specific language, most probably English.

C++ Google Calendar API

Hi All: I am supposed to provide Google calendar support on my C++ application running on Linux machine.
I came to know Google APIs Client Library for C++ is deprecated.So, I would like to know as to how I can provide calendar support in my Cpp application.
What steps should I follow and better if you redirect me to some URL ?
Thanks
I think you can use google calendar api using REST API.
C++ Google Calendar REST API Examples

Is there any way to connect to google cloud project without using Client Library?

Can we connect to google cloud project, without using Client Library?
What is BigQuery API? Is it similar to bq-command line-tool?
If not, is there any way to convert bq-commandline-tool to API for usage in Python?
It is highly recommended to use the Google Cloud client libraries when available, but if you wish to call a Google Cloud Platform REST API from Python without a client library you can use an HTTP library such as Requests.
One thing client libraries handle for you is authentication. To authenticate to a Google API with Python, I highly recommend the google-auth Python library. Without an authentication library, you would have to implement the OAuth2 spec yourself, which is discouraged.

Test Google Speech API with audio file

I want to see if Google Speech API will be accurate enough for my purposes. I have an audio file I want to test it with, but the demo on the main page only lets you record from a microphone. Is there a way to test Google's speech processing with an audio file without having to learn the API first?
No, you will have to use the API if you wish to upload a file.
The steps are described here on how to make the API request and it is fairly straightforward. The same page also details how to set up your account, enable billing and getting the access token for the request.

Bypassing speech recognition in Amazon AVS

As I understand AVS you send an audio clip to the API which is parsed for speech recognition and then interprets that text and gives you some result based on what you asked.
What I want to do is make kind of a cli version of Alexa where you type in what you would normally say out loud to Amazon echo.
So what I'm wondering if there is some way to bypass the speech recognition step using some amazon api so I can just send the text.
I thought about implementing the ai myself but it would be nice to use all the available skills for Alexa.
No chance.
For your own skills you can do that by calling them directly. Finally it's a simple HTTPS call with a JSON Payload. But it's not possible for other skills except the owner publish is as HTTP Endpoint.
But you have to handle also the user sessions etc.
For a "CLI - Echo" have a look at the different Bot Frameworks. Most of the Companies with an Alexa App have also a documented REST Backend which you can use directly. See Twitter, Facebook etc.