【问题标题】:Can I use AWS S3 with Google Speech-to-Text in larger files?我可以在较大的文件中使用 AWS S3 和 Google Speech-to-Text 吗?
【发布时间】:2020-01-14 04:27:58
【问题描述】:

我尝试在我的 node.js 项目中使用 Google Cloud Speech-to-Text。它适用于我磁盘上的较小文件,但我想获得存储在 AWS S3 中的较长文件。是否可以或我需要使用 Google Cloud Storage?

【问题讨论】:

    标签: amazon-s3 google-cloud-platform google-cloud-storage google-cloud-speech


    【解决方案1】:

    您可以在 node.js 代码中使用谷歌云存储库来访问 AWS s30 存储:

    “Cloud Storage XML API 可与一些与 Amazon Simple Storage Service (Amazon S3) 和 Eucalyptus Systems, Inc. 等服务一起使用的云存储工具和库进行互操作。要使用这些工具和库,请更改请求端点 (工具或库使用的 URI),因此它指向 Cloud Storage URI (https://storage.googleapis.com),并配置工具或库以使用您的 Cloud Storage HMAC 密钥。” For more information please check Google documentation

    【讨论】:

    【解决方案2】:

    对于较长的音频文件,您只能使用 Google Cloud Storage 中的文件。您不能使用存储在 AWS S3 中的音频文件。 https://cloud.google.com/speech-to-text/docs/reference/rest/v1/RecognitionAudio

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-06-11
    相关资源
    最近更新 更多