Hackathon: Secure AI Software and Systems Hackathon 2026 Organizers: IIT Madras × BITS Goa (ISEA Phase-III) Challenge: Problem Statement 3 — Document Forgery Detection (Blue Team)
Open this folder in VS Code, open the Terminal (Ctrl + `) and run:
pip install -r requirements.txt
Open app.py, find line 13 and replace:
GEMINI_API_KEY = os.environ.get("GEMINI_API_KEY", "YOUR_GEMINI_API_KEY_HERE")with your actual key:
GEMINI_API_KEY = os.environ.get("GEMINI_API_KEY", "AIza...your-real-key...")python app.py
Open browser → http://localhost:5000
| Requirement | Implementation |
|---|---|
| OCR + ML for text integrity | Gemini vision extracts & checks all text |
| Signature & seal verification | Dedicated authenticity scores (0-100) |
| Blockchain integration | SHA-256 block with merkle root per analysis |
| Forensic report with confidence scores | Downloadable .txt report + dashboard |
| Multi-modal visual + textual analysis | 6-layer pipeline fusing both modalities |
See the Datasets tab in the app for full descriptions and links to:
- NaviDoMass Forgery Dataset
- FD-VIED Dataset
- CASIA Image Tampering Dataset
- DocTamper Dataset (170k documents)
- Document Forgery Detection Dataset (Roboflow)
forgery-detector/
├── app.py ← Flask backend + Gemini API + report export
├── requirements.txt ← Python dependencies
├── README.md
└── templates/
└── index.html ← Full frontend (Analyze + Datasets + Methodology tabs)
- Flask — free Python web framework
- Gemini 1.5 Flash — free tier (15 req/min, 1M tokens/day)
- PyMuPDF — free PDF processing
- No cloud services, no billing, runs entirely on your laptop
Secure AI Software and Systems Hackathon 2026 — IIT Madras × BITS Goa