Skip to main content

still-image-demo

Run 3DDFA_V2 still-image alignment, rendering, pose, texture, and mesh export workflows.

설치로 이동

소스 정보

저장소
VectorSpaceLab/AREX-Skill
최근 소스 활동
2026년 8월 26일 16:31
감지된 SKILL.md 언어
영어
스타
12
포크
2

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
4 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
still-image-demo
description
Run 3DDFA_V2 still-image alignment, rendering, pose, texture, and mesh export workflows.
metadata
{"disco-role":"operating"}
disable-model-invocation
true
license
MIT
# Still-image demo Use this sub-skill for `demo.py` workflows on a single image: sparse or dense landmarks, 3D renderings, depth, PNCC, UV texture, pose boxes, and PLY/OBJ mesh exports. ## When to read Read this sub-skill when the task asks to: - Run 3DDFA_V2 on a still image. - Generate `2d_sparse`, `2d_dense`, `3d`, `depth`, `pncc`, `uv_tex`, `pose`, `ply`, or `obj` outputs. - Use `--onnx` for a single-image demo. - Diagnose `No face detected`, missing result files, headless plotting, or mode-specific failures. ## Before running 1. Use `../setup-and-assets/` if native extensions or checkpoints are not known to be ready. 2. Check `../../references/model-assets.md` when switching configs or missing weight files. 3. In headless environments, keep `--show_flag false`; the bundled wrapper also sets a headless plotting backend. ## Main wrapper The bundled wrapper preserves the original `demo.py` CLI. Put original demo arguments after `--`: ```bash python <skill-root>/sub-skills/still-image-demo/scripts/run-still-image.py \ --repo-root <checkout> -- \ -f <image-path> -o 3d --show_flag false --onnx ``` Use direct repo commands only when you already applied the same compatibility and headless setup the wrapper provides. ## Output selection Read `references/workflows.md` for the full output-mode table. The highest-use choices are: - `2d_sparse` for 68-point landmark overlays. - `2d_dense` for dense landmark visualization. - `3d` for rendered dense mesh overlay. - `depth`, `pncc`, and `uv_tex` for specialized per-pixel visual products. - `pose` for yaw/pitch/roll pose-box visualization. - `ply` and `obj` for mesh serialization. Outputs default to `examples/results/` and use the input basename plus the selected option. ## Decision points - Prefer `--onnx` for CPU latency and when the `.onnx` assets are already present or can be auto-converted. - Use `configs/mb05_120x120.yml` when the task values speed over the default backbone. - Use dense reconstruction for `3d`, `depth`, `pncc`, `uv_tex`, `ply`, and `obj`; sparse mode is enough for `2d_sparse` and `pose`. - If the user needs multi-frame tracking, route to `../video-and-tracking/`. - If the user asks about latency numbers rather than a saved image, route to `../onnx-and-benchmarking/`. ## Troubleshooting Read `references/troubleshooting.md` for still-image-specific failures and `../../references/troubleshooting.md` for shared build/import failures.
GitHub에서 보기