Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you refine the verification code style? #82

Open
ZhangChengLin opened this issue May 11, 2020 · 13 comments
Open

Can you refine the verification code style? #82

ZhangChengLin opened this issue May 11, 2020 · 13 comments

Comments

@ZhangChengLin
Copy link

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
Copy link

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

@crustamet
Copy link

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

@ZhangChengLin
Copy link
Author

ZhangChengLin commented May 13, 2020

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
Copy link

crustamet commented May 15, 2020

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
Copy link

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

@ZhangChengLin
Copy link
Author

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
Copy link

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

@S1SYPHOS
Copy link

Any chance you actually made it good, @crustamet? 🦊

@crustamet
Copy link

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
Copy link

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

@S1SYPHOS
Copy link

S1SYPHOS commented Mar 27, 2022

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
Copy link

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

@S1SYPHOS
Copy link

@crustamet Yeah, S1SYPHOS#9054 look me up 🙃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants