Skip to content

The Smart Election System is a Python application that secures the voting process using facial recognition and Aadhar number verification. It captures face data via a webcam and stores votes in CSV files. Key technologies include OpenCV, pickle, numpy, and sklearn, ensuring a robust and efficient voting system.

License

Notifications You must be signed in to change notification settings

pkprajapati7402/Smart-Election-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎉 Smart Election System 🎉

Welcome to the Smart Election System project! This Python-based application uses facial recognition and Aadhar number verification to securely register voters and store votes. The system captures face data via a primary webcam and saves votes in CSV files.

📑 Table of Contents

🌟 Introduction

The Smart Election System is designed to streamline and secure the voting process by leveraging facial recognition technology and Aadhar number verification. This system ensures that only verified individuals can vote, and it records votes in a tamper-proof manner.

🚀 Features

  • Face Registration: Capture and store face data using the primary webcam.
  • Aadhar Verification: Verify voter identity using their Aadhar number.
  • Voting: Securely cast and record votes in CSV files.
  • Data Persistence: Use of pickle for data serialization and storage.
  • Cross-platform Compatibility: Works on Windows with win32com.client library support.

🛠️ Installation

  1. Clone the Repository:

    git clone https://github.com/pkprajapati7402/smart-election-system.git
    cd smart-election-system
  2. Create a Virtual Environment:

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  3. Install Dependencies:

    pip install -r requirements.txt

🚦 Usage

  1. Run the Application:

    python give_vote.py
  2. Register Voter:

    • Follow the on-screen instructions to capture face data using the webcam.
    • Enter the Aadhar number for verification.
  3. Cast Vote:

    • Verified users can cast their vote, which will be saved in a CSV file.

📁 Project Structure

smart-election-system/
│
├── data/
│  
│   ├── faces_data.pkl
│   ├── names.pkl
│
├── src/
│   ├── background.png
│   ├── votes.csv
│   ├── add_faces.py
│   ├── give_vote.py
│
├── README.md
├── requirements.txt
└── LICENSE

📦 Dependencies

  • cv2 (OpenCV): For capturing and processing face images.
  • pickle: For serializing and deserializing Python object structures.
  • numpy: For numerical operations.
  • os: For interacting with the operating system.
  • csv: For reading and writing CSV files.
  • time: For time-related functions.
  • win32com.client: For Windows-specific COM client operations.
  • sklearn: For machine learning algorithms and data processing.

📜 License

This project is licensed under the MIT License. See the LICENSE file for details.

🤝 Contributing

Contributions are welcome!

🙏 Acknowledgements

  • The OpenCV library for providing the tools necessary for computer vision tasks.
  • The developers of sklearn for providing robust machine learning utilities.
  • All contributors and users who help improve this project.

Feel free to create an issue or pull request if you have any questions or improvements. Happy coding! 🎨✨

About

The Smart Election System is a Python application that secures the voting process using facial recognition and Aadhar number verification. It captures face data via a webcam and stores votes in CSV files. Key technologies include OpenCV, pickle, numpy, and sklearn, ensuring a robust and efficient voting system.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages