Giter Club home page Giter Club logo

genshinartscanner's People

Contributors

problemfactory avatar shuangluoxss avatar yanshil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

genshinartscanner's Issues

运行报错

Traceback (most recent call last):
File "main.py", line 206, in
File "ocr.py", line 35, in init
File "tensorflow\python\keras\saving\save.py", line 181, in load_model
File "h5py_hl\base.py", line 44, in is_hdf5
File "h5py_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py\h5f.pyx", line 156, in h5py.h5f.is_hdf5
OSError
[5212] Failed to execute script main

0.13版本识别失败,5星全识别成4星

系统:Windows 10
系统分辨率: 3840x2160
原神分辨率:1920x1080
问题:
0
如图,星级和副词条识别有误。尝试过0.12-hotfix版本、0.8版本,仍旧有此问题,0.6版本倒是没有这个问题。

artifacts.zip
这是artifacts文件夹下的记录文件

失败了2个

主词条里6读成了5?最新版的。

50

{
    "level": "+16",
    "main_attr_name": "生命值",
    "main_attr_value": "3,957",
    "name": "魔女的炎之花",
    "subattr_1": "暴击率+5.8%",
    "subattr_2": "防御力+19.7%",
    "subattr_3": "攻击力+27",
    "subattr_4": "暴击伤害+7.8%",
    "type": "生之花",
    "star": 5
}

54

{
    "level": "+16",
    "main_attr_name": "生命值",
    "main_attr_value": "3,957",
    "name": "远方的少女之心",
    "subattr_1": "生命值+10.5%",
    "subattr_2": "暴击率+6.6%",
    "subattr_3": "元素充能效率+9.7%",
    "subattr_4": "暴击伤害+7.0%",
    "type": "生之花",
    "star": 5
}

识别错误问题可能与CPU等硬件有关?

之前用最新0.13版本识别不了,全识别成4星,且不保存。一直用椰羊代替。
最近放假回家,懒得带电脑,把显卡,SSD拆了带回家装上,结果椰羊用不了了(闪退)但打开这个竟然能够用了,全部识别正确。。。不知大佬的识别模型是否会与 主板 CPU 内存 等有关。
识别失败的CPU:AMD R5 3600XT DDR4内存
成功的CPU: AMD 羿龙II X4 960T DDR3内存

卡在第二个圣遗物

之前都没问题,今天更新了2.5就不行了,开始扫描后卡在第二个。
系统是Win11 22543.1000
分辨率1920×1200以及1920×1080都不行
image
image
换排序方法也一样,应该不是这个圣遗物的问题。

请求增添功能

能否添加识别物品数量的识别?搭配这个网站使用seelie
他们支持的导入json格式如下:
{"goals":"[{\"type\":\"character\",\"character\":\"jean\",\"current\":{\"level\":60,\"asc\":3,\"text\":\"60\"},\"goal\":{\"level\":90,\"asc\":6,\"text\":\"90\"},\"id\":1},{\"type\":\"talent\",\"character\":\"jean\",\"normal\":{\"current\":4,\"goal\":10},\"skill\":{\"current\":\"4\",\"goal\":10},\"burst\":{\"current\":\"4\",\"goal\":10},\"id\":2},{\"type\":\"weapon\",\"id\":3,\"character\":\"jean\",\"weapon\":\"prototype_rancour\",\"current\":{\"level\":60,\"asc\":3,\"text\":\"60\"},\"goal\":{\"level\":90,\"asc\":6,\"text\":\"90\"}},{\"type\":\"character\",\"character\":\"sucrose\",\"current\":{\"level\":60,\"asc\":3,\"text\":\"60\"},\"goal\":{\"level\":90,\"asc\":6,\"text\":\"90\"},\"id\":4},{\"type\":\"talent\",\"character\":\"sucrose\",\"normal\":{\"current\":1,\"goal\":\"10\"},\"skill\":{\"current\":1,\"goal\":\"10\"},\"burst\":{\"current\":\"3\",\"goal\":10},\"id\":5},{\"type\":\"weapon\",\"id\":6,\"character\":\"sucrose\",\"weapon\":\"thrilling_tales_of_dragon_slayers\",\"current\":{\"level\":20,\"asc\":0,\"text\":\"20\"},\"goal\":{\"level\":90,\"asc\":6,\"text\":\"90\"}},{\"type\":\"character\",\"character\":\"rosaria\",\"current\":{\"level\":60,\"asc\":3,\"text\":\"60\"},\"goal\":{\"level\":90,\"asc\":6,\"text\":\"90\"},\"id\":7},{\"type\":\"talent\",\"character\":\"rosaria\",\"normal\":{\"current\":\"4\",\"goal\":10},\"skill\":{\"current\":\"4\",\"goal\":10},\"burst\":{\"current\":\"4\",\"goal\":10},\"id\":8},{\"type\":\"weapon\",\"id\":9,\"character\":\"rosaria\",\"weapon\":\"dragonspine_spear\",\"current\":{\"level\":60,\"asc\":3,\"text\":\"60\"},\"goal\":{\"level\":90,\"asc\":6,\"text\":\"90\"}},{\"type\":\"character\",\"character\":\"ningguang\",\"current\":{\"level\":60,\"asc\":3,\"text\":\"60\"},\"goal\":{\"level\":90,\"asc\":6,\"text\":\"90\"},\"id\":10},{\"type\":\"talent\",\"character\":\"ningguang\",\"normal\":{\"current\":\"4\",\"goal\":10},\"skill\":{\"current\":\"4\",\"goal\":10},\"burst\":{\"current\":\"4\",\"goal\":10},\"id\":11},{\"type\":\"weapon\",\"id\":12,\"character\":\"ningguang\",\"weapon\":\"the_widsith\",\"current\":{\"level\":50,\"asc\":2,\"text\":\"50\"},\"goal\":{\"level\":90,\"asc\":6,\"text\":\"90\"}}]","inventory":"[{\"type\":\"xp\",\"item\":\"xp\",\"tier\":0,\"value\":8},{\"type\":\"mora\",\"item\":\"mora\",\"tier\":0,\"value\":254786},{\"type\":\"xp\",\"item\":\"xp_sub_1\",\"tier\":0,\"value\":15},{\"type\":\"xp\",\"item\":\"xp_sub_0\",\"tier\":0,\"value\":130},{\"type\":\"wep_xp\",\"item\":\"wep_xp\",\"tier\":0,\"value\":410},{\"type\":\"wep_xp\",\"item\":\"wep_xp_sub_1\",\"tier\":0,\"value\":22},{\"type\":\"wep_xp\",\"item\":\"wep_xp_sub_0\",\"tier\":0,\"value\":12},{\"type\":\"common\",\"item\":\"slime\",\"tier\":1,\"value\":29},{\"type\":\"common\",\"item\":\"slime\",\"tier\":0,\"value\":178},{\"type\":\"common\",\"item\":\"mask\",\"tier\":1,\"value\":23},{\"type\":\"common\",\"item\":\"mask\",\"tier\":0,\"value\":1},{\"type\":\"common\",\"item\":\"scroll\",\"tier\":1,\"value\":12},{\"type\":\"common\",\"item\":\"scroll\",\"tier\":0,\"value\":8},{\"type\":\"common\",\"item\":\"arrowhead\",\"tier\":1,\"value\":12},{\"type\":\"common\",\"item\":\"arrowhead\",\"tier\":0,\"value\":119},{\"type\":\"common_rare\",\"item\":\"horn\",\"tier\":1,\"value\":5},{\"type\":\"common_rare\",\"item\":\"horn\",\"tier\":0,\"value\":119},{\"type\":\"common_rare\",\"item\":\"ley_line\",\"tier\":1,\"value\":16},{\"type\":\"common_rare\",\"item\":\"ley_line\",\"tier\":0,\"value\":10},{\"type\":\"common_rare\",\"item\":\"chaos\",\"tier\":1,\"value\":5},{\"type\":\"common_rare\",\"item\":\"chaos\",\"tier\":0,\"value\":64},{\"type\":\"common_rare\",\"item\":\"mist\",\"tier\":0,\"value\":0},{\"type\":\"common_rare\",\"item\":\"sacrificial_knife\",\"tier\":1,\"value\":1},{\"type\":\"common_rare\",\"item\":\"sacrificial_knife\",\"tier\":0,\"value\":28},{\"type\":\"common\",\"item\":\"f_insignia\",\"tier\":1,\"value\":14},{\"type\":\"common\",\"item\":\"f_insignia\",\"tier\":0,\"value\":2},{\"type\":\"common\",\"item\":\"th_insignia\",\"tier\":1,\"value\":2},{\"type\":\"common\",\"item\":\"th_insignia\",\"tier\":0,\"value\":60},{\"type\":\"element_2\",\"item\":\"hurricane_seed\",\"tier\":0,\"value\":1},{\"type\":\"element_2\",\"item\":\"lightning_prism\",\"tier\":0,\"value\":2},{\"type\":\"element_2\",\"item\":\"basalt_pillar\",\"tier\":0,\"value\":1},{\"type\":\"element_2\",\"item\":\"hoarfrost_core\",\"tier\":0,\"value\":6},{\"type\":\"element_2\",\"item\":\"cleansing_heart\",\"tier\":0,\"value\":1},{\"type\":\"element_2\",\"item\":\"juvenile_jade\",\"tier\":0,\"value\":2},{\"type\":\"common\",\"item\":\"nectar\",\"tier\":1,\"value\":14},{\"type\":\"common\",\"item\":\"nectar\",\"tier\":0,\"value\":13},{\"type\":\"element_1\",\"item\":\"brilliant_diamond\",\"tier\":1,\"value\":6},{\"type\":\"common_rare\",\"item\":\"bone_shard\",\"tier\":0,\"value\":14},{\"type\":\"element_1\",\"item\":\"agnidus_agate\",\"tier\":0,\"value\":24},{\"type\":\"element_1\",\"item\":\"varunada_lazurite\",\"tier\":1,\"value\":10},{\"type\":\"element_1\",\"item\":\"varunada_lazurite\",\"tier\":0,\"value\":21},{\"type\":\"element_1\",\"item\":\"vajrada_amethyst\",\"tier\":1,\"value\":4},{\"type\":\"element_1\",\"item\":\"vajrada_amethyst\",\"tier\":0,\"value\":24},{\"type\":\"element_1\",\"item\":\"vayuda_turqoise\",\"tier\":0,\"value\":5},{\"type\":\"element_1\",\"item\":\"shivada_jade\",\"tier\":1,\"value\":12},{\"type\":\"element_1\",\"item\":\"shivada_jade\",\"tier\":0,\"value\":2},{\"type\":\"element_1\",\"item\":\"prithiva_topaz\",\"tier\":1,\"value\":9},{\"type\":\"element_1\",\"item\":\"prithiva_topaz\",\"tier\":0,\"value\":1},{\"type\":\"talent\",\"item\":\"freedom\",\"tier\":1,\"value\":24},{\"type\":\"talent\",\"item\":\"freedom\",\"tier\":0,\"value\":6},{\"type\":\"talent\",\"item\":\"resistance\",\"tier\":1,\"value\":4},{\"type\":\"talent\",\"item\":\"ballad\",\"tier\":0,\"value\":1},{\"type\":\"talent\",\"item\":\"prosperity\",\"tier\":0,\"value\":2},{\"type\":\"talent\",\"item\":\"diligence\",\"tier\":1,\"value\":6},{\"type\":\"talent\",\"item\":\"diligence\",\"tier\":0,\"value\":27},{\"type\":\"talent\",\"item\":\"gold\",\"tier\":1,\"value\":6},{\"type\":\"talent\",\"item\":\"gold\",\"tier\":0,\"value\":22},{\"type\":\"wam\",\"item\":\"decarabian\",\"tier\":0,\"value\":3},{\"type\":\"wam\",\"item\":\"boreal_wolf\",\"tier\":1,\"value\":2},{\"type\":\"wam\",\"item\":\"boreal_wolf\",\"tier\":0,\"value\":1},{\"type\":\"wam\",\"item\":\"dandelion_gladiator\",\"tier\":0,\"value\":3},{\"type\":\"wam\",\"item\":\"guyun\",\"tier\":0,\"value\":1},{\"type\":\"wam\",\"item\":\"mist_veiled_elixer\",\"tier\":2,\"value\":1},{\"type\":\"wam\",\"item\":\"mist_veiled_elixer\",\"tier\":1,\"value\":1},{\"type\":\"wam\",\"item\":\"mist_veiled_elixer\",\"tier\":0,\"value\":12},{\"type\":\"wam\",\"item\":\"aerosiderite\",\"tier\":0,\"value\":1},{\"type\":\"local\",\"item\":\"calla_lily\",\"tier\":0,\"value\":42},{\"type\":\"local\",\"item\":\"wolfhook\",\"tier\":0,\"value\":30},{\"type\":\"local\",\"item\":\"valberry\",\"tier\":0,\"value\":31},{\"type\":\"local\",\"item\":\"cecilia\",\"tier\":0,\"value\":44},{\"type\":\"local\",\"item\":\"windwheel_aster\",\"tier\":0,\"value\":11},{\"type\":\"local\",\"item\":\"jueyun_chili\",\"tier\":0,\"value\":18},{\"type\":\"local\",\"item\":\"noctilucous_jade\",\"tier\":0,\"value\":23},{\"type\":\"local\",\"item\":\"silk_flower\",\"tier\":0,\"value\":27},{\"type\":\"local\",\"item\":\"glaze_lilly\",\"tier\":0,\"value\":6},{\"type\":\"local\",\"item\":\"qingxin\",\"tier\":0,\"value\":27},{\"type\":\"local\",\"item\":\"starconch\",\"tier\":0,\"value\":25},{\"type\":\"local\",\"item\":\"violetgrass\",\"tier\":0,\"value\":10},{\"type\":\"local\",\"item\":\"small_lamp_grass\",\"tier\":0,\"value\":73},{\"type\":\"local\",\"item\":\"dandelion_seed\",\"tier\":0,\"value\":32},{\"type\":\"local\",\"item\":\"cor_lapis\",\"tier\":0,\"value\":29},{\"type\":\"common\",\"item\":\"scroll\",\"tier\":2,\"value\":12},{\"type\":\"common_rare\",\"item\":\"mist\",\"tier\":1,\"value\":23},{\"type\":\"talent\",\"item\":\"ballad\",\"tier\":1,\"value\":12},{\"type\":\"talent\",\"item\":\"prosperity\",\"tier\":1,\"value\":5}]","inactive":"{}","tasks":null}

识别错误

42

{"level": "+20", "main_attr_name": "生命值", "main_attr_value": "4,780", "name": "角斗士的留恋", "subattr_1": "攻击力+9.9%", "subattr_2": "暴击伤害+269.4%", "subattr_3": "暴击率+2.7%", "subattr_4": "元素充能效率+4.5%", "type": "生之花", "star": 5}

暴击伤害错了

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.