Gregwar / Captcha

PHP Captcha library
MIT License
1.73k stars 290 forks source link

Can you refine the verification code style? #82

Open ZhangChengLin opened 4 years ago

ZhangChengLin commented 4 years ago

Can individual letters use different colors? Can you use other background confusion? Confused as small letters?

E.g: https://www.php.cn/captcha.html

crustamet commented 4 years ago

This is a good example bro, such a good example, i would love to see the implementation behind this.

crustamet commented 4 years ago

just like this ? https://nativityweb.com/captcha/index.php ?

ZhangChengLin commented 4 years ago

just like this ? https://nativityweb.com/captcha/index.‘php ?

They are very similar, I can not provide you with the source code of the implementation.

If you can more finely control and manage the color and size of the characters in the picture, is it more difficult for the robot to understand which part is the verification code and which part is the background?

crustamet commented 4 years ago

i have different fonts and different colors foreach letter. After that it uses those fonts and letters to create smaller smaller and smaller little chars all over with the same used colors.

You say you want to change even the font size of the big letters ?

And by the way i am not using the Gregwer library to make this.

crustamet commented 4 years ago

I'm gonna download this library modify it with what i have done but i don't have time right now.

ZhangChengLin commented 4 years ago

i have different fonts and different colors foreach letter. After that it uses those fonts and letters to create smaller smaller and smaller little chars all over with the same used colors.

You say you want to change even the font size of the big letters ?

And by the way i am not using the Gregwer library to make this.

I do n’t know the algorithm of the robot to recognize the verification code, I hope this is effective and easy. Should it be changed in this project? Where did your time go? What did you use?

crustamet commented 4 years ago

i made the captcha from scratch. i have the source code for it, but i need to make it good :)

S1SYPHOS commented 2 years ago

Any chance you actually made it good, @crustamet? :fox_face:

crustamet commented 2 years ago

i made it good only for my purpose, but to expand on it there will be issues in what i did. you wanna get in touch i can send the captcha demo image what i made

Uses multiple fonts, multiple colors, multiple sizes, everything random

image

S1SYPHOS commented 2 years ago

I sent you an email as I'd be interested to see your code, if that's alright, @crustamet?

S1SYPHOS commented 2 years ago

Update: I forked it and started working on improvements like merging PRs, random font per character & more, see https://codeberg.org/S1SYPHOS/php-simple-captcha

crustamet commented 2 years ago

Do you have discord ? we can talk freely there if you want some of my help quickly

S1SYPHOS commented 2 years ago

@crustamet Yeah, S1SYPHOS#9054 look me up 🙃