模糊每路相机画面里的人脸和车牌。
| 引用 | 类别 | 运行粒度 | 读取 | 写出 | 资源 |
|---|---|---|---|---|---|
embodiflow/anonymize@1 | 变换 | 每条录制 | recording | recording | 4 个 vCPU, 8Gi 内存, 1 块至少 8 GB 显存的 GPU |
参数
| 参数 | 类型 | 默认值 | 范围或选项 | 作用(英文,来自清单) |
|---|---|---|---|---|
face_threshold Face threshold | number | 0.7 | 0.05 to 0.99 | A face is blurred only when the detector scores it at least this high (on at least min_detections detector runs). |
min_face_size Smallest face (pixels) | integer | 32 | 0 to 512 | Faces whose box is narrower or shorter than this many pixels are never blurred (distant faces stay sharp). |
min_detections Detections to confirm a face | integer | 2 | 1 to 5 | A face is blurred only after this many detector runs found it at or above the face threshold; a one-off look-alike is not. |
single_detection_threshold One detection confirms a face from | number | 0.95 | 0.05 to 1 | A face found on a single detector run is blurred when the detector scores it at least this high (at least the face threshold; 1.0 turns this off): a clear face seen only briefly is not dropped by min_detections. |
large_face_size Large face (pixels) | integer | 64 | 0 to 2048 | Faces whose box is at least this many pixels on its shorter side are blurred only under the stricter large-face rule below (0 turns the rule off). |
large_face_threshold Large face threshold | number | 0.8 | 0.05 to 0.99 | A large face is blurred only when the detector scores it at least this high (at least the face threshold) on at least large_face_detections detector runs. |
large_face_detections Detections to confirm a large face | integer | 3 | 1 to 5 | At least min_detections. |
large_face_single_detection_threshold One detection confirms a large face from | number | 0.98 | 0.05 to 1 | At least the large face threshold; 1.0 turns this off. |
min_face_contrast Smallest face contrast | number | 10 | 0 to 64 | Face boxes whose brightness varies less than this (luma standard deviation, 8-bit levels) show no facial features and are never blurred: dark screens, shadows, flat surfaces. |
plates Licence plates | string | "off" | auto, on, off | off: plates are not searched (the plate check is not applicable, never a pass). on: always. auto: on except for human recordings. Turn on for street or vehicle footage. |
plate_threshold Plate threshold | number | 0.9 | 0.05 to 0.99 | |
verify_margin Verification margin | number | 0 | 0 to 0.3 | Re-detect on blurred frames this far below the blur thresholds. |
detect_every Detect every Nth frame | integer | 4 | 1 to 5 | Tracking blurs the frames between detections. |
search_every Search the whole frame every Nth frame | integer | 16 | 1 to 16 | A multiple of detect_every, at most 16. On the detector runs between, only the full-resolution regions around the faces being tracked are searched, so a tracked face is checked every detect_every frames and a new face is found within this many frames (the 15 frames held before a face's first detection blur the wait). Cameras of at most 1280x720 pixels (robot cameras) are searched whole on every detector run. |
edge_tiles Search the fisheye edges | boolean | true | Also search both image edges, stretched and turned upright. | |
encoder Video encoder | string | "nvenc" | nvenc, x264 |
在工作流编辑器的步骤里设置,或写在工作流 YAML 中该步骤的 with: 下。见构建工作流。
检查项
每个检查项对它评判的每条录制或每个片段给出 pass、warn、fail、error、not evaluated 或 not applicable。只有 pass 显示为绿色。fail 是否停止处理:见拦下有问题的录制。
| 检查项 | 标题 | 含义(英文,来自清单) |
|---|---|---|
unblurred_face | No face survives the blur | Faces the detector still finds on blurred verification frames; a warning asks for a human review. |
unblurred_plate | No licence plate survives the blur | Plates the detector still finds after the blur; not applicable when plate detection is off. |
redaction_gap | Every frame was redacted | Every frame of every camera went through detection and blur. |
版本
工作流步骤写的是主版本:embodiflow/anonymize@1,每次运行在开始时固定使用已发布的最高 1.x 版本,并记录下来。控制台算法页面的“版本”标签列出所有已发布的版本。