LoginSignup
8
3

More than 3 years have passed since last update.

jsonに変換不要。Create MLのObject DetectionにIBM Cloud Annotationsをつかう

Last updated at Posted at 2020-07-28

Create MLのデータ形式をサポート

物体検出(Object Detection)用の注釈ツールは色々とありますが、
Create MLでMLObject Detectorをトレーニングするなら、IBM Cloud Annotationsが便利です。

Create ML対応のデータ形式(json)で直接出力できるからです。

他のツールでは、xml、txt、csvからjsonに変換する作業が必要になります。
(Create ML対応json形式例↓)

annotations.json
[{"image":"pets0.jpg","annotations":[{"label":"cat","coordinates":{"x":348,"y":380,"width":113,"height":74}},{"label":"dog","coordinates":{"x":589,"y":390,"width":122,"height":75}}]},{"image":"pets1.jpg","annotations":[{"label":"cat","coordinates":{"x":233,"y":670,"width":238,"height":169}},

無料で簡単に使える

1、ドラッグで境界ボックスをつける。
2、「File」から「Export As Create ML」を選ぶ。
これで画像とjsonのフォルダが保存され、そのままCreate ML Object Detection のデータとして参照できます。

Tips

iPhoneのフルサイズでとった写真は、そのままアップロードすると時間がかかるので、サイズを小さくしてからアップすると速いです(どうせフルサイズでMLObjectDetectorにかけるわけではない。299 * 299ぐらいあればいい)。

機械学習関連の情報を発信しています。
MLBoysだいすけ https://twitter.com/JackdeS11
MLBoysゆうじ https://twitter.com/oka_yuuji

Core MLやCreate ML、Visionを使ったアプリを作っています。
rockyshikoku@gmail.com

Looks Good To Me(わるくないね)おねがいします。
            ↓

8
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
3