Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vishalshenoy2002/digit-recognition
This a Machine Learning Project which Recognises handwritten digits .i.e. 0 to 9.
https://github.com/vishalshenoy2002/digit-recognition
hand-written-recognition keras keras-tensorflow machine-learning python python-3 python3 tenserflow
Last synced: 4 days ago
JSON representation
This a Machine Learning Project which Recognises handwritten digits .i.e. 0 to 9.
- Host: GitHub
- URL: https://github.com/vishalshenoy2002/digit-recognition
- Owner: VishalShenoy2002
- License: gpl-3.0
- Created: 2022-01-18T13:48:03.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-22T01:30:49.000Z (almost 3 years ago)
- Last Synced: 2024-11-14T05:22:46.201Z (2 months ago)
- Topics: hand-written-recognition, keras, keras-tensorflow, machine-learning, python, python-3, python3, tenserflow
- Language: Python
- Homepage:
- Size: 74.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Digit-Recognition
Handwritten digit recognition is the ability of a computer to recognize the human handwritten digits from different sources like images, papers, touch screens, etc, and classify them into 10 predefined classes (0-9).
The Program is written using the Python Programming Language. It uses the following Python Libraries:
1. Tensorflow
2. Numpy
3. OS
4. Open Cv (cv2)
5. Matplotlib## Steps to Follow
Please Follow the following steps to run the program without error:
1. First Check if all the modules or libraries are installed. If not run the following command
```
pip install tensorflow numpy opencv-python matplotlib
```2. Once all the Libraries or Modules are Installed run the following command. This will train and creae the model and will save it
```
python .\model.py
```3. Once the Model is created, run the main program.
```
python .\main.py
```***Note:***
The Pics folder contains 85 hand written images which are of 28x28 pixels in size.
If you want to use your own pictures you can add it in the Pics folder but make sure it is 28x28 pixels in size.## Summary Of the Model
The Model has 3 Layers. They are as follows:
1. Flatten Layer
2. Dense Layer
3. Dense LayerThe Summary Table is given below
```
Model: "sequential"
_________________________________________________________________
Layer (type) Output Shape Param #
=================================================================
flatten (Flatten) (None, 784) 0dense (Dense) (None, 128) 100480
dense_1 (Dense) (None, 10) 1290
=================================================================
Total params: 101,770
Trainable params: 101,770
Non-trainable params: 0
_________________________________________________________________
```## Suggestion
If you are running a device with 32 bit architecture or a device with less RAM you can use the Google Colab or [Google Colabtory](https://colab.research.google.com/?utm_source=scs-index) because while training the model, it will consume over 80% of you CPU and RAM.