Skip to content

tanujgupta18/Driving-License-Verification

Repository files navigation

Driving License Verification

A modern web application built with React, Tailwind CSS, and Google Gemini AI that allows users to upload a driver's license image and automatically extract key information using OCR and AI.


🚀 Features

  • Upload driver's license image
  • Extract raw text via OCR (Optical Character Recognition)
  • Parse structured data using Gemini AI (text-only model)
  • Display extracted info like:
    • Full Name
    • Date of Birth
    • License Number
    • Expiry Date
    • Address
    • Issuing Authority
  • Elegant and responsive UI with Tailwind CSS
  • Lightning-fast dev environment using Vite

🔧 Getting Started

1. Clone the repo

git clone https://github.com/tanujgupta18/Driving-License-Verification.git
cd Driving-License-Verification

2. Install dependencies

npm install

3. Create a .env file

VITE_GEMINI_API_KEY=your_gemini_api_key_here

⚠️ Keep this file private and don’t commit it.

4. Start development server

npm run dev

🖼️ Screenshots

Upload License Extracted Info
Upload UI Result Card

🧪 Built With

Releases

No releases published

Packages

No packages published