📖 介绍
通过超分辨率模型 Real-CUGAN 来提高动漫图像质量
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-super-resolution
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-super-resolution
pdm
pdm add nonebot-plugin-super-resolution
poetry
poetry add nonebot-plugin-super-resolution
conda
conda install nonebot-plugin-super-resolution
打开 nonebot2 项目的 bot.py 文件, 在其中写入
nonebot.load_plugin('nonebot_plugin_super_resolution')
🎉 使用
指令表
| 指令 | 需要@ | 范围 | 说明 |
|---|---|---|---|
| 超分/放大/清晰 + 超分倍率 + 降噪配置 + 图片 | 否 | 群聊/私聊 | 超分发送的图片, 支持回复图片 参数可选, 具体见参数表 |
使用示例:
/超分 三倍 <图像>
注意
默认情况下, 您应该在指令前加上命令前缀, 通常是 /
参数表
| 参数名 | 默认值 | 说明 |
|---|---|---|
| 超分倍率 | 2倍 | 决定输出图片的尺寸, 越大处理需要时间越长。支持2倍、3倍、4倍 |
| 降噪配置 | 强力降噪 | 强力降噪: 又称三倍降噪,如果原片噪声多,压得烂,推荐使用 无降噪: 适合原图噪声不多,想提高分辨率/清晰度/做通用性的增强、修复处理 保守: 如果你担心丢失纹理,担心画风被改变,担心颜色被增强,总之就是各种担心AI会留下浓重的处理痕迹,推荐使用 |
Metadata
Release files for nonebot-plugin-super-resolution 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nonebot-plugin-super-resolution-0.1.1.tar.gz | 4.7 kB | Without provenance | Details for nonebot-plugin-super-resolution-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_super_resolution-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_super_resolution-0.1.1-py3-none-any.whl |
Total release size: 10.3 kB
Release files / nonebot-plugin-super-resolution-0.1.1.tar.gz
| Download URL | nonebot-plugin-super-resolution-0.1.1.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a332ce5a7522cde85522165ba86343e2f220451ad1a0fe7e4a18d195ad1741e
|
|
BLAKE2b-256 checksum How to use checksums |
7f0207ce6c3083b672995a82be2eb4a6d00f4b21e345bb05bddc105363a80561
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / nonebot_plugin_super_resolution-0.1.1-py3-none-any.whl
| Download URL | nonebot_plugin_super_resolution-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
351a546b4620e3083aaef618cfefd0d3ef4dd63a3b616a7d34ecff2a47f325ce
|
|
BLAKE2b-256 checksum How to use checksums |
2f90f2f2878c8aec7b1bcb2305ab62e330798b807968c3e53fa80927ae16fa62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Security for nonebot-plugin-super-resolution 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.