LoginSignup
2
0

Auto annotation DIY

Last updated at Posted at 2024-03-21

勝手にアノテーション

ターゲット

  • ちょっとAIやってみたい
  • 有名どころの物体検出とちょっと違うものを使いたい
  • 自分で作ったデータをアノテーションさせて学習したい
  • 最後は検出できるようにしたい

(私自身も大したスキルがないので参考になるかですが)

English Summary1

Information

  • Easy to develop original model base object detection
  • It is acceptable for you to annotate accuracy
  • the person who can improve annotation, labeling and other function by your self (please check src directory saved 2 samples for modify)
  • Easy try to use object dection with original dataset

YOLOなど有名どころの学習済みモデルではプリセットIDあり

  • ラベルIDが割り当てられている場合、学習しなくても物体検出の凄さを体感できる
  • 熟成されているので検出力が高い
English Summary2

Information

  • Like a YOLO which is famous object detection model, have been already trained many object with labeling

業務用ならアノテーションのプロに頼むかツールで頑張るか

famous annotation tools

  • 基本的にどれも使い勝手、一長一短ありますので、お好みで
English Summary3

Information

  • In general, we can use annotation software for the data accuracy
  • But It is very tough for us to do it. haha--

軽くオートアノテーションツールを作ってみる

  • 精度はそこそこ
  • 余計なものはNMS(Non-Maximum Suppression,)の調整でなんとかする
  • 似たようなデータを集めてみる

クローンすると一通りのディレクトリとファイルが入ってきます

  • RAW ディレクトリにアノテーション用のデータを入れます
  • データはなるべく属性がそろっている方がいいと思います(人物中など)

オートアノテーションしてみると

annotationsample.JPG

  • モデルはFasterRCNN_ResNet50
  • こちらのもっている情報が大いに関係している
  • ラベル付与スクリプトも別途作ってはあります(改良求む)
English Summary3

Auto annotation sample

annotationsample.JPG

  1. using model is FasterRCNN_ResNet50
  2. If you want to detect specific person or object, you can use custom model code in the src sub directory.

最後に

  • 一般人のPCと初級レベルのスキルでは思い描いているレベルのオートアノテーションはまだまだ。頑張ろうっと。
  • 手軽に使えるので、適当にそれっぽい画像を集めて検出を楽しんでください。
2
0
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
2
0