Skip to content

Commit 26ad20e

Browse files
Merge pull request prathimacode-hub#821 from akash435/captchaimagebranch
Added Text to Captcha Image in GUIScripts
2 parents 8c6abd3 + 14662d6 commit 26ad20e

File tree

11 files changed

+141
-0
lines changed

11 files changed

+141
-0
lines changed
115 KB
Loading
121 KB
Loading
128 KB
Loading
137 KB
Loading
110 KB
Loading
128 KB
Loading
124 KB
Loading
1.42 KB
Loading
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# ✔ TEXT TO CAPTCHA IMAGE
2+
- ### A Text to Captcha Image is an image processing application created in python with tkinter gui.
3+
- ### In this application user can select enter any text in the entry text area.
4+
- ### And then will be able to convert that text to corresponding captcha image in different color and background.
5+
6+
****
7+
8+
# REQUIREMENTS :
9+
- ### python 3
10+
- ### cv2 module
11+
- ### tkinter module
12+
- ### messagebox
13+
- ### from PIL import Image, ImageTk, ImageDraw
14+
- ### from captcha.image import ImageCaptcha
15+
16+
****
17+
18+
# HOW TO Use it :
19+
- ### User just need to download the file, and run the text_to_captcha_image.py, on local system.
20+
- ### After running a GUI window appears, here user can see the option to enter text in the text area.
21+
- ### After user has entered any text in the text area, when user clicks on the convert button, the corresponding captcha image with that text will be shown in the right side of window.
22+
- ### Also for different time we get different color of captcha image.
23+
- ### Als there is a clear button, clicking on which clears the text entered in the entry box.
24+
- ### Also there is exit button, clicking on which we get a exit dialog box asking the permission to exit.
25+
26+
# Purpose :
27+
- ### This scripts helps us to easily get the captcha image for any text and see the preview.
28+
29+
# Compilation Steps :
30+
- ### Install python3, tkinter, cv2, PIL, captcha.image
31+
- ### After that download the code file, and run text_to_captcha_image.py.py on local system.
32+
- ### Then the script will start running and user can explore more by entering any text and converting it to the Captcha image.
33+
34+
****
35+
36+
# SCREENSHOTS :
37+
38+
****
39+
40+
<p align="center">
41+
<img width = 1000 src="Images/1.jpg" /><br>
42+
<img width = 1000 src="Images/2.jpg" /><br>
43+
<img width = 1000 src="Images/3.jpg" /><br>
44+
<img width = 1000 src="Images/4.jpg" /><br>
45+
<img width = 1000 src="Images/5.jpg" /><br>
46+
<img width = 1000 src="Images/6.jpg" /><br>
47+
<img width = 1000 src="Images/7.jpg" /><br>
48+
</p>
49+
50+
****
51+
52+
# Author :
53+
- ### Akash Ramanand Rajak
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
libraries used : tkinter
2+
from tkinter import filedialog
3+
import tkinter.messagebox
4+
from PIL import Image, ImageTk
5+
cv2
6+
captcha.image

0 commit comments

Comments
 (0)