Create detect.cpp

This code performs sliding window detection on the given directory of images and writes out the detections to text files.