I have made a number guesser program using Python.
How does it work?
- Get input from the user through drawing. (Uses Pygame)
- Convert the image to a 28 by 28 sized NumPy array.
- Extract each number from the image.
- Make each image of a shape of 28 by 28.
- Use machine learning algorithms to predict each number. (Uses TensorFlow)
- Join the predictions and display them in a message box.
Requirements
- Tensorflow
- Pygame
- Matplotlib for visualization
- Numpy
How to run?
- Run the createModel.py to train a model on the MNIST dataset.
- Run main.py that will use the saved model and predict the number inputted through drawing.
- Use the left click to draw, the right-click to erase the drawing, and ENTER key to get the prediction.
How much experience does your group have? Does the project use anything (art, music, starter kits) you didn't create?
I am a self-taught programmer and a high school student.
The following are some of my experience:
- 2 years of programming experience with Python
- I have been participating in online competitive programming contests for the past few months.
- I am learning about machine learning.