Captcha icon indicating copy to clipboard operation
Captcha copied to clipboard

Can you refine the verification code style?

Open ZhangChengLin opened this issue 4 years ago • 13 comments

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

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

ZhangChengLin avatar May 11 '20 13:05 ZhangChengLin

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

crustamet avatar May 12 '20 19:05 crustamet

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

crustamet avatar May 12 '20 22:05 crustamet

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?

ZhangChengLin avatar May 13 '20 21:05 ZhangChengLin

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 avatar May 15 '20 09:05 crustamet

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

crustamet avatar May 15 '20 09:05 crustamet

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?

ZhangChengLin avatar May 15 '20 10:05 ZhangChengLin

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

crustamet avatar May 15 '20 11:05 crustamet

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

S1SYPHOS avatar Mar 12 '22 11:03 S1SYPHOS

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

crustamet avatar Mar 12 '22 11:03 crustamet

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

S1SYPHOS avatar Mar 17 '22 17:03 S1SYPHOS

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

S1SYPHOS avatar Mar 27 '22 10:03 S1SYPHOS

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

crustamet avatar Mar 29 '22 11:03 crustamet

@crustamet Yeah, S1SYPHOS#9054 look me up 🙃

S1SYPHOS avatar Mar 29 '22 12:03 S1SYPHOS