前面一篇文章介绍了2个用Golang做的验证码

http://www.cnblogs.com/ghj1976/p/3392847.html 

这里再补充几个:

1、在GAE上使用的Google的验证码(ReCAPTCHA)封装

https://github.com/ThePiachu/GAE-Go-ReCAPTCHA

这个的核心代码只在下面这个文件:

https://github.com/ThePiachu/GAE-Go-ReCAPTCHA/blob/master/ReCaptcha/ReCaptcha.go

 

2、一个国人用Go写的验证码

https://github.com/hanguofeng/gocaptcha

他做出来的效果截图如下:

Golang做的验证码(2) Golang做的验证码(2) Golang做的验证码(2) Golang做的验证码(2)

 

另外跟验证码比较类似的技术,给图片做水印,可以参考下面项目

https://github.com/jianfengye/image-sign

这里用到了 freetype-go 生成的效果要比上面字体出来效果要好。

freetype-go的介绍请参看:

http://www.cnblogs.com/yjf512/archive/2013/04/17/3025574.html

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-20
  • 2021-10-09
  • 2021-06-18
  • 2021-11-21
  • 2021-12-02
  • 2022-12-23
  • 2021-05-13
相关资源
相似解决方案