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
I downloaded the dataset from kaggle https://www.kaggle.com/achrafkhazri/anpr-dataset-tunisian-plates-and-digits
I am getting errors after running $python3 main.py -mode train -d dataset
Traceback (most recent call last): File "main.py", line 23, in data, labels = load_dataset(args.d) File "/Users/biranchi/Desktop/Vettons License Plate Recognition/ANPR/Licence_plate_recognition/tools.py", line 209, in load_dataset gray = cv2.cvtColor(training_digit_image, cv2.COLOR_BGR2GRAY) cv2.error: OpenCV(3.4.2) /Users/travis/build/skvark/opencv-python/opencv/modules/imgproc/src/color.hpp:253: error: (-215:Assertion failed) VScn::contains(scn) && VDcn::contains(dcn) && VDepth::contains(depth) in function 'CvtHelper'
The text was updated successfully, but these errors were encountered:
Same Issue is occurring with my file as well
Sorry, something went wrong.
Try python version 3.5.5 and opencv 4.1.1.26
the problem was from the image, it was graysclae and not RGB
No branches or pull requests
I downloaded the dataset from kaggle
https://www.kaggle.com/achrafkhazri/anpr-dataset-tunisian-plates-and-digits
I am getting errors after running
$python3 main.py -mode train -d dataset
Traceback (most recent call last):
File "main.py", line 23, in
data, labels = load_dataset(args.d)
File "/Users/biranchi/Desktop/Vettons License Plate Recognition/ANPR/Licence_plate_recognition/tools.py", line 209, in load_dataset
gray = cv2.cvtColor(training_digit_image, cv2.COLOR_BGR2GRAY)
cv2.error: OpenCV(3.4.2) /Users/travis/build/skvark/opencv-python/opencv/modules/imgproc/src/color.hpp:253: error: (-215:Assertion failed) VScn::contains(scn) && VDcn::contains(dcn) && VDepth::contains(depth) in function 'CvtHelper'
The text was updated successfully, but these errors were encountered: