Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sohyp3/simple-captcha
Simple Captcha with python & UI
https://github.com/sohyp3/simple-captcha
captcha fastapi pillow python
Last synced: 6 days ago
JSON representation
Simple Captcha with python & UI
- Host: GitHub
- URL: https://github.com/sohyp3/simple-captcha
- Owner: sohyp3
- Created: 2023-12-04T18:18:54.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-05T20:40:14.000Z (about 1 year ago)
- Last Synced: 2023-12-06T17:47:22.785Z (about 1 year ago)
- Topics: captcha, fastapi, pillow, python
- Language: Python
- Homepage:
- Size: 152 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple CAPTCHA From Scratch
A simple project to play with `Pillow` an image manipulation library
by generating a random code, then drawing it using `Pillow` then adding an effects _( random opacity, rotation, noise, stetching the image, and random lines )_ to make it harder for robots to read AKA captchawith simple Web interface using `FastAPI` to verify/generate new images.
# How to Run
1. install the packages: `pip install -r requirements.txt`
_you may need to use venv_
2. `git clone https://github.com/sohyp3/Simple-Captcha `
3. `cd Simple-Captcha`
4. `uvicorn app:app --reload`---
![screenshot](static/readme_img.png)