Home  >  Article  >  Backend Development  >  php生产验证码,用什么图片类库比较好?

php生产验证码,用什么图片类库比较好?

WBOY
WBOYOriginal
2016-06-06 20:39:14961browse

php生产验证码,用什么图片类库比较好。GD好像没什么人用了。大神推荐一下

回复内容:

php生产验证码,用什么图片类库比较好。GD好像没什么人用了。大神推荐一下

https://github.com/anhskohbo/no-captcha

https://github.com/claviska/simple-php-captcha

https://github.com/Gregwar/Captcha

ImageMagick
+
基于ImageMagick的PHP扩展: imagick

說實話,基於文字的圖片驗證碼已經過時了。

We report a 99.8% accuracy on the hardest category of reCAPTCHA.

人工虛擬神經網絡對 Google 的舊版 reCAPTCHA 的最複雜形態已經 99% 識別率了,比人類還高:
http://arxiv.org/abs/1312.6082

還有:http://www.solidot.org/story?sid=39040

之前一個 90% 的報道:http://www.newscientist.com/article/dn24476-software-beats-captcha-the-webs-are-you-human-test.html?cmpid=RSS

http://www.infoq.com/news/2014/12/recaptcha

所以,不要再使用基於文字識別的圖片驗證碼了。

投奔大公司提供的完整解決方案吧。比如「No CAPTCHA reCAPTCHA」。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn