-
Notifications
You must be signed in to change notification settings - Fork 24
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
NameError: name 'Canvas' is not defined #6
Comments
Have you installed all the missing dependencies? |
I think Tkinter is not available anymore so used this- import tkinter as tk |
this is working |
Thank you it solves my problem |
Enter choice - 1
1
<1> Calculate accuracy
<2> Recognize letter
<3> Train again
Exit
Enter choice - 2
Traceback (most recent call last):
File "", line 164, in
recognise_letter()
File "", line 115, in recognise_letter
letter_loc = get_image_src()
File "E:\Shezartech\OCR\English\Handwriting-Recognition-master\Python\painte.py", line 71, in get_image_src
init_set()
File "E:\Shezartech\OCR\English\Handwriting-Recognition-master\Python\painte.py", line 37, in init_set
w = Canvas(master, width=canvas_width, height=canvas_height + 20)
NameError: name 'Canvas' is not defined
The text was updated successfully, but these errors were encountered: