huawei-cloud-obs-image-desens
Installation
SKILL.md
Huawei Cloud OBS Image Desensitization Skill
Overview
This skill provides a one-click flow to desensitize images stored in Huawei Cloud OBS: list → download → desensitize → write back. The user only needs to specify a bucket name (and optionally a prefix) plus a desensitization rule; the skill discovers matching images, applies the rule locally with Pillow, and uploads the processed results to a target bucket/prefix.
Architecture:
- obsutil (via
hcloud obs) — OBS object listing, download and upload (KooCLI mapsobssub-commands to obsutil) - Pillow (PIL) — local image desensitization processing (mosaic, Gaussian blur, region occlude)
- huaweicloudsdkfunctiongraph — optional automation: create a FunctionGraph function with an OBS event trigger so newly uploaded images are desensitized automatically
Applicable Scenarios: