Darknet: Make a prediction for YOLOv4 using python3 (without OpenCV) ?

Created on 26 Jun 2020  路  2Comments  路  Source: AlexeyAB/darknet

Hello !
how can i make prediction with Yolov4 using python3 ?
i have already tested with OpenCV ( version : 3.4.2 & version 4.3.0) but it doesn't work.

i trained yolov4 by this cfg file :
https://github.com/AlexeyAB/darknet/blob/master/cfg/yolov4-custom.cfg

is there any script to make prediction by Keras or Pytorch ?

thank you :+1:

Most helpful comment

https://pypi.org/project/yolov4/

Just do

python3 -m pip install yolov4

to use Yolov4 with TensorFlow in Python.

All 2 comments

You can use darknet_video.py script to do prediction with Yolov4.

https://pypi.org/project/yolov4/

Just do

python3 -m pip install yolov4

to use Yolov4 with TensorFlow in Python.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Yumin-Sun-00 picture Yumin-Sun-00  路  3Comments

HanSeYeong picture HanSeYeong  路  3Comments

yongcong1415 picture yongcong1415  路  3Comments

Cipusha picture Cipusha  路  3Comments

Jacky3213 picture Jacky3213  路  3Comments