By using pretrained models like ssd-mobilenets or rcnn nets, this program allows the user to detect objects and people in real time. Supports local webcams, ipcams and .mp4 video files.
Can't optimize Imshow in thread due to opencv not letting imshow run in a thread that's not the main.
From what I've read this is due to a conflict with the cv.waitkey(1) command.
Also python can't run threads on multiple cores due to GIL (global interpreter lock), should be able to optimize with multiprocessing https://stackoverflow.com/questions/7542957/is-python-capable-of-running-on-multiple-cores