Versions in this module Expand all Collapse all v1 v1.0.1 Sep 7, 2023 Changes in this version + var DefaultTesseract = New("tesseract") + func RecCaptchaBase64Handle(c *gin.Context) — linux/amd64 + func RecCaptchaImageHandle(c *gin.Context) — linux/amd64 + func Recognition(captcha []byte, opt *Options) string — linux/amd64 + func ThresholdBinary(buf []byte) ([]byte, error) — linux/amd64 + type Captcha struct + Content io.Reader + ID string + type CaptchaBase64 struct + Captcha []CaptchaText + type CaptchaText struct + ID string + Text string + type Options struct + Languages []string + PageSegMode int + Whitelist string + type RecaptchaClient struct + func NewClient(url string, options Options) *RecaptchaClient + func (c *RecaptchaClient) Base64() ([]CaptchaText, error) + func (c *RecaptchaClient) Image() ([]CaptchaText, error) + func (c *RecaptchaClient) PushCaptcha(captcha Captcha) + type Result struct + Data interface{} + Message string + Status Status + type Status string + const Error + const Success + type Tesseract struct + func New(path string) *Tesseract + func (tes *Tesseract) Run(captcha string, options map[string]interface{}, std ...*os.File) error + func (tes *Tesseract) SetPath(path string) error + func (tes *Tesseract) SetTessdata(tessdata string) error