Skip to content

dipak0000812/zeoverify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›‘οΈ Zeoverify β€” Decentralized Document Verification

Document verification system powered by:

  • 🧠 AI Engine (Flask, OCR, fraud detection)
  • πŸ”— Blockchain (Hardhat, Solidity)
  • 🌐 Node.js backend (Express, ethers.js)
  • πŸ’» React frontend (Tailwind CSS)

πŸ“¦ Project Structure

zeoverify-3.0/ β”œβ”€β”€ frontend/ # React app β”œβ”€β”€ backend/ # Node.js backend API β”œβ”€β”€ ai-engine/ # Flask AI Engine (OCR + fraud) β”œβ”€β”€ blockchain/ # Hardhat smart contracts └── README.md


---

## πŸ›  How It Works (Flow)

1. User uploads document β†’ frontend sends to backend  
2. Backend:
   - Calls AI Engine β†’ get extracted text & fraud status
   - Stores file hash on blockchain
3. Backend sends result to frontend
4. Frontend shows extracted text, fraud status & hash

---

## βš™οΈ Setup Guide

> Clone repo first:
<<<<<<< HEAD
=======
```bash
>>>>>>> 623d24562f9a3d178ba8c85174340944c954f0c4
git clone https://github.com/dipak0000812/zeoverify.git
cd zeoverify-3.0


πŸ“Œ AI Engine
cd ai-engine
pip install -r requirements.txt
python app.py
Install Tesseract OCR & set path in ocr_engine.py:
pytesseract.pytesseract.tesseract_cmd = r"C:\Program Files\Tesseract-OCR\tesseract.exe"

πŸ“Œ Blockchain (Hardhat)
cd blockchain
npm install
npx hardhat compile
npx hardhat node   # start local blockchain (http://127.0.0.1:8545)
npx hardhat run scripts/deploy.js --network localhost

πŸ“Œ Backend (Node.js)
cd backend
npm install

πŸ“Œ Frontend (React)
cd frontend
npm install
npm start

πŸ”— API Flow
Frontend β†’ POST /api/verify β†’ backend

Backend β†’ AI Engine (POST /verify-document)

AI Engine β†’ returns extracted text & fraud

Backend β†’ stores hash on blockchain

<<<<<<< HEAD
Backend β†’ sends final JSON:
=======
Backend β†’ sends final JSON:
>>>>>>> 623d24562f9a3d178ba8c85174340944c954f0c4

About

verification system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published