Simple script to run object detection from a webcam using opencv and matplotlib, using a gluon-cv SSD pretrained model with a mobilenet backend.
depends on:
cv2
matplotlib
mxnet
gluoncv
numpy
usage, on MacOS:
pythonw detection.py
Note, on MacOS, you need to install python as a framework, see this page
for conda environments, simply run:
conda install python.app
Result: