- Double-click
run_windows.bat - Wait for it to install everything
- Browser will show the app at http://localhost:8000
- Done! 🎉
- Open Command Prompt (search "cmd" in Start menu)
- Type:
cd Handwriting-Recognition-App-03(your folder location) - Type:
pip install -r requirements_fastapi.txt - Type:
python start_server.py - Open browser: http://localhost:8000
- Open Terminal (press Cmd+Space, type "terminal")
- Type:
cd(with space at end) - Drag the
handwriting-fastapifolder into Terminal window - Press Enter
- Type:
./run_mac_linux.sh - Browser will show the app at http://localhost:8000
- Done! 🎉
- Open Terminal
- Type:
cd Handwriting-Recognition-App-03 - Type:
pip3 install -r requirements.txt - Type:
python3 server.py - Open browser: http://localhost:8000
- Open Terminal
- Navigate to folder:
cd /Handwriting-Recognition-App-03 - Run:
./run_mac_linux.sh - Browser will show the app at http://localhost:8000
- Done! 🎉
- Open Terminal
- Type:
cd /Handwriting-Recognition-App-03 - Type:
pip3 install -r requirements.txt - Type:
python3 server.py - Open browser: http://localhost:8000
When you open http://localhost:8000 you'll see:
┌─────────────────────────────────────────┐
│ ✍️ Handwriting Recognition System │
│ AI-Powered Digit Recognition │
├─────────────────────────────────────────┤
│ 📊 Dashboard ✏️ Draw 📁 Upload │
├─────────────────────────────────────────┤
│ │
│ [Draw a digit here and click predict] │
│ │
└─────────────────────────────────────────┘
- Click "✏️ Draw & Predict" tab
- Draw a number (0-9) with your mouse
- Click "🔍 Predict" button
- See the AI's prediction!
- Click "📁 Upload Image" tab
- Drag & drop an image with a handwritten digit
- Get instant prediction!
Windows: Install Python from https://www.python.org/downloads/
Mac: Type brew install python3 (if you have Homebrew)
Linux: Type sudo apt install python3 python3-pip
Mac/Linux: Type chmod +x run_mac_linux.sh then try again
Someone else is using port 8000. Run this instead:
python server.py --port 8001Then go to: http://localhost:8001
Run the install command again:
pip install -r requirements.txt✅ Python 3.8 or newer ✅ 2GB free disk space ✅ Internet connection (for first-time setup) ✅ Any modern web browser
Can't install Python packages?
→ Try: pip install --user -r requirements_fastapi.txt
Server won't start? → Check the terminal for error messages → Red text = error, read what it says
Need to stop the server?
→ Press Ctrl+C in the terminal
Want to run it again? → Just run the same command again!
run_windows.bat./run_mac_linux.shThat's it! 🎉
After running, you should see:
- ✅ "Model loaded successfully" or "No model found" (both OK)
- ✅ "Application will be available at: http://localhost:8000"
- ✅ "INFO: Uvicorn running on http://0.0.0.0:8000"
Then:
- ✅ Open browser
- ✅ Go to http://localhost:8000
- ✅ See the web interface
- ✅ Try drawing a digit!
Now you can:
- ✏️ Draw digits and get predictions
- 📁 Upload images
- 📊 View analytics
- 🔧 Train your own model
- 📈 See prediction history
Have fun! 🚀
- First time? It takes 2-5 minutes to install packages
- Second time? Server starts in seconds!
- Draw clearly for best predictions
- Upload images with clear, large digits
- Check /docs for API documentation at http://localhost:8000/docs
Still stuck? Read HOW_TO_RUN.md for detailed instructions!