Giter Site home page Giter Site logo

Comments (16)

xiaotian2333 avatar xiaotian2333 commented on June 11, 2024

这是二维码识别库的问题,调用云端api或者更换识别库应该能解决

使用腾讯自家的识别模型似乎是个不错的选择 github 仓库

from liteloaderqqnt-qr-decode.

xh321 avatar xh321 commented on June 11, 2024

我总觉得一个二维码识别拖个模型是不是有点笨(x
并且用nodejs调腾讯这个opencv过于麻烦了,没有example,我也不会opencv。
如果用在线API的话,嗯,API跑路或者调用限制又是个问题
我试试换一个解析库

from liteloaderqqnt-qr-decode.

xh321 avatar xh321 commented on June 11, 2024

已经更新了一个版本,可以试试看,换用zxing的库了

from liteloaderqqnt-qr-decode.

Tki-sor avatar Tki-sor commented on June 11, 2024

已经更新了一个版本,可以试试看,换用zxing的库了

试了下还是扫不出来,报错是
Error: Uncaught e

from liteloaderqqnt-qr-decode.

xh321 avatar xh321 commented on June 11, 2024

已经更新了一个版本,可以试试看,换用zxing的库了

试了下还是扫不出来,报错是 Error: Uncaught e

那就是无法识别这类二维码了,有可能是因为定位点是圆形的,可能得想办法调用微信的二维码扫描了

from liteloaderqqnt-qr-decode.

xh321 avatar xh321 commented on June 11, 2024

整个微信二维码模型库有1.42G,而且识别这种比较花里胡哨的二维码还是不行,我看看还是换成API吧

from liteloaderqqnt-qr-decode.

xiaotian2333 avatar xiaotian2333 commented on June 11, 2024

整个微信二维码模型库有1.42G,而且识别这种比较花里胡哨的二维码还是不行,我看看还是换成API吧

如果会抓包的话可以试试抓草料二维码的在线解码,传入图片的url就可以了

from liteloaderqqnt-qr-decode.

xh321 avatar xh321 commented on June 11, 2024

整个微信二维码模型库有1.42G,而且识别这种比较花里胡哨的二维码还是不行,我看看还是换成API吧

如果会抓包的话可以试试抓草料二维码的在线解码,传入图片的url就可以了

你跟我想一块去了,最新版已经使用草料API了

from liteloaderqqnt-qr-decode.

xh321 avatar xh321 commented on June 11, 2024

整个微信二维码模型库有1.42G,而且识别这种比较花里胡哨的二维码还是不行,我看看还是换成API吧

如果会抓包的话可以试试抓草料二维码的在线解码,传入图片的url就可以了

不能传入图片URL,因为渲染层拿到的只是本地文件路径

from liteloaderqqnt-qr-decode.

xh321 avatar xh321 commented on June 11, 2024

目前已经更换为使用草料API,各位可以试试

from liteloaderqqnt-qr-decode.

xiaotian2333 avatar xiaotian2333 commented on June 11, 2024

整个微信二维码模型库有1.42G,而且识别这种比较花里胡哨的二维码还是不行,我看看还是换成API吧

如果会抓包的话可以试试抓草料二维码的在线解码,传入图片的url就可以了

不能传入图片URL,因为渲染层拿到的只是本地文件路径

如果能拿到文件图片文件名的话,图片文件名英文转成大写,然后拼接url

 https://gchat.qpic.cn/gchatpic_new/0/0-0-图片的文件名转大写/0

例如,图片的文件名是07befd18877d76a90fb32f3d8b58decc.jpg

去掉后缀名是07befd18877d76a90fb32f3d8b58decc

转成大写07BEFD18877D76A90FB32F3D8B58DECC

拼接成链接https://gchat.qpic.cn/gchatpic_new/0/0-0-07BEFD18877D76A90FB32F3D8B58DECC/0

(其实文件名就是图片的MD5,算出来也是可以的)

from liteloaderqqnt-qr-decode.

Tki-sor avatar Tki-sor commented on June 11, 2024

目前已经更换为使用草料API,各位可以试试

试了下是能扫出来qq的了,以及特别花里胡哨的(上面发的知乎链接里的)能识别出相当一部分。当然,还是有扫不出来的,例如...
aefa57e3be9f542f85f5e2c362b0abbe
image
当然用qq试过了是能扫 (但我大概不会扫这种的吧)

from liteloaderqqnt-qr-decode.

xh321 avatar xh321 commented on June 11, 2024

目前已经更换为使用草料API,各位可以试试

试了下是能扫出来qq的了,以及特别花里胡哨的(上面发的知乎链接里的)能识别出相当一部分。当然,还是有扫不出来的,例如... aefa57e3be9f542f85f5e2c362b0abbe image 当然用qq试过了是能扫 (但我大概不会扫这种的吧)

大部分ok就行了,毕竟草料API我好像没看到有什么限制(
特别花里胡哨的,实在无能为力(

from liteloaderqqnt-qr-decode.

xh321 avatar xh321 commented on June 11, 2024

整个微信二维码模型库有1.42G,而且识别这种比较花里胡哨的二维码还是不行,我看看还是换成API吧

如果会抓包的话可以试试抓草料二维码的在线解码,传入图片的url就可以了

不能传入图片URL,因为渲染层拿到的只是本地文件路径

如果能拿到文件图片文件名的话,图片文件名英文转成大写,然后拼接url

 https://gchat.qpic.cn/gchatpic_new/0/0-0-图片的文件名转大写/0

例如,图片的文件名是07befd18877d76a90fb32f3d8b58decc.jpg

去掉后缀名是07befd18877d76a90fb32f3d8b58decc

转成大写07BEFD18877D76A90FB32F3D8B58DECC

拼接成链接https://gchat.qpic.cn/gchatpic_new/0/0-0-07BEFD18877D76A90FB32F3D8B58DECC/0

(其实文件名就是图片的MD5,算出来也是可以的)

这样确实更好,我改一下

from liteloaderqqnt-qr-decode.

xh321 avatar xh321 commented on June 11, 2024

但是草料那个用链接解码的已经不能用了,估计功能下线了

from liteloaderqqnt-qr-decode.

xiaotian2333 avatar xiaotian2333 commented on June 11, 2024

但是草料那个用链接解码的已经不能用了,估计功能下线了

真是神奇了,我昨天才用过来着,现在是一直显示正在解码

from liteloaderqqnt-qr-decode.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.