Skip to content

Latest commit

 

History

History
 
 

yolo-v2

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

YOLO v2

YOLO v2 model for objects detection from image, video and live stream from webcam. Runs on pre-trained weights, GPU is preferred, CPU works as well.

Papers:

Website:

Setup:

git clone https://github.com/km1414/CNN-models.git
cd CNN-models/yolo-v2
pip3 install -r requirements.txt
python3 yolo.py download_weights 

Run:

Run on picture: python3 run_picture path/to/file. Output will be save to images/. Example:

python3 yolo.py run_picture images/test.jpg

Run on video: python3 run_video path/to/file. Output will be save to images/. Example:

python3 yolo.py run_video images/test.mp4

Run live stream:

python3 yolo.py run_live