Spaces:
Sleeping
Sleeping
updated readme
Browse files
README.md
CHANGED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
title: Number Classifier
|
| 2 |
+
emoji: 📚
|
| 3 |
+
colorFrom: blue
|
| 4 |
+
colorTo: pink
|
| 5 |
+
sdk: docker
|
| 6 |
+
pinned: false
|
| 7 |
+
license: unknown
|
| 8 |
+
short_description: doodle digits to identified number
|
| 9 |
+
Digit Doodle App
|
| 10 |
+
Overview
|
| 11 |
+
The Digit Doodle App is an interactive web application that allows users to draw digits and get real-time predictions using a trained machine learning model. The app provides a simple and engaging way to explore AI-powered handwriting recognition.
|
| 12 |
+
|
| 13 |
+
Features
|
| 14 |
+
Interactive Drawing Canvas: Users can doodle digits on a web-based canvas.
|
| 15 |
+
Real-Time Prediction: The app processes the drawing and predicts the digit using a trained model.
|
| 16 |
+
Machine Learning Integration: Uses a deep learning model trained on handwritten digit datasets.
|
| 17 |
+
Easy Deployment: Hosted on PythonAnywhere for online access.
|
| 18 |
+
Tech Stack
|
| 19 |
+
Frontend: HTML, CSS, JavaScript (Canvas API)
|
| 20 |
+
Backend: Python Flask
|
| 21 |
+
Machine Learning: PyTorch/
|
| 22 |
+
Installation
|
| 23 |
+
To set up the project locally:
|
| 24 |
+
|
| 25 |
+
Clone the repository:
|
| 26 |
+
git clone https://huggingface.co/spaces/sivakum4/numberclassifier
|
| 27 |
+
cd numberclassifier
|
| 28 |
+
Create a virtual environment and install dependencies:
|
| 29 |
+
python -m venv venv
|
| 30 |
+
source venv/bin/activate
|
| 31 |
+
pip install -r requirements.txt
|
| 32 |
+
Run the app locally:
|
| 33 |
+
python server.py
|
| 34 |
+
Open your browser and go to http://127.0.0.1:7860/ to start doodling.
|
| 35 |
+
Usage
|
| 36 |
+
Open the app in a browser.
|
| 37 |
+
Draw a digit (0-9) in the provided canvas.
|
| 38 |
+
Click the "Predict" button to get the model’s prediction.
|
| 39 |
+
Clear the canvas and try again!
|
| 40 |
+
Future Enhancements
|
| 41 |
+
Support for multi-digit recognition.
|
| 42 |
+
Enhance UI for better user experience.
|
| 43 |
+
Contributing
|
| 44 |
+
Contributions are welcome! Feel free to fork the repo, create feature branches, and submit pull requests.
|
| 45 |
+
|