CoolFace
Apppublic

NTU-Peak-2/SIngtel-Bill-Scanner

sourceHugging Faceupdated 1y agoView on Hugging Face
1likes
App README

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

  1. 1.๐Ÿ“ธ Take a clear photo of your Singtel bill
  2. 2.๐Ÿ“ค Upload the image using the interface above
  3. 3.๐Ÿ” Click "Extract Information"
  4. 4.๐Ÿ“Š 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

bash
git clone https://huggingface.co/spaces/Cosmo125/Singtel_Bill_Scanner
cd Singtel_Bill_Scanner
pip install -r requirements.txt
streamlit run app.py

API Usage

python
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 โค๏ธ