captcha icon indicating copy to clipboard operation
captcha copied to clipboard

A captcha library that generates audio and image CAPTCHAs.

Results 14 captcha issues
Sort by recently updated
recently updated
newest added

I got following DeprecationWarning. Environment is Ubuntu 20.04 / Python3.10 ``` captcha/image.py:192: DeprecationWarning: QUAD is deprecated and will be removed in Pillow 10 (2023-07-01). Use Transform.QUAD instead. im = im.transform((w,...

I have installed captcha but when I apply it to project, i get an error: ModuleNotFoundError: No module named 'captcha.audio'; 'captcha' is not a package.

Can I auto-select the width so that the text fits completely into the picture? I found the text_width variable in your library, but I don't have access to it.

enhancement

``` background = (0, 0, 255) # random_color(238, 255) color = (0, 0, 255, 255) # random_color(0, 200, random.randint(220, 255)) im = self.create_captcha_image(chars, color, background) #self.create_noise_dots(im, color) #self.create_noise_curve(im, color) im...

How can i not change font shape?

You may be interested in the CC0-licensed Mozilla's [Common Voice](https://voice.mozilla.org/ca/datasets). > Each entry in the dataset consists of a unique MP3 and corresponding text file. Many of the 4,257 recorded...

https://github.com/lepture/captcha/blob/fb6238e741c7e264eba117b27fa911c25c76c527/captcha/image.py#L196 if the string is passed as int, the function goes in error cause it tries to iterate an integer. an easy fix is to force the cast as string...

I am a fresh coder, I am already find it from google, but... this is my question, how can i solve it? code: ``` image = ImageCaptcha(fonts=['./ihome/utils/captcha/fonts/actionj.ttf', './ihome/utils/captcha/fonts/Georgia.ttf']) str1 =...

enhancement

hello, i like this library a lot and i'm using it in my projects. the only recurring problem i have is this: sometimes (not very often, but also not very...

enhancement