Skip to content

DarshanKumarGP/Blockchain-based-ai-powered-voting-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Blockchain-Based AI-Driven Secure Voting System πŸ—³οΈ

A cutting-edge electronic voting system that combines blockchain security, facial recognition authentication, and smart contract technology to ensure transparent and tamper-proof elections.

Legal Notice βš–οΈ

This project is patent-pending. All rights reserved. Unauthorized access, reproduction, or distribution of the source code is strictly prohibited.

Contact for Access πŸ“§

For licensing, collaboration, or access requests:

Core Features πŸ”

  • Blockchain-powered vote recording and verification
  • AI-based facial recognition for voter authentication
  • Two-factor authentication with SMS verification
  • Smart contract-based vote validation
  • Real-time vote tracking and monitoring

Technical Stack πŸ› οΈ

Backend Infrastructure

  • Django: Web framework for robust backend development
  • Python 3.11: Core programming language
  • MongoDB: NoSQL database for user management and data storage
  • Web3.py: Ethereum blockchain interaction

Blockchain Components

  • Ethereum: Blockchain platform
  • Ganache: Local blockchain development
  • Truffle: Smart contract development framework
  • Solidity: Smart contract programming

AI & Security

  • DeepFace: Facial recognition and verification
  • OpenCV: Image processing
  • Twilio: SMS verification service

Frontend

  • HTML5/CSS3: Structure and styling
  • JavaScript: Interactive features
  • Bootstrap: Responsive design framework

Installation Guide πŸ“

Prerequisites

  • Python 3.11+
  • Node.js & npm
  • MongoDB
  • Ganache
  • Truffle Suite
  • Web3.py

Technical Stack πŸ› οΈ

Backend Infrastructure

  • Django: Web framework for robust backend development
  • Python 3.11: Core programming language
  • MongoDB: NoSQL database for user management and data storage
  • Web3.py: Ethereum blockchain interaction

Blockchain Components

  • Ethereum: Blockchain platform
  • Ganache: Local blockchain development
  • Truffle: Smart contract development framework
  • Solidity: Smart contract programming

AI & Security

  • DeepFace: Facial recognition and verification
  • OpenCV: Image processing
  • Twilio: SMS verification service

Frontend

  • HTML5/CSS3: Structure and styling
  • JavaScript: Interactive features
  • Bootstrap: Responsive design framework

Installation Guide πŸ“

Prerequisites

  • Python 3.11+
  • Node.js & npm
  • MongoDB
  • Ganache
  • Truffle Suite

Setup Steps

  1. Clone the repository: bash git clone https://github.com/DarshanKumarGP/Blockchain-based-ai-powered-voting-system.git cd Blockchain-based-ai-powered-voting-system

  2. Create and activate virtual environment: python -m venv venv

For Windows

`venv\Scripts\activate`

For Linux/Mac

`source venv/bin/activate`
  1. Install dependencies: bash pip install -r requirements.txt

  2. Configure environment variables:

Create .env file in root directory

TWILIO_ACCOUNT_SID=your_sid
TWILIO_AUTH_TOKEN=your_token
TWILIO_PHONE_NUMBER=your_phone
MONGODB_URI=mongodb://localhost:27017/
BLOCKCHAIN_PRIVATE_KEY=your_private_key
  1. Start MongoDB: mongod

  2. Launch Ganache: Open Ganache UI Create new workspace Configure port to 7545 Save workspace settings

  3. Deploy smart contracts: cd blockchain truffle compile truffle migrate

  4. Run the application: cd voting_system_backend python manage.py runserver

Usage Guide πŸ”

Voter Registration

  1. Access the registration portal
  2. Enter required credentials
  3. Complete facial recognition setup
  4. Receive SMS verification
  5. Store login credentials securely

Casting Vote

  1. Login with credentials
  2. Complete face verification
  3. Select preferred candidate
  4. Confirm vote
  5. Receive blockchain transaction confirmation

Access Requirements πŸ”’

For complete setup instructions, source code access, and implementation details, please contact the project owner. This is a patent-pending technology with restricted access.

Security Features πŸ›‘οΈ

Blockchain immutability
Biometric authentication
Two-factor verification
Smart contract validation
Real-time monitoring
Transaction encryption

System Architecture πŸ—οΈ

Core Components Frontend Layer User Interface Face Detection Module Vote Casting Interface

Backend Services
    Django REST API
    Face Recognition Engine
    SMS Verification Service
Blockchain Layer
    Smart Contracts
    Vote Recording
    Transaction Management
    Database Layer
User Management
    Vote Records
    Authentication Data

Future Enhancements πŸš€

Quantum-resistant encryption
Enhanced biometric features
Cross-chain compatibility
Advanced anti-fraud measures
Global scaling capabilities

License & Usage βš–οΈ Β© 2025 All rights reserved. Patent pending. Unauthorized reproduction or distribution is strictly prohibited.

About

A secure Blockchain-based AI-powered Voting System integrating OTP verification, facial recognition via FaceNet, and decentralized vote storage. Ensures tamper-proof, transparent, and reliable elections while providing a seamless user experience from registration to result display.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors