Skip to main content

photo-s-plugin-scunet — PhotoS 官方 SCUNet 强降噪插件

PhotoS 官方可选插件:基于 SCUNet(ONNX,onnxruntime)的高强度降噪, 适用于高 ISO / 弱光照片。比核心内置的 OpenCV NLM 降噪更强(恢复更多纹理)。

安装

# 方式一(推荐,agent 友好):PhotoS 插件管理器
photo-s plugin install scunet

# 方式二:传统 pip
pip install photo-s-plugin-scunet

# 查看状态
photo-s plugin list
photo-s plugin info scunet

使用

安装后,--denoise N 自动优先使用本插件(未装本插件时回退到内置 NLM):

photo-s batch ~/highiso/ --denoise 12

模型权重

使用 SCUNet 彩色降噪 (noise-25) 检查点,由官方 cszn/SCUNet PyTorch 权重 重新导出为 ONNX(保留上游 MIT 许可),托管于 HuggingFace Heliosoph/scunet-onnx

权重不进 wheel,首次使用时自动下载到缓存目录 (~/.cache/photo-s/models/,可用 $PHOTOS_CACHE_DIR 覆盖),带 sha256 校验。 SCUNet 导出为 external-data 格式:图 (.onnx,~3.8MB) 与权重 (.onnx.data,~73MB) 两个文件都要下载;两者保持规范文件名以便 onnxruntime 解析。可预下载:

photo-s plugin fetch scunet

默认指向社区 HF 镜像。如需第一方托管,可把两个文件重新挂到自己的 GitHub Release 并更新 photo_s_plugin_scunet/__init__.py 中的 DEFAULT_MODEL_URL/_SHA256/_SIZEDEFAULT_DATA_* 常量 (或保留 PHOTOS_SCUNET_MODEL_* 环境变量覆盖,测试即用此机制)。

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

photo_s_plugin_scunet-0.1.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

photo_s_plugin_scunet-0.1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file photo_s_plugin_scunet-0.1.0.tar.gz.

File metadata

  • Download URL: photo_s_plugin_scunet-0.1.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for photo_s_plugin_scunet-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3d6714828af818553b9d02dc8c6b69342d5b63a2263591888082b47c787b5246
MD5 097dbe4f45e41caa4acd00a17665fb7f
BLAKE2b-256 a40b3cdf16c0c6de4d6eec6d38745dec11e6347fd2501aa3e8e7cab6478a995b

See more details on using hashes here.

Provenance

The following attestation bundles were made for photo_s_plugin_scunet-0.1.0.tar.gz:

Publisher: publish.yml on Dongwu259/photo_s

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file photo_s_plugin_scunet-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for photo_s_plugin_scunet-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4988e4a272a0808dbecfadf193f5212f1c3d3d30c032ea9e7a39db2d70d30600
MD5 c4c99ca7dffd65dfd27183f3fca28b86
BLAKE2b-256 7bf51d4cf62b98c8163a18a8cadebc9f8c0b5cdc654de44025f988548a6e8300

See more details on using hashes here.

Provenance

The following attestation bundles were made for photo_s_plugin_scunet-0.1.0-py3-none-any.whl:

Publisher: publish.yml on Dongwu259/photo_s

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page