問題タブ [vision-api]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
google-cloud-ml - "Confidence" field missing in the paid version of the cloud vision API's JSON response for OCR
The JSON response from the free version of Vision API (https://cloud.google.com/vision/docs/drag-and-drop) has the field named "Confidence" which shows the recognition confidence of the model on the word level and character level. While in the paid version this field is missing. The example JSON is as under.
Drag-and-Drop output JSON structure:
Paid version output structure:
Is this feature in the testing stage and not available to any paid user? I want to use the character level model confidence, how can I use?
python - Google Vision API がリターンを出力しない
私はPythonでいくつかのスクリプトをいじっていて、これらの画像が結果を返すかどうかを調べようとしています. ただし、python を実行しても何も出力されません。エラーは発生しませんが、理解できないようです。
私はこれらの例に基づいて作業しています
https://cloud.google.com/vision/docs/quickstart-client-libraries#client-libraries-install-python
google-cloud-platform - Cloud Pub/Sub トピックへの他の言語の出力
私は、Google Cloud Functions を Vision API および Translate API と組み合わせて使用して、画像からテキストを抽出し、抽出したテキストをさまざまな言語に翻訳しています。出力は Pub/Sub トピックに渡され、Cloud Storage バケットに保存されます。私の出力が言語用に適切にエンコードされていないことを除いて、すべてのコンポーネントは正常に動作しているように見えるため、「Pâté – Oeufs Mimosa」ではなく「Pâté Oeufs Mimosa」のような文字列が得られます。
私が使用している関連コードは次のとおりです。