nprogram’s blog

気ままに、プログラミングのトピックについて書いていきます

2023-07-30から1日間の記事一覧

Google Cloud Translationを用いて、各言語に同時に翻訳実行します

翻訳の自動化について 翻訳の自動化はGoogle Cloud Translation以外には、DeepLのAPIを用いることも可能です Google Translate Sample # Imports the Google Cloud Translation library from google.cloud import translate import pandas as pd # Initializ…

Google Cloud Vision API

Google Cloud Visionの設定について Cloud Vision の設定とクリーンアップ Google Cloud Vision APIサンプルコード 画像から文字列を抽出して、実際に取り出してきた値と期待値を比較して類似度を求めます import io import os import difflib from google.c…