使用 C++ 的 Google Cloud Speech API,第一步是啥?

     2023-03-10     162

关键词:

【中文标题】使用 C++ 的 Google Cloud Speech API,第一步是啥?【英文标题】:Google Cloud speech API using C++, what is the first step?使用 C++ 的 Google Cloud Speech API,第一步是什么? 【发布时间】:2016-12-06 14:17:06 【问题描述】:

我在我的项目中使用谷歌云语音 API 作为 STT 引擎,它是用 C++ 编写的,这里是谷歌云语音 API 文档。 (https://cloud.google.com/speech/docs/) 它在 REST [ non-streaming ] 和 gRPC lib [ streaming ] 中可用。所以我正在使用 gRPC,它使用 HTTP2 → grpc / grpc.io (http://www.grpc.io/) 这是示例应用程序 (https://cloud.google.com/speech/docs/samples) 主要示例基于 [python - java - node.js - iOS]

【问题讨论】:

您在该主题中的问题非常开放,您提供的标准虽然具体但并没有真正缩小问题的范围。您是否遇到特定错误、异常等?考虑到这个产品还很年轻,实际上没有任何简单的示例可以使用您指定的环境。我建议阅读gRPC Basics for C++ 并尝试将其应用于Speech API。一旦您遇到特定错误,我们可以进一步链接到此。 【参考方案1】:

Here 是使用带有 C++ 的语音 API 和 gRPC 传输的示例。

【讨论】:

使用 GRPC 与 Google Cloud Run 通信的 Google App Engine 给出“错误:14 不可用:连接已断开”

】使用GRPC与GoogleCloudRun通信的GoogleAppEngine给出“错误:14不可用:连接已断开”【英文标题】:GoogleAppEnginecommunicatingwithGoogleCloudRunusingGRPCgives"Error:14UNAVAILABLE:Connectiondropped"【发布时间】:2022-01-1116:27:06【问题描述】:tl;博... 查看详情

使用 Google.Cloud.BigQuery.V2 的 BigQuery 加载作业的幂等性

】使用Google.Cloud.BigQuery.V2的BigQuery加载作业的幂等性【英文标题】:IdempotencyforBigQueryloadjobsusingGoogle.Cloud.BigQuery.V2【发布时间】:2018-05-1410:07:29【问题描述】:您可以使用Google.Cloud.BigQuery.V2中具有CreateLoadJob方法的BigQueryClient创建cs... 查看详情

使用 Google App Engine 签名的 Google Cloud Storage 网址

】使用GoogleAppEngine签名的GoogleCloudStorage网址【英文标题】:GoogleCloudStorageSignedURLswithGoogleAppEngine【发布时间】:2014-03-2200:00:42【问题描述】:处理GoogleCloudStorage的常规SignedURLs(QueryStringAuthentication)令人沮丧。GoogleCloudStorageSignedURLs 查看详情

使用 Cloud Proxy 的 Google Cloud Composer 和 MS SQL

】使用CloudProxy的GoogleCloudComposer和MSSQL【英文标题】:GoogleCloudComposerandMSSQLusingCloudProxy【发布时间】:2020-11-2802:46:09【问题描述】:我正在使用GCP(Composer)上的Airflow构建CloudSQL(MSSQLServer)到BigQuery的集成。我在GKE集群中设置了... 查看详情

使用 Google 的 Cloud HSM 签署可执行文件

】使用Google的CloudHSM签署可执行文件【英文标题】:UsingGoogle\'sCloudHSMtosignexecutables【发布时间】:2019-06-2620:09:54【问题描述】:我正在尝试查找一些有关使用Google\'sCloudHSM签署可执行文件的文档。我找到了一个相当comprehensiveguidefo... 查看详情

如何使用 Google Cloud TPU 训练 keras 模型

】如何使用GoogleCloudTPU训练keras模型【英文标题】:HowtotrainkerasmodelusingGoogleCloudTPU【发布时间】:2018-07-2402:43:15【问题描述】:理论上,我们可以在任何支持Tensorflow的平台上训练支持Tensorflow的Keras模型。但是,我似乎在Google的文... 查看详情

如何使用 Google Cloud SDK 列出所有 Cloud Functions?

】如何使用GoogleCloudSDK列出所有CloudFunctions?【英文标题】:HowcanIlistallCloudFunctionsusingGoogleCloudSDK?【发布时间】:2020-09-1009:30:48【问题描述】:我是谷歌云应用程序的新手,所以我想在python中使用GCPSDK时使用各种方法列出所有不... 查看详情

如何使用 Google Speech API 访问 Google Cloud Storage 中的文件?

】如何使用GoogleSpeechAPI访问GoogleCloudStorage中的文件?【英文标题】:HowdoIuseGoogleSpeechAPItoaccessafileinGoogleCloudStorage?【发布时间】:2019-06-2117:08:50【问题描述】:我在Windows10上将VisualStudio2019用于使用GoogleSpeechAPI的.NET控制台C#项目。... 查看详情

如何使用 Google Python Client for Cloud Functions 获取 Google Cloud Functions 列表?

】如何使用GooglePythonClientforCloudFunctions获取GoogleCloudFunctions列表?【英文标题】:HowcanIgetalistofGoogleCloudFunctionsusingGooglePythonClientforCloudFunctions?【发布时间】:2021-12-2602:28:29【问题描述】:我想执行我认为相当简单的任务-我想使用p... 查看详情

监控 Google Cloud Run 内存使用情况

】监控GoogleCloudRun内存使用情况【英文标题】:MonitorGoogleCloudRunmemoryusage【发布时间】:2020-01-1616:14:32【问题描述】:是否有任何内置方法可以监控在托管GoogleCloudRun实例中运行的应用程序的内存使用情况?在托管CloudRun服务的“M... 查看详情

是否可以将 Google App Engine 与 Google Cloud *** 一起使用?

】是否可以将GoogleAppEngine与GoogleCloud***一起使用?【英文标题】:IsitpossibletouseGoogleAppEnginewithGoogleCloud***?【发布时间】:2016-09-0509:29:29【问题描述】:Google的文档对此并不十分清楚。在这里(https://cloud.google.com/compute/docs/***/overvie... 查看详情

使用 GCloud 模拟器的 Google Cloud PubSub V1

】使用GCloud模拟器的GoogleCloudPubSubV1【英文标题】:GoogleCloudPubSubV1usingGCloudEmulator【发布时间】:2019-03-1411:09:45【问题描述】:我正在与GoogleDocs争夺使用PubSub模拟器通过.NET设置CloudPubSub。https://cloud.google.com/dotnet/docs/getting-started/usi... 查看详情

使用 Google Cloud Vision 的 OCR PDF 文件?

】使用GoogleCloudVision的OCRPDF文件?【英文标题】:OCRPDFFilesUsingGoogleCloudVision?【发布时间】:2019-02-1923:19:04【问题描述】:目前是否有任何服务或软件工具使用GoogleCloudVision作为OCRing扫描的PDF文件的后端?如果不是,如何使用GoogleC... 查看详情

使用 Google Cloud PubSub 不断收到“向 Cloud PubSub 发送测试消息时出错...”

】使用GoogleCloudPubSub不断收到“向CloudPubSub发送测试消息时出错...”【英文标题】:Keepgetting\'ErrorsendingtestmessagetoCloudPubSub...\'withGoogleCloudPubSub【发布时间】:2015-11-1005:14:03【问题描述】:我正在尝试将Google的推送PubSub设置到我的... 查看详情

使用 Google Endpoints 在 Google Cloud Storage 上上传图片

】使用GoogleEndpoints在GoogleCloudStorage上上传图片【英文标题】:UploadimageonGoogleCloudStoragewithGoogleEndpoints【发布时间】:2014-10-1014:59:01【问题描述】:我正在尝试创建一个用于上传照片的RESTFulWeb服务。是否可以创建GoogleCloudEndpoints来... 查看详情

输入使用 Google Cloud Run 运行的 docker 容器

】输入使用GoogleCloudRun运行的docker容器【英文标题】:EnteradockercontainerrunningwithGoogleCloudRun【发布时间】:2019-10-1400:33:38【问题描述】:是否可以进入由GoogleCloudRun驱动的容器?dockerexec-itCONTAINER/bin/bash的方式?我遇到了一个错误,... 查看详情

在 Google Cloud Datastore 上使用动态类型

】在GoogleCloudDatastore上使用动态类型【英文标题】:WorkingwithdynamictypesonGoogleCloudDatastore【发布时间】:2019-06-0805:31:47【问题描述】:我们的应用程序目前正在使用MongoDb。我们的计划是让它与Datastore一起使用。在我们的应用程序中... 查看详情

如何使用 Google PubSub 确认 (@google-cloud/pubsub)

】如何使用GooglePubSub确认(@google-cloud/pubsub)【英文标题】:HowtoACKusingGooglePubSub(@google-cloud/pubsub)【发布时间】:2018-06-2203:54:42【问题描述】:使用这个例子:https://cloud.google.com/nodejs/getting-started/using-pub-sub完全按照这个例子,消息... 查看详情