We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where is C:/ProgramData/Anaconda3/envs/tensorflow/Library/etc/haarcascades/haarcascade_frontalface_default.xml????
The text was updated successfully, but these errors were encountered:
It is where opencv installed. You can find it as illustrated below.
import cv2 def get_opencv_path(): opencv_home = cv2.__file__ folders = opencv_home.split(os.path.sep)[0:-1] path = folders[0] for folder in folders[1:]: path = path + "/" + folder face_detector_path = path+"/data/haarcascade_frontalface_default.xml" eye_detector_path = path+"/data/haarcascade_eye.xml" if os.path.isfile(face_detector_path) != True: raise ValueError("Confirm that opencv is installed on your environment! Expected path ",face_detector_path," violated.") return path+"/data/" print("your haarcascade xml is here: ", get_opencv_path())
Sorry, something went wrong.
No branches or pull requests
Where is C:/ProgramData/Anaconda3/envs/tensorflow/Library/etc/haarcascades/haarcascade_frontalface_default.xml????
The text was updated successfully, but these errors were encountered: