api-service
Use the DeepFace Flask API, Gunicorn service, request formats, bearer auth, Docker guidance, and streaming/video workflows.
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- api-service
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Use the DeepFace Flask API, Gunicorn service, request formats, bearer auth, Docker guidance, and streaming/video workflows.
- disable-model-invocation
- true
02 资源文件 3
- 参考文档references/api-reference.md930 B
- 参考文档references/troubleshooting.md933 B
- 参考文档references/workflows.md961 B
03 SKILL.md 正文
Api Service
Use this sub-skill when the user task needs Flask app factory, /verify, /represent, /analyze, /register, /search, /build/index, bearer auth, JSON/form/multipart request formats, service env vars, Docker/service caveats, and DeepFace.stream.
Route Here
- Answer package-user questions for the owned DeepFace functions and parameters.
- Select safe minimal code patterns before running heavy model builds, weight downloads, database connections, Docker, or webcam/video operations.
- Diagnose workflow-specific errors using the linked troubleshooting reference.
- Cross-link to sibling sub-skills when a workflow spans detection, recognition, persistence, serving, and optional model/dependency setup.
Reroute
Underlying workflow semantics route to sibling sub-skills; database service details go to ../datastore-search/SKILL.md; optional model and weight issues go to ../model-and-backend-selection/SKILL.md.
First Checks
- Confirm
from deepface import DeepFaceworks; otherwise use../../references/troubleshooting.md. - Identify whether the user wants static guidance, code generation, environment diagnosis, or runtime execution.
- Keep network/model-weight/database/camera side effects explicit and ask before running them in constrained environments.
- Use the nearest bundled helper for safe validation before recommending a heavier run.
Reference Map
references/api-reference.mddocuments signatures, parameters, outputs, and API-specific behavior for this sub-skill.references/workflows.mdor the focused workflow reference contains practical recipes and decision patterns.references/troubleshooting.mdmaps common errors to concrete recovery steps.scripts/deepface_api_request.pyis the safe bundled helper for this sub-skill.
Safety
Do not tell future agents to open or run original repository tests, examples, notebooks, scripts, or local checkout files. Use this self-contained sub-skill, its references, and its bundled helper scripts instead.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.