This solution is designed to work on Windows 10. It may work on Linux, but some modifications may be required.
This solution expects a working GPU.
Python 3 is required.
Darknet download source: https://github.com/AlexeyAB/darknet

Up-to-date installation instructions are presented on the README of this github project. Before compilation, copy yolo_console_dll.cpp file to darknet/src.
After compilation, st_t.py should be put into darknet/build_win_release/Release. The file needs to be edited with valid video source addresses.