Appwrite Blog· Torsten Dittmann·· 2026-09-10AI 评分34
Appwrite 推出 AutoGravity:用 U²-Net 与 YuNet 实现自动图像裁剪
Automatic image cropping in Appwrite with AutoGravity
AI 导读
Appwrite 发布开源 Go 服务 AutoGravity,为 Storage 预览新增 gravity=auto,自动返回归一化焦点坐标(0.0–1.0)交由现有图像变换管线裁剪。它先用 YuNet 人脸检测(置信度阈值 0.85),否则用 U²-Net 显著性检测取最强连通区域质心,无有效结果时回退图像中心。固定 gravity 值不受影响,变换结果按文件与参数组合缓存。
来源:Appwrite Blog · appwrite.io