Error while executing the video stream using haarcascades

Sir I implemented the program however, I am getting the follwing error. I have git clone the opencv folder which has the haarcascdes code. Please help sir:

Hello @Charu510, have you placed that haarcascade file in the same folder ?? Or seems like there is some issue with computer vision library?

Yes I have placed in the same folder where the code is:
This is the path:
C:\Users\Charu Anant Rajput\Desktop\Python\opencv\data\haarcascades

Can you pls share your folder and the environment as well. The libraries you have installed in that.

means should I upload the folder in google drive and share the link?

This is the code which I have written:

and the library which I have targetted is in the data folder as follows:

Hello @Charu510, yes I can see the haarcascade file but where is your python file ??
Both the files need to be placed in the same folder or the correct directory should be mentioned.
You have this haarcascade file in the haarcascade folder and probably the path you have mentioned in the python file is not correct.

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.