たぶん週刊「今週の進捗」

1週間に勉強したことや実装したことをネタに、週に1回(主に土日に)更新していく予定です。「多分」なので、臨時休刊があってもご海容ください。

10/22~10/28の進捗 : Cloud Vision API と東ゲ部と DTM と

プロつく計画8

Cloud Vision API のクイックスタートを見ながら、API で画像解析をやっていました。

Quickstart  |  Cloud Vision API Documentation  |  Google Cloud

https://storage.googleapis.com/zeitungm-cloudvisionapitutorial-bucket/KIMG0109.JPG

この猫の画像を解析した結果がこちら。

{
  "responses": [
    {
      "labelAnnotations": [
        {
          "mid": "/m/01yrx",
          "description": "cat",
          "score": 0.9761557,
          "topicality": 0.9761557
        },
        {
          "mid": "/m/07k6w8",
          "description": "small to medium sized cats",
          "score": 0.91738826,
          "topicality": 0.91738826
        },
        {
          "mid": "/m/0307l",
          "description": "cat like mammal",
          "score": 0.83707434,
          "topicality": 0.83707434
        },
        {
          "mid": "/m/01l7qd",
          "description": "whiskers",
          "score": 0.72307825,
          "topicality": 0.72307825
        },
        {
          "mid": "/m/06z_nw",
          "description": "tail",
          "score": 0.6656788,
          "topicality": 0.6656788
        },
        {
          "mid": "/m/01c34b",
          "description": "flooring",
          "score": 0.6484307,
          "topicality": 0.6484307
        },
        {
          "mid": "/m/01lrl",
          "description": "carnivoran",
          "score": 0.6203717,
          "topicality": 0.6203717
        },
        {
          "mid": "/m/083vt",
          "description": "wood",
          "score": 0.59894407,
          "topicality": 0.59894407
        },
        {
          "mid": "/m/0l7_8",
          "description": "floor",
          "score": 0.5589108,
          "topicality": 0.5589108
        },
        {
          "mid": "/m/0hjzp",
          "description": "kitten",
          "score": 0.5282443,
          "topicality": 0.5282443
        }
      ]
    }
  ]
}

猫とか猫っぽい生き物とかが検出されている様子。

作曲

東ゲ部の「ブレークビーツでBGMを作ろう♪」講座にて作曲に挑戦しました。

togebu.doorkeeper.jp

で、「明るくてのどかな感じのゲームに使える、イントロのあるBGMにしたいなー」と思って出来たのがこれ。

soundcloud.com

どうしてこうなった…

だけどStudio Oneなら自分のような素人でも作曲できるんじゃ?と思えたのですごい。