by vzbf32 for Software, Systems and Applications III
Make sure you have the following directory structure:
project-root/
README.md
code/
app.py
disparity_engine.py
helpers.py
preprocessor.py
yolo_engine.py
(coco.names)
(yolov3.cfg)
(yolov3.weights)
(TTBB-durham-02-10-17-sub10/)
...
Items surrounded in parentheses (e.g. (coco.names)) above are not included as part of
the source code for this coursework and must be added manually.
You can modify the location of the dataset by updating the master_path_to_dataset variable
at the top of app.py.
- Python 3.7.x
- OpenCV 4.1.x
cd code/
pip3 install opencv-python
python3 app.py
cd code/
opencv4.1.1.init
python3 app.py
- Open
Python 3.7.4 with OpenCV 4.1.1from DU App Hub. - In IDLE, go to
File>Open>code/app.py - In IDLE, go to
Run>Run Module (F5)
Is called CV Video.mp4 and is located in the top directory of this project.