-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
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
yml file is not getting created #24
Comments
same error for me too |
change this (cam = cv2.VideoCapture(0) ) to cam = cv2.VideoCapture(0,cv2.CAP_DSHOW) in train.py |
it didnot work |
create TrainingImageLabel folder and make a trainner.yml text file on it |
am unable to load yml file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\tkinter_init_.py", line 1705, in call
return self.func(*args)
File "train.py", line 194, in TrackImages
recognizer.read("Trainner.yml")
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv_contrib\modules\face\src\facerec.cpp:61: error: (-2:Unspecified error) File can't be opened for reading! in function 'cv::face::FaceRecognizer::read'
I can understand that yml file is not getting created as there is not TrainingImageLabel folder
The text was updated successfully, but these errors were encountered: