Fish object detection with YOLOv3 on opencv-python.
First, download the pretrained weights from here and put it to yolo-fish
directory.
Then type the following commands (assuming you are using conda
):
$ conda create -n fish-opencv-yolo-python python=3.6 pip
$ conda activate fish-opencv-yolo-python
$ pip install -r requirements.txt
$ python yolo.py --image ./images/DSC_0061.JPG --yolo yolo-fish
This project is originated from below pyimagesearch article: