Yolo object detection with python

download required files

make build_image
make download

Docker version

  1. install docker
    https://docs.docker.com/desktop/mac/install/

  2. build image to run object detection

  1. run with docker image

# make run.simple {target-file} {output-file-name}
make run.simple FILENAME=data/kite.jpg OUTPUTFILENAME=kite_observed.jpg

conda version

  1. install conda

https://ikaros79.tistory.com/entry/Mac%EC%97%90%EC%84%9C-%EC%95%84%EB%82%98%EC%BD%98%EB%8B%A4-%EC%84%A4%EC%B9%98%ED%95%98%EB%8A%94-%EB%B0%A9%EB%B2%95

  1. build conda env

make conda.build.env

  1. run virtual environment

conda activate yolo_python

  1. run following commands

image

#python detect_simple.py {image dir} {output-file-name}
python detect_simple.py ./data/kite.jpg kite_observed.jpg

video