You are on page 1of 9

PRE – SUBMISSION REPORT OF PROJECT

INT213: PYTHON MINI PROJECT

TOPIC: TEXT BASED CAPTCHA USING PYTHON

TEAM NO. – 18 MEMBERS:

NAME REGN NO. ROLL NO. SIGNATURE

PRADIPTA DUTTA 12114094 RK21PDB51

BADAL KUMAR 12101084 RK21PDB59

MOHAMED SULIMAN 12100012 RK21PDA06

UNDER THE GUIDANCE OF OUR TEACHER


“DR. RAMANDEEP SANDHU”

SUBMITTED TO: -

“SCHOOL OF COMPUTER SCIENCE AND ENGENEERING”

PHAGWARA, PUNJAB
SEPTEMBER 30,2022

1|Page
INTRODUCTION

CAPTCHA prevents spam in website comment sections and on blogs. Many spammers bombard
comment sections with links to increase search engine rankings. The test makes sure only humans
comment and users don’t have to sign in beforehand to leave a comment. CAPTCHA stands for the
Completely Automated Public Turing test to tell Computers and Humans Apart. CAPTCHAs are tools
you can use to differentiate between real users and automated users. For example, identifying stretched
letters or numbers, or clicking in a specific area.
Captchas are, by definition, fully automated, requiring little human maintenance or intervention to
administer, producing benefits in cost and reliability. The most common, typical CAPTCHA Code is a
text-based image with distorted letters of different fonts, blurry or confusing backgrounds with random
lines. The user is asked to re-enter the letters or numbers to obtain services. If the user fails, then the
access is denied.

CAPTCHA technique is basically a challenge response test which involves a computer (server) initiating a
task for the user to complete. If the user completes it successfully then the user is considered as “human” else
it is treated as a “web-bot”.

TEXT – BASED CAPTCHAs

Text-based CAPTCHAs are the original way in which humans were verified. These CAPTCHAs can use
known words or phrases, or random combinations of digits and letters. Some text-based CAPTCHAs
also include variations in capitalization.

The CAPTCHA presents these characters in a way that is alienated and requires interpretation.
Alienation can involve scaling, rotation, distorting characters. It can also involve overlapping characters
with graphic elements such as colour, background noise, lines, arcs, or dots. This alienation provides
protection against bots with insufficient text recognition algorithms but can also be difficult for humans
to interpret.

2|Page
PROJECT FRAMEWORK:

3|Page
ABOUT THIS PROJECT

This section gives a scope description and overview of everything included in this Project
Report. Also, the purpose for this document is described and system overview along with
goal and vision are listed.

1.1. Purpose

The purpose of this document is to give a detailed description of Text based Captcha using
Python Project. It will illustrate the purpose and complete declaration for the development of
system. It will also explain system constraints, interface and interactions with users. This
document is primarily intended to anyone who wants to get an overview of how Captcha
works, its outcomes and possible usages in future.

1.2. System Overview

A CAPTCHA system presents a visitor with an obscured word, words, or phrase. The
obscuring is usually achieved by warping the words, distorting the background, or segmenting
the word by adding lines. Users are asked to decode the image and enter the alphanumeric
characters in the correct order (they may or may not be case sensitive) before submitting the
form. Upon form submission, the response is verified, and users are either taken to the next
step or presented with an error.

1.3. Problem Statement

Nowadays on every platform Bot is main reason for very high traffic on internet. “Bot”
generally refers to any program that is set to automatically complete some process, whether
it’s posting news on Twitter or leaving spam in website comment sections. Used correctly,
these programs are fairly useful, but they can also be used to generate useless/ad-
ridden/malicious content, overwhelm a site with signups, rig online poll results, scrape email
addresses, or do any number of other unpleasant things. It’s just best not to let them in. To
overcome this problem, we need Captcha system. CAPTCHA motto goes, to create a
task that is “Easy for people, hard for bots.”

4|Page
1.4. Goal & Vision

The main goal of CAPTCHA is to put forth a test which is simple and straight forward for
any human to answer but for a computer, it is almost impossible
to solve. CAPTCHAs can be used by websites that offer services like online polls and
registration forms. Web-based email services like Gmail, Yahoo and
Hotmail offer free email accounts for their users. However, upon each sign-up process,
CAPTCHAs are used to prevent spammers from using a bot to generate
hundreds of spam mail accounts.

Tools used:
1.Python 3.7.0:

Python is a general purpose programming language. Hence, you can use the
programming language for developing both desktop and web applications. Also, you can
use Python for developing complex scientific and numeric applications. Python is
designed with features to facilitate data analysis and visualization

2.Tkinter:

Tkinter is Python's standard GUI (Graphical User Interface) package. Tkinter is not the
only Gui Programming toolkit for Python. It is however the most commonly used one.

5|Page
TASK OF EACH MEMBER:

TEAM MEMBER 1: PRADIPTA DUTTA

• Make pre-submission report


• Assigned to complete Module 1&2
• work on creating a separate window for Regn no and captcha
• Make final report after the completion of the project

TEAM MEMBER 2: BADAL KUMAR

• Assigned to complete Module 3&4


• Make the Text expression that will be solved by the user.
• Task on creating an input text area to enter the answer.
• Below that a captcha submission will be created to validate and verify the answer.

TEAM MEMBER 3: MOHAMED SULIMAN

• Assigned to complete Module 5&6


• Design different types of text-based captcha options
• Create a refresh button if present captcha is not clear
• After submit button show a message after completing the captcha successfully.

6|Page
MODULES AND THEIR DESCRIPTION:

1. CAPTCHA BOX:
A window pop-up will arrive containing the Reg no, password and TEXT-BASED
CAPTCHA.

2. TEXT BASED CAPTCHA:


Inside the CAPTCHA a text based with colorful design will be there. It has to be
solved by the user.

3. INPUT TEXT AREA:


Under the expression a input text area will be there where user has to enter the
answer.

4. CAPTCHA SUBMISSION:
After entering the answer user need to submit the answer on clicking submit button.

5. DIFFERENT CAPTCHA OPTION:


It may happen that sometime the captcha image is unclear. In that case user can
request for another captcha by clicking the different captcha option.

6. CAPTCHA SUCCESSFUL:
After submitting the answer, if the answer is correct, it will show a message
“Congratulations! You are not a robot” otherwise it will give you other chances to solve
the captcha.

7|Page
GANTT CHART

DATE DURATION GOALS

Requirement analysis of the code will start from


this day; each member has different part to
2ND – 8TH
7 DAYS complete. Main goal is to complete module 1&2 .
OCTOBER
Captcha window and Text based image will be
completed

In this period Module 3&4 will be done.


9TH -16TH DESGN: Input text area for captcha with various
OCTOBER 8 DAYS types of designed text, color and the submission
procedure will be done.

CODING:
17TH -29TH In this period Module 5&6 will be completed.
OCTOBER 13 DAYS Request for another captcha option and captcha
successful message will be made.

TESTING:
30TH OCT
In this period, we will rectify any errors made

4 DAYS during the previous period and improvements
2TH NOV
will be done to make this project attractive and
report will be made.

8|Page
GANTT CHART IN GRAPH FORM

9|Page

You might also like