Created Object Detection Window and made changes to Form1. Look at processDetectionBtn_Click method in ObjectDetectionWindow.h-- it contains the click action to perform the object detection functionality.