Skip to main content

NoneBot-Plugin-AntiMonkey

基于cv2和预训练的机器学习模型(TensorFlow)实现检测🐒猴子图并撤回的nonebot插件

声明

本项目的开发旨在提供一个技术解决方案,以应对在线群聊中出现的特定类型的刷屏行为。重要的是要强调,此举并非反映出对任何动物,特别是猴子,的不喜欢或成见。作者深知动物在自然界和文化中的重要地位,并且尊重所有生命的多样性和独特性。此项目仅针对那些利用猴子图片进行刷屏、干扰正常交流的行为。作者的目标是促进在线交流的健康和秩序,同时保护用户免受持续的信息干扰和不适内容的影响。

介绍

你是否被某些人高频刷的猴子图恶心过?

🐒🐒🐒

本插件能在bot是管理员的群持续检测群聊人员所发图片,判断是否为🐒图并自动撤回,值得注意的是,撤回功能并不受tx风控影响!

安装

使用nb-cli进行安装

nb plugin install nonebot-plugin-antimonkey

使用pip进行安装

pip install nonebot-plugin-antimonkey

使用

安装运行后,插件将自动加载并开始监控管理的群消息。

存在的问题

不是百分百能识别准确!特别是抽象🐒图!

偶尔会有cv2报错,可能存在于检测表情包这类较小的图片,调整尺寸时发生了错误从而无法读取图片

与部分插件比如“今日运势”冲突,正在加紧修复 已修复!

管理员的🐒图撤不了

群主的🐒图更撤不了

贡献

欢迎提交Pull Request或报告Issues。

许可

MIT License

致谢

感谢google公司开发的MobileNetV2模型,这是一个由Google开发的高效的轻量级深度学习模型。更多关于MobileNetV2的信息可以在官方论文中找到

感谢低嫩群友刷的恶心吗喽🐒🐒🐒,让这个项目得以实现。

Release files for nonebot-plugin-antimonkey 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nonebot-plugin-antimonkey 1.1.1
File Size Uploaded
nonebot_plugin_antimonkey-1.1.1.tar.gz 40.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-antimonkey 1.1.1
File Interpreter ABI Platform
nonebot_plugin_antimonkey-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 81.3 kB

Release files / nonebot_plugin_antimonkey-1.1.1.tar.gz

Download URL nonebot_plugin_antimonkey-1.1.1.tar.gz
Size 40.6 kB
Tags Source
SHA-256 checksum
How to use checksums
989c8074cf5e6feeb4947daa25b0e193cc0f5bc159d49bd3172543b7769847ea
BLAKE2b-256 checksum
How to use checksums
c27f308ea917f0a485f828fe6c991a4b9bbe8b4e4dce187a6344d87b8b0dc163
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.11 Windows/10

Release files / nonebot_plugin_antimonkey-1.1.1-py3-none-any.whl

Download URL nonebot_plugin_antimonkey-1.1.1-py3-none-any.whl
Size 40.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0b6a3830625a8e4a5734fc898a28adf8f750df22c11f392ea2279cec02a214ad
BLAKE2b-256 checksum
How to use checksums
81ed71cbc5fc7650f276377fbd58f3ba0bd45fa9a0f42bc6e79c192ee9041d09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.11 Windows/10

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page