To run the code: type "python detect.py --mode [0, 1, 2] [optional] --path [path_to_jpg]" in terminal. Realtime(0), WebCam(1), Image(2)
Download weights and .cfg from https://pjreddie.com/darknet/yolo/ Convert downloaded files to .h5 file using convert.py