Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

python users always seem to have problems understanding, what a file path is, you're no exception.

if F:/pycharm file/webcam.py is your script, then F:/pycharm file/webcam.py/haarcascade_frontalface_default.xml is most likely invalid (webcam.py is not a directory)

i'm guessing you wanted F:/pycharm file/haarcascade_frontalface_default.xml (if it's in the same folder as your script)

python users always seem to have problems understanding, what a file path is, you're no exception.

if F:/pycharm file/webcam.py is your script, then F:/pycharm file/webcam.py/haarcascade_frontalface_default.xml is most likely invalid (webcam.py is not a directory)

i'm guessing you wanted F:/pycharm file/haarcascade_frontalface_default.xml

(if it's in the same folder as your script)

python users always seem to have problems understanding, what a file path is, you're no exception.

if F:/pycharm file/webcam.py is your python script, then

F:/pycharm file/webcam.py/haarcascade_frontalface_default.xmlfile/webcam.py/haarcascade_frontalface_default.xml
 

is most likely invalid (webcam.py is not a directory)

i'm guessing you wanted F:/pycharm file/haarcascade_frontalface_default.xml

(if if it's in the same folder as your script)script, i'm guessing you wanted

F:/pycharm file/haarcascade_frontalface_default.xml

python users always seem it might be hard to have problems understanding, understand, what a file path is, you're no exception.is:

if F:/pycharm file/webcam.py is your python script, then

F:/pycharm file/webcam.py/haarcascade_frontalface_default.xml

is most likely invalid (webcam.py is not a directory)

if it's in the same folder as your script, i'm guessing you wanted

F:/pycharm file/haarcascade_frontalface_default.xml