NTU-Peak-2/SIngtel-Bill-Scanner
1
Singtel Bill Scanner ๐ฑ๐ก
An AI-powered optical character recognition (OCR) system specifically designed for processing Singtel telecommunications bills.
๐ Try the Live Demo
Upload your Singtel bill image and get instant results!
Features
- ๐ Text Extraction: Uses Microsoft TrOCR for accurate OCR
- ๐ Bill Parsing: Extracts amounts, dates, account numbers
- โก Fast Processing: Real-time results
- ๐ฏ Singtel Optimized: Tailored for Singtel bill formats
- ๐ Privacy First: Images processed locally, not stored
How to Use
- ๐ธ Take a clear photo of your Singtel bill
- ๐ค Upload the image using the interface above
- ๐ Click "Extract Information"
- ๐ View the extracted data
Technical Details
- Model: Microsoft TrOCR (microsoft/trocr-base-handwritten)
- Framework: Streamlit + Hugging Face Transformers
- Processing: ~3-5 seconds per image
- Accuracy: High for clear, well-lit images
Local Installation
git clone https://huggingface.co/spaces/Cosmo125/Singtel_Bill_Scanner
cd Singtel_Bill_Scanner
pip install -r requirements.txt
streamlit run app.pyAPI Usage
from transformers import pipeline
from PIL import Image
# Load model
pipe = pipeline("image-to-text", model="microsoft/trocr-base-handwritten")
# Process image
image = Image.open("bill.jpg")
result = pipe(image)
text = result[0]['generated_text']Team members Ninette Zi Xuan Sai Kamal ---
Created for the Singtel community with โค๏ธ
