This Face recognitiuon code opens a lot of windows in my pc

As we can see in video that in the sir’s pc only 2 windows opens i.e one for complete image and other for facial part

Same thing happened with me in the intro OpenCV video by sir
In that he opened two windows i.e one for grayscaled vide and other colored

Please tell what is the change that I should make to my code

Hello @Naman-Taneja-2420178691408660, pls share your code and check how many times you are passing the command for opening the window. And make sure that it is not under any loop because the most probable reason is that may be you put it inside any loop.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.