BLINKPAY - THINK, BLINK, PAY BlinkPay is an Ai-powered biometric payment system that lets users pay using eye scanning + predefined eye movement patterns.
- User and Vendor Registration with Eye Scan
- Eye Scan Authentication
- Payment Processing
- Vendor Dashboard to Track Payments
- User Dashboard to View Transactions
Eye Authentication System This project implements an eye authentication system using FastAPI and face_recognition. It allows users to register their faces and verify their identity by comparing captured images with stored ones.
Features User and Vendor Registration: Register users and vendors with face scans. Eye Verification: Authenticate users and vendors by comparing captured images with stored ones. Strict Similarity Threshold: Ensure accurate matches with a strict similarity threshold. Image Storage: Store images in designated directories.
- React
- Vite
- React Router
- React Webcam
- Node.js
- Express
- MongoDB
- Mongoose
-OpenCV
- Node.js
- MongoDB
- Navigate to the frontend directory:
cd /Users/harshsharma/Desktop/Desktop/programming/Hackathon/frontend - Install dependencies:
npm install
- Start the development server:
npm run dev
- Navigate to the backend directory:
cd /Users/harshsharma/Desktop/Desktop/programming/Hackathon/backend - Install dependencies:
npm install pip install fastapi uvicorn face_recognition pymongo numpy opencv-python scipy uvicorn main:app --reload
- Create a
.envfile in the backend directory and add the following:PORT=5000 MONGO_URI=mongodb://localhost:27017/
- Start the backend server:
npm run dev
- Open the frontend application in your browser (usually at
http://localhost:3000). - Register as a User or Vendor.
- Use the Eye Scan Authentication to log in.
- Proceed to make payments or view the dashboard.
- URL:
/register_user/ - Method:
POST - Body:
{ "name": "string", "upi_id": "string", "image": "file" }
- URL:
/register_vendor/ - Method:
POST - Body:
{ "name": "string", "upi_id": "string", "image": "file" }
- URL:
/verify_eye/ - Method:
POST - Body:
{ "image": "file" }
/Users/harshsharma/Desktop/Desktop/programming/Hackathon
├── backend
│ ├── .env
│ ├── package.json
│ ├── server.js
│ └── // ...other backend files...
├── frontend
│ ├── src
│ │ ├── assets
│ │ │ ├── home.png
│ │ │ ├── userReg.png
│ │ │ └── eyeVer.png
│ │ ├── pages
│ │ │ ├── Register.jsx
│ │ │ └── Register.css
│ │ └── // ...other frontend files...
│ ├── package.json
│ └── vite.config.js
├── README.md
└── // ...other project files...
- Harsh Sharma
- Abhay
- Awanish Kumar


