I have to detect face and eye from a video by using opencv, at first I loaded the video and I can see video as output, but after writing the code for eye and face detection and after running the code, I don't have any error, but I don't know why the output window opens and closes fast after one second also, It seems run just for a second and I can see opening the console and output window and then closing them. I put my code and also some thing that I have as output, I'll really appreciate if any one can help me and guide me if there is any mistake in my code`using namespace std;I have to detect face and eye from a video by u