1
0

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 3 years have passed since last update.

YOLOv5で物体検出してみる

1
Posted at

YOLOv5で物体検出をしてみたら,とっても簡単に使えることが分かったので,共有.
たったの3行,1分で動かせるので,お手元のColabでやってみては.
レベル高すぎて物体検出の研究をするの諦めたくなりますね.

コード

!git clone https://github.com/ultralytics/yolov5.git
cd yolov5
!python detect.py --source data/images --weights yolov5s.pt --conf 0.25

実験

data/images下に好きな画像を入れてみよう.
runs/detect/exp下に物体検出後の画像が出力される

1
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?