darknet
darknet copied to clipboard
changes to crop detections in video
Keeping this in mind https://github.com/AlexeyAB/darknet/pull/7282
proposing a simple solution.
show_img is Mat pointer. Just cropping desired portion out of Mat. Useful for cropping detections in video, when src/image_opencv.cpp is used instead of src/image.cpp