
![](https://user-images.githubusercontent.com/13696193/43165867-fe02e3b2-8f62-11e8-9fd0-cc7c86b11772.png)

   

# PySimpleGUI openCV YOLO Deep Learning


![SNAG-0360](https://user-images.githubusercontent.com/13696193/58116963-93d07300-7bcb-11e9-8402-142913710b82.jpg)

![YOLO May 21](https://user-images.githubusercontent.com/13696193/58117189-017c9f00-7bcc-11e9-9569-c65775d15559.gif)



## Running the Demos
  
You will need to pip install openCV and PySimpleGUI
```
pip install opencv-python
pip install pysimplegui
```

Run any of the .py files in the top level directory:
```
yolo.py - single image processing
yolo_video.py Video display
yolo_video_with_webcam.py - webcam or file source. Option to write to hard drive
```
And you'll need the training data.  It's 242 MB and too large for GitHub:
https://www.dropbox.com/s/0pq7le6fwtbarkc/yolov3.weights?dl=1

## Learn More

This code has an article associated with it that will step you through the code (minus GUI part).

https://www.pyimagesearch.com/2018/11/12/yolo-object-detection-with-opencv/


## Acknowledgements
This software is provided by Dr. Adrian Rosebrock of the pyimagesearch organization.
https://www.pyimagesearch.com

