A cutting-edge electronic voting system that combines blockchain security, facial recognition authentication, and smart contract technology to ensure transparent and tamper-proof elections.
This project is patent-pending. All rights reserved. Unauthorized access, reproduction, or distribution of the source code is strictly prohibited.
For licensing, collaboration, or access requests:
- 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
- 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
- Ethereum: Blockchain platform
- Ganache: Local blockchain development
- Truffle: Smart contract development framework
- Solidity: Smart contract programming
- DeepFace: Facial recognition and verification
- OpenCV: Image processing
- Twilio: SMS verification service
- HTML5/CSS3: Structure and styling
- JavaScript: Interactive features
- Bootstrap: Responsive design framework
- Python 3.11+
- Node.js & npm
- MongoDB
- Ganache
- Truffle Suite
- Web3.py
- 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
- Ethereum: Blockchain platform
- Ganache: Local blockchain development
- Truffle: Smart contract development framework
- Solidity: Smart contract programming
- DeepFace: Facial recognition and verification
- OpenCV: Image processing
- Twilio: SMS verification service
- HTML5/CSS3: Structure and styling
- JavaScript: Interactive features
- Bootstrap: Responsive design framework
- Python 3.11+
- Node.js & npm
- MongoDB
- Ganache
- Truffle Suite
Setup Steps
-
Clone the repository:
bash git clone https://github.com/DarshanKumarGP/Blockchain-based-ai-powered-voting-system.gitcd Blockchain-based-ai-powered-voting-system -
Create and activate virtual environment:
python -m venv venv
`venv\Scripts\activate`
`source venv/bin/activate`
-
Install dependencies:
bash pip install -r requirements.txt -
Configure environment variables:
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
-
Start MongoDB:
mongod -
Launch Ganache: Open Ganache UI Create new workspace Configure port to 7545 Save workspace settings
-
Deploy smart contracts:
cd blockchaintruffle compiletruffle migrate -
Run the application:
cd voting_system_backendpython manage.py runserver
- Access the registration portal
- Enter required credentials
- Complete facial recognition setup
- Receive SMS verification
- Store login credentials securely
- Login with credentials
- Complete face verification
- Select preferred candidate
- Confirm vote
- Receive blockchain transaction confirmation
For complete setup instructions, source code access, and implementation details, please contact the project owner. This is a patent-pending technology with restricted access.
Blockchain immutability
Biometric authentication
Two-factor verification
Smart contract validation
Real-time monitoring
Transaction encryption
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
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.