Google Cloud Vision APIが高性能らしいので使いたいのだが私はRしか使えないのでRから使う。 とりあえず手持ちのこの画像のOCRをしたい。 前準備としてAPIキーの取得などがあるので以下を参考にされたし。 http://qiita.com/takaheraw@github/items/e2d8ac9edad4655596a2 コードは以下の通り。 getResult <- function(f, type = "TEXT_DETECTION"){ library("httr") library("base64enc") CROWD_VISION_KEY <- "あなたのキー" u <- paste0("https://vision.googleapis.com/v1/images:annotate?key=", CROWD_VISION_KEY) img <- read
![RからGoogle Cloud Vision APIを使う - 盆栽日記](https://cdn-ak-scissors.b.st-hatena.com/image/square/f508b938f74ed5fea692126b5f22665d36a71a40/height=288;version=1;width=512/https%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fd%2Fdichika%2F20160223%2F20160223195445.png)