Giter Site home page Giter Site logo

arena's Introduction

竞技场查询 with 图片支持

本模块由ellye完善功能,增加作业网的截图查询功能。

支持全屏和部分截图。支持从各中页面和长宽比中识别出角色头像。当截图中含有多队时返回无冲配队。

食用方法

用本repo将hoshino/modules/priconne/arena替换即可。

指令:b/r/tjjc + 防守队伍文字/防守队伍截图 (无须+号)

使用例见images文件夹或下方。

注意

请确保pillow版本在9.0.0以上

增加对新版Hoshino(异步)的支持。若插件不返回图片,请将render_atk_def_teams()函数中的c.render_icon()前的await删除

由于api存在次数和频率限制,请勿出于好奇进行过多尝试。

若使用多队查询,为确保识别准确,请直接发送完整截图。

本插件能识别的角色根据您的chara列表和res中的角色图标决定。每天会定时同步一次。您也可以通过指令竞技场更新卡池来手动同步。

jjc 使用方法

部分截图

pjjc 预览界面

pjjc 多队查询

近似解查询

各种情况混搭

————以下为原README————

本模块基于 0皆无0(NGA uid=60429400)dalao的PCR姬器人:可可萝·Android,移植至nonebot框架而成。

重构 by IceCoffee

源代码的使用已获原作者授权。

arena's People

Contributors

watermellye avatar dgkkjt avatar azusa-yuan avatar

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.