Code Monkey home page Code Monkey logo

Comments (13)

xyfeng298 avatar xyfeng298 commented on July 22, 2024

刚在泥潭发现了有位潭友针对作者的工具开发了圣遗物导出工具。
https://bbs.nga.cn/read.php?tid=25595872
作者看看,如果合适的话,弄到简介吧。

from genshin_artifact.

wormtql avatar wormtql commented on July 22, 2024

感谢支持! 😄 我也正头疼圣遗物导出的办法

from genshin_artifact.

yinxin630 avatar yinxin630 commented on July 22, 2024

手动一个个输入可太麻烦了, 加个 OCR 识别的功能吧, 游戏里截图, 网页上粘贴图片识别
可莉特调那个只能选择图片不能直接粘贴, 而且识别结果经常有错误, 可以加些逻辑对识别结果中太离谱的数据做些简单修复, 还不对的就手动改一下就好了

另外, 作者如果没时间我可以试试看

from genshin_artifact.

yinxin630 avatar yinxin630 commented on July 22, 2024

image

from genshin_artifact.

wormtql avatar wormtql commented on July 22, 2024

手动一个个输入可太麻烦了, 加个 OCR 识别的功能吧, 游戏里截图, 网页上粘贴图片识别
可莉特调那个只能选择图片不能直接粘贴, 而且识别结果经常有错误, 可以加些逻辑对识别结果中太离谱的数据做些简单修复, 还不对的就手动改一下就好了

另外, 作者如果没时间我可以试试看

主要是百度API不付钱的话有次数限制,最好是能够做成不调用其他API的方式识图的,如果大佬愿意的话,可以帮忙写😄

from genshin_artifact.

Mr-Quin avatar Mr-Quin commented on July 22, 2024

是否可以考虑 tesseract.js 前端运行ocr
根据demo来看如果分辨率够高还是可以的,支持识别中文
参考这个库

from genshin_artifact.

wormtql avatar wormtql commented on July 22, 2024

我试过tesseract,用的是圣遗物的截图,效果不好(不是正确率的问题,是根本几乎无法识别)

from genshin_artifact.

wormtql avatar wormtql commented on July 22, 2024

就像这样
image
image

from genshin_artifact.

Mr-Quin avatar Mr-Quin commented on July 22, 2024

这样啊
那tensorflow.js的可行性怎么样?搞一个原神ocr模型

from genshin_artifact.

wormtql avatar wormtql commented on July 22, 2024

或许是可行的,只是我并不会cv方面的内容,只能期待别的大佬来搞了

from genshin_artifact.

Mr-Quin avatar Mr-Quin commented on July 22, 2024

我用tesseract测试了半天 似乎还是有搞头的
image
image

沿用之前提到的国外作者的代码,先对图片进行处理,再进行识别
image
最后对结果进行模糊比对(作者用的汉明距离) 猜出一个最合适的 因为每个词条都是有固定值的,还可以用子集和对数值进行纠错

虽然比直接调用api复杂了不少,但也是个方法 大概

然后我正在用原神的字体训练tesseract,还不知道结果会不会更好

from genshin_artifact.

wormtql avatar wormtql commented on July 22, 2024

感谢大佬,如果可以的话,我觉得可以做成npm包的形式,把ocr的功能发布了

from genshin_artifact.

Mr-Quin avatar Mr-Quin commented on July 22, 2024

https://github.com/Mr-Quin/genshin-ocr/tree/main
先整了一个网页demo 大佬也可以测试一下

from genshin_artifact.

Related Issues (20)

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.