Recently I tried dlib videoCapture in my project. In this, I am using two methods in cpp file. One of them is responsible for image and the other for the video part. In both