Skip to content

Latest commit

 

History

History
105 lines (74 loc) · 2.09 KB

File metadata and controls

105 lines (74 loc) · 2.09 KB

CAPTCHA Using Python Tkinter

This project is a CAPTCHA verification system developed using Python and Tkinter.
It demonstrates GUI programming, CAPTCHA generation, and user input validation.

The application generates a random numeric CAPTCHA image, verifies user input, and provides visual feedback for correct and incorrect entries.


🎯 Objective

The objective of this project is to:

  • Learn GUI programming using Tkinter
  • Implement image-based CAPTCHA verification
  • Improve user interaction using animations and feedback

🛠 Technologies Used

  • Python
  • Tkinter
  • captcha library
  • Pillow (PIL)
  • Random and Time modules

✨ Features

  • Random 6-digit numeric CAPTCHA
  • CAPTCHA displayed as an image
  • CAPTCHA verification system
  • Refresh CAPTCHA option
  • Window shake animation for incorrect input
  • Loading spinner animation
  • Simple and user-friendly GUI

📂 Project Structure

captcha-using-python-tkinter/
│
├── Captcha_Genrator.py
├── out.png
├── fonts/
│   └── arial.ttf
└── README.md

⚙️ Installation and Execution

Step 1: Clone the Repository

git clone https://github.com/your-username/captcha-using-python-tkinter.git
cd captcha-using-python-tkinter

Step 2: Install Required Libraries

pip install captcha pillow

Step 3: Run the Application

python Captcha_Genrator.py

🧠 Working Principle

  • A random 6-digit CAPTCHA is generated.
  • The CAPTCHA image is displayed in the GUI.
  • The user enters the CAPTCHA text.
  • Correct input shows a success message.
  • Incorrect input shakes the window and displays an error.
  • CAPTCHA refreshes automatically after each attempt.

🚀 Future Enhancements

  • Alphanumeric CAPTCHA
  • CAPTCHA expiration timer
  • Improved UI design
  • Dark mode support

📜 License

This project is developed for educational purposes and is free to use and modify.


👤 Author

Chandrakanta panda
Developer | Python Developer
GitHub: https://github.com/chandrakantapanda