├── .dockerignore ├── .gitattributes ├── .gitignore ├── LICENSE ├── README.md ├── appendix_1 └── numba_iou.ipynb ├── chapter1 ├── chapter1.py ├── pencilsketch_bg.jpg ├── tools.py └── wx_gui.py ├── chapter10 ├── classes.py ├── demo.mp4 ├── frozen_inference_graph.pb ├── main.py ├── sort.py └── ssd_mobilenet_v1_coco_2017_11_17.pbtxt.txt ├── chapter2 ├── chapter2.py ├── frame_reader.py └── gestures.py ├── chapter3 ├── chapter3.py ├── feature_matching.py ├── train.png └── wx_gui.py ├── chapter4 ├── calibrate.py ├── chapter4.py ├── fountain_dense │ ├── 0000.png │ ├── 0001.png │ ├── 0002.png │ ├── 0003.png │ ├── 0004.png │ ├── 0005.png │ ├── 0006.png │ ├── 0007.png │ ├── 0008.png │ ├── 0009.png │ └── 0010.png ├── scene3D.py └── wx_gui.py ├── chapter5 ├── common.py ├── gamma_correct.py ├── hdr.py └── panorama.py ├── chapter6 ├── chapter6.py ├── saliency.py ├── soccer.avi ├── tracking.py └── tracking_api.py ├── chapter7 ├── chapter7.py ├── data │ ├── .gitignore │ ├── __init__.py │ ├── gtsrb.py │ └── process.py └── train_tf2.py ├── chapter8 ├── .gitignore ├── chapter8.py ├── data │ ├── .gitignore │ ├── process.py │ └── store.py ├── detectors.py ├── params │ ├── haarcascade_frontalface_default.xml │ ├── haarcascade_lefteye_2splits.xml │ └── haarcascade_righteye_2splits.xml ├── train_classifier.py └── wx_gui.py ├── chapter9 ├── classification.py ├── data.py ├── inference.py └── localization.py ├── dockerfiles ├── Dockerfile └── gpu.Dockerfile ├── requirements.txt ├── wheels └── wxPython-4.0.7.post2-cp38-cp38-linux_x86_64.whl └── wx_gui.py /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/.dockerignore -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/README.md -------------------------------------------------------------------------------- /appendix_1/numba_iou.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/appendix_1/numba_iou.ipynb -------------------------------------------------------------------------------- /chapter1/chapter1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter1/chapter1.py -------------------------------------------------------------------------------- /chapter1/pencilsketch_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter1/pencilsketch_bg.jpg -------------------------------------------------------------------------------- /chapter1/tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter1/tools.py -------------------------------------------------------------------------------- /chapter1/wx_gui.py: -------------------------------------------------------------------------------- 1 | ../wx_gui.py -------------------------------------------------------------------------------- /chapter10/classes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter10/classes.py -------------------------------------------------------------------------------- /chapter10/demo.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter10/demo.mp4 -------------------------------------------------------------------------------- /chapter10/frozen_inference_graph.pb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter10/frozen_inference_graph.pb -------------------------------------------------------------------------------- /chapter10/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter10/main.py -------------------------------------------------------------------------------- /chapter10/sort.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter10/sort.py -------------------------------------------------------------------------------- /chapter10/ssd_mobilenet_v1_coco_2017_11_17.pbtxt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter10/ssd_mobilenet_v1_coco_2017_11_17.pbtxt.txt -------------------------------------------------------------------------------- /chapter2/chapter2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter2/chapter2.py -------------------------------------------------------------------------------- /chapter2/frame_reader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter2/frame_reader.py -------------------------------------------------------------------------------- /chapter2/gestures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter2/gestures.py -------------------------------------------------------------------------------- /chapter3/chapter3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter3/chapter3.py -------------------------------------------------------------------------------- /chapter3/feature_matching.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter3/feature_matching.py -------------------------------------------------------------------------------- /chapter3/train.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter3/train.png -------------------------------------------------------------------------------- /chapter3/wx_gui.py: -------------------------------------------------------------------------------- 1 | ../wx_gui.py -------------------------------------------------------------------------------- /chapter4/calibrate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter4/calibrate.py -------------------------------------------------------------------------------- /chapter4/chapter4.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter4/chapter4.py -------------------------------------------------------------------------------- /chapter4/fountain_dense/0000.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter4/fountain_dense/0000.png -------------------------------------------------------------------------------- /chapter4/fountain_dense/0001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter4/fountain_dense/0001.png -------------------------------------------------------------------------------- /chapter4/fountain_dense/0002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter4/fountain_dense/0002.png -------------------------------------------------------------------------------- /chapter4/fountain_dense/0003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter4/fountain_dense/0003.png -------------------------------------------------------------------------------- /chapter4/fountain_dense/0004.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter4/fountain_dense/0004.png -------------------------------------------------------------------------------- /chapter4/fountain_dense/0005.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter4/fountain_dense/0005.png -------------------------------------------------------------------------------- /chapter4/fountain_dense/0006.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter4/fountain_dense/0006.png -------------------------------------------------------------------------------- /chapter4/fountain_dense/0007.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter4/fountain_dense/0007.png -------------------------------------------------------------------------------- /chapter4/fountain_dense/0008.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter4/fountain_dense/0008.png -------------------------------------------------------------------------------- /chapter4/fountain_dense/0009.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter4/fountain_dense/0009.png -------------------------------------------------------------------------------- /chapter4/fountain_dense/0010.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter4/fountain_dense/0010.png -------------------------------------------------------------------------------- /chapter4/scene3D.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter4/scene3D.py -------------------------------------------------------------------------------- /chapter4/wx_gui.py: -------------------------------------------------------------------------------- 1 | ../wx_gui.py -------------------------------------------------------------------------------- /chapter5/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter5/common.py -------------------------------------------------------------------------------- /chapter5/gamma_correct.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter5/gamma_correct.py -------------------------------------------------------------------------------- /chapter5/hdr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter5/hdr.py -------------------------------------------------------------------------------- /chapter5/panorama.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter5/panorama.py -------------------------------------------------------------------------------- /chapter6/chapter6.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter6/chapter6.py -------------------------------------------------------------------------------- /chapter6/saliency.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter6/saliency.py -------------------------------------------------------------------------------- /chapter6/soccer.avi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter6/soccer.avi -------------------------------------------------------------------------------- /chapter6/tracking.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter6/tracking.py -------------------------------------------------------------------------------- /chapter6/tracking_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter6/tracking_api.py -------------------------------------------------------------------------------- /chapter7/chapter7.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter7/chapter7.py -------------------------------------------------------------------------------- /chapter7/data/.gitignore: -------------------------------------------------------------------------------- 1 | *.zip 2 | -------------------------------------------------------------------------------- /chapter7/data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter7/data/gtsrb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter7/data/gtsrb.py -------------------------------------------------------------------------------- /chapter7/data/process.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter7/data/process.py -------------------------------------------------------------------------------- /chapter7/train_tf2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter7/train_tf2.py -------------------------------------------------------------------------------- /chapter8/.gitignore: -------------------------------------------------------------------------------- 1 | media/ 2 | -------------------------------------------------------------------------------- /chapter8/chapter8.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter8/chapter8.py -------------------------------------------------------------------------------- /chapter8/data/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter8/data/.gitignore -------------------------------------------------------------------------------- /chapter8/data/process.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter8/data/process.py -------------------------------------------------------------------------------- /chapter8/data/store.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter8/data/store.py -------------------------------------------------------------------------------- /chapter8/detectors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter8/detectors.py -------------------------------------------------------------------------------- /chapter8/params/haarcascade_frontalface_default.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter8/params/haarcascade_frontalface_default.xml -------------------------------------------------------------------------------- /chapter8/params/haarcascade_lefteye_2splits.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter8/params/haarcascade_lefteye_2splits.xml -------------------------------------------------------------------------------- /chapter8/params/haarcascade_righteye_2splits.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter8/params/haarcascade_righteye_2splits.xml -------------------------------------------------------------------------------- /chapter8/train_classifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter8/train_classifier.py -------------------------------------------------------------------------------- /chapter8/wx_gui.py: -------------------------------------------------------------------------------- 1 | ../wx_gui.py -------------------------------------------------------------------------------- /chapter9/classification.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter9/classification.py -------------------------------------------------------------------------------- /chapter9/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter9/data.py -------------------------------------------------------------------------------- /chapter9/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter9/inference.py -------------------------------------------------------------------------------- /chapter9/localization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/chapter9/localization.py -------------------------------------------------------------------------------- /dockerfiles/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/dockerfiles/Dockerfile -------------------------------------------------------------------------------- /dockerfiles/gpu.Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/dockerfiles/gpu.Dockerfile -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/requirements.txt -------------------------------------------------------------------------------- /wheels/wxPython-4.0.7.post2-cp38-cp38-linux_x86_64.whl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/wheels/wxPython-4.0.7.post2-cp38-cp38-linux_x86_64.whl -------------------------------------------------------------------------------- /wx_gui.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/HEAD/wx_gui.py --------------------------------------------------------------------------------