3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Mask-RCNN の使い方

Last updated at Posted at 2018-11-26

次の記事と同じことを、Arch Linux で行ってみました。
5分でMask-RCNNを試す

ソフトのダウンロード

git clone https://github.com/spmallick/learnopencv.git

mask_rcnn.py は、次のフォルダーにあります。

learnopencv/Mask-RCNN

README.md の指示に従います。

wget http://download.tensorflow.org/models/object_detection/mask_rcnn_inception_v2_coco_2018_01_28.tar.gz
tar zxvf mask_rcnn_inception_v2_coco_2018_01_28.tar.gz

デモを実行

python mask_rcnn.py --image=cars.jpg

次のファイルが作成されます。
cars_mask_rcnn_out_py.jpg

こちらにある、フェデラー選手の写真でテスト
Object Detection and Segmentation in Python with Mask-RCNN
federer.jpg

python mask_rcnn.py --image=federer.jpg

作成されたファイル
federer_mask_rcnn_out_py.jpg

3
2
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
3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?