Skip to content

A calculator that uses handwritten ಕನ್ನಡ (Kannada) digits and operators to calculate the result, using contour detection and CNN model prediction. Tensorflow (Keras) is used to create, train and load the neural network model used for predictions. CustomTKinter is used to provide the GUI. OpenCV and Pillow (PIL) are used for contour detection..

Notifications You must be signed in to change notification settings

ShettySach/Kannada-Handwriting-Calculator

Repository files navigation

Kannada-Handwriting-Calculator

A calculator that uses handwritten ಕನ್ನಡ (Kannada) digits and operators to calculate the result, using contour detection and CNN model prediction.

  • Tensorflow (Keras) is used to create, train and load the neural network model used for predictions.
  • CustomTKinter is used to provide the GUI.
  • OpenCV and Pillow (PIL) are used to read input from the GUI canvas and to obtain contours for individual digits/operators.
  • The individual digits/operators are detected and predicted. The predictions are combined into a string and evaluated to get the result.

demo0

Contour boxes (green), predicted values (blue) and accuracies (red)

Contours

Requirements -

pip install -r requirements.txt
  • Tensorflow (Keras)
  • OpenCV
  • Pillow (PIL)
  • Pandas
  • Numpy
  • CustomTkinter

Instructions -

  • Clone the repo and run the Jupyter notebook, MAIN.ipynb or run MAIN.py
  • You can use Kannada digits ೦ ೧ ೨ ೩ ೪ ೫ ೬ ೭ ೮ ೯, operators + - × /, decimal point . and parentheses ()
  • You can also use ×× for exponentiation and // for floor division

Data

About

A calculator that uses handwritten ಕನ್ನಡ (Kannada) digits and operators to calculate the result, using contour detection and CNN model prediction. Tensorflow (Keras) is used to create, train and load the neural network model used for predictions. CustomTKinter is used to provide the GUI. OpenCV and Pillow (PIL) are used for contour detection..

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published