V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
The Go Programming Language
http://golang.org/
Go Playground
Go Projects
Revel Web Framework
wa8n

windows 上使用 cgo 调用 tesseract 函数,求助

  •  
  •   wa8n · Apr 29, 2019 · 2598 views
    This topic created in 2561 days ago, the information mentioned may be changed or developed.

    我用 go 语言写了一个爬虫程序,需要识别图片验证码。
    在本地使用 tesseract 命令行识别验证码效果不错,想集成进程序里面。
    在 github 上找到了这个项目 https://github.com/otiai10/gosseract,通过设置 CGO_CPPFLAGS、CGO_LDFLAGS 项目可以 install,但是执行单元测试的时候仅提示“ exit status 3221225785 ”,就再没有其他可用的信息。
    翻遍了项目下有关的 issues,其中有个老外运行成功了 https://github.com/otiai10/gosseract/issues/132#issuecomment-463401215,我按照他的方式没成功。
    谷歌上关于“ exit status 3221225785 ”的解决办法也都试过了,还是不行。 尝试了三天,特来求助。

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   977 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 18:04 · PVG 02:04 · LAX 11:04 · JFK 14:04
    ♥ Do have faith in what you're doing.