fix: make OCR portable and reliable across AMD64 and ARM64 (#519)

* fix: make OCR portable and reliable

* fix: harden OCR installation portability

* fix: pin OCR partials across downloads

* fix: make OCR execution reliably asynchronous

* fix: harden OCR portability and docs routes

* fix: preserve decoder and docs safeguards
This commit is contained in:
SnapOtter
2026-07-15 03:34:24 +08:00
committed by GitHub
parent 58121f205f
commit 991c981529
409 changed files with 67151 additions and 8076 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
---
description: "用一条 Docker 命令安装 SnapOtter。包含 Docker Compose 配置、从源码构建,以及完整的功能概览。"
i18n_source_hash: 4536d4558b8e
i18n_provenance: machine
i18n_output_hash: 3da9d8045239
i18n_source_hash: 24724b5595b2
i18n_provenance: human
---
# 快速上手 {#getting-started}
@@ -32,7 +32,7 @@ SnapOtter 默认包含匿名产品分析。要关闭它,请打开 **Settings
:::
::: tip NVIDIA CUDA 加速
添加 `--gpus all`获得 NVIDIA CUDA 加速的背景除、放大、OCR、人脸增强和修复
添加 `--gpus all`实现 NVIDIA CUDA 加速的背景除、放大、面部增强和恢复。 OCR 仍然基于 CPU,并且在有或没有 GPU 访问的情况下在同一映像中工作
```bash
docker run -d --name SnapOtter -p 1349:1349 --gpus all -v SnapOtter-data:/data snapotter/snapotter:latest