8000
Skip to content

Repository files navigation

YOLOv3

Update!!! Now you can use Simpsons font when drawing boxes. Just change data/font/FiraMono-Medium.otf by data/font/font_Simpsonfont.ttf in dutils.py.


You can RUN YoloDetectorBot by following to next steps:

1) Download Repository and yolov3(tiny).h5 and put model into models/yolov3(tiny).h5.

2) RUN bot.py using Powershell and command python bot.py

3) or RUN Bot.ipynb

4) Finaly open Telegram Bot: https://web.telegram.org/@YoloDetectorBot and use command /start

alt text


Before to RUN model :

1) Download yolov3.h5 and yolov3(tiny).h5 models and put them into the folder models/ as models/yolov3.h5 and models/yolov3(tiny).h5.
* You can download just yolov3(tiny).h5 and run all on Tiny version of YOLOv3.
2** If you are going to train your own model on VOC Dataset download the dataset using the link below and put it into the folder dataset/ as follows dataset/VOC2007.

RUN model :

To RUN Object Detector on picture:

1) With Notebook: use PictureDetection.ipynb
2) With Windows Powershell: use command: python detect_picture.py

Parameters of detect_picture.py

Parameters Short Commands Full Commands Default value
Image -i --input dog.jpg
Image size -is --input_size 416
Score Threshold -st --score_threshold 0.25
IoUnion Threshold -it --iou_threshold 0.5

To RUN Object Detector on web-camera:

1) With Notebook: use WebDetection.ipynb
2) With Windows Powershell: use command: python detect_web.py

Parameters of detect_web.py

Parameters Short Commands Full Commands Default value
Image size -is --input_size 256
Score Threshold -st --score_threshold 0.25
IoUnion Threshold -it --iou_threshold 0.5
Press q to exit from Web-Detector.

About

A Pytorch implementation of YOLOv3

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0