2018-11-20 13:52:25 +00:00
|
|
|
|
|
|
|
![](https://user-images.githubusercontent.com/13696193/43165867-fe02e3b2-8f62-11e8-9fd0-cc7c86b11772.png)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# PySimpleGUI openCV YOLO Deep Learning
|
|
|
|
|
|
|
|
## 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
|
|
|
|
|
|
|
|
|
|
|
|
## Acknowledgements
|
|
|
|
This software is provided by Dr. Adrian Rosebrock of the pyimagesearch organization.
|
|
|
|
https://www.pyimagesearch.com
|
|
|
|
|